I think part of your problem is that you are playing application which
are using pulseaudio but trying to record them using alsa.

If the application you want to record is playing to an alsa output
device then waveinput should use the alsa device "pulse" and arecord in
the conf file
If the application you want to record is playing to a pulseaudio then
waveinput should use a pulse audio monitor device such as 
"alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" and use parecord in
the conf file

>From your description I tiunk you are mainly using pulseaudio
appl;ication so first find the relevant monitor device.  When the
application is playing to a speaker try the following command

pactl list short | grep RUNNING

This will show the running devices and then look for the monitor device
applicable to your output device.

If the monitor device is
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor

try the following command to check output is being recorded
parec -v -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
--file-format=flac recording.flc

This will record the stream in Flac format into the file recording.flc

Then you can update the waveinput conf file to 

Code:
--------------------
    
  #
  # wavin 
  #
  wavin pcm * * 
        # R
        [parec] --channels=2 --format=s16le --rate=44100 --file-format=raw -D 
$FILE$ 
  wavin mp3 * *
        # RB:{BITRATE=-B %B}
        [parec] --file-format=wav -d $FILE$  | [lame] --silent -q $QUALITY$ -v 
$BITRATE$ - -
  wavin flc * * 
        # R
        [parec] --file-format=flac -d $FILE$ 
  
--------------------


and create a Favorite for the pulse audio monitor 
wavin:alsa_output.pci-0000_00_1b.0.analog-stereo.monitor

I iony tested this with VLC and Flac output format - but it worked OK on
Ubuntu with 4 sec delay.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=104680

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to