Description of problem:
I would like to have a complete capture of my GNOME session, including
both the images displayed on my screen and the sound played by my
speakers. recordmydesktop does the job well as far as video capture is
concerned, but audio capture does not work as I wish. I would like
recordmydesktop to capture the sound from the PCM channel, but it
currently captures from the microphone(s) only.
Version-Release number of selected component (if applicable):
http://www.alsa-project.org/db/?f=e0516aa374b4fb12e42351e219a2cbf1ebd09c86
F11 rawhide updated as of 2009-05-22. Here are the versions of a few packages I estimate as relevant:
kernel-2.6.29.3-155.fc11.x86_64
alsa-lib-1.0.20-1.fc11.x86_64
alsa-utils-1.0.20-3.fc11.x86_64
pulseaudio-0.9.15-11.fc11.x86_64
alsa-plugins-pulseaudio-1.0.18-3.fc11.x86_64
gstreamer-0.10.22-3.fc11.x86_64
gtk-recordmydesktop-0.3.8-1.fc11.noarch
recordmydesktop-0.3.8.1-1.fc11.x86_64
gnome-media-2.26.0-6.fc11.x86_64
gst-mixer-2.26.0-2.fc11.x86_64
How reproducible:
always
Steps to Reproduce:
1. run rgtk-recordMyDesktop
2. start recording with sound
3. try again after changing settings in alsamixer -c0
Actual results:
Sound capture always goes through the active microphone (be it the notebook's internal microphone or a plugged-in external microphone). There is no way to capture the PCM channel directly. alsamixer -c0 does not offer a "CAPTUR" switch on the PCM channel.
Expected results:
Possibility to capture audio from directly the PCM channel and not from the active microphone.
Additional info:
The notebook is a Lenovo Thinkpad W500.
If I run alsamixer -c0, I see the following information:
Card: HDA Intel
Chip: Conexant CX20561 (Hermosa)
The following things are quite puzzling to me:
* the channels for the three microphones (internal, external, docking)
appear under "Playback" but not under "Capture"
* none of the channels (including PCM) has a "capture" switch
If I run alsamixer without the -c0 option, I get only
Card: PulseAudio
Chip: PulseAudio
with a single "Master" playback channel and a single (switchable)
"Capture" channel.
I suspect the source of the problem lies within alsa, but it could
also be pulseaudio, or even gstreamer?
I also wonder if bug 487794 is related, since it is about a Conexant cx20561 (Hermosa) codec. I am not affected by that bug, though.

The hardware does not support requested feature (unless you turn on analog loopback which is also not supported on all codecs - see 'amixer controls').
You can obtain playback PCM stream using tee plugin (alsa-lib) or use snd-aloop kernel driver.
Regarding PA - I don't know if it's possible to capture playback stream in PA.

Thanks for your reply. It looks like there is no 'Analog Loopback' mixer control with my codec, as 'amixer controls' returns
numid=4,iface=MIXER,name='Master Playback Switch'
numid=3,iface=MIXER,name='Master Playback Volume'
numid=2,iface=MIXER,name='Capture Switch'
numid=1,iface=MIXER,name='Capture Volume'
So I have to try the other two options. Could you point me to some documentation about the ALSA tee plugin?
And... Could you please confirm that snd-aloop is not packaged for Fedora? If this is the case, I will mark this bug as a duplicate of bug 496200.

alsa-lib example (the string after -D is device name for alsa-lib):
aplay -D tee:SLAVE=\"plughw:0\",FILE=/tmp/abcd.raw <some_wav_file>
And yes, snd-aloop is not in mainstream or Fedora kernels.
*** This bug has been marked as a duplicate of bug 496200 ***

I think that snd-aloop is not in the kernel because of pulse-audio..
I installed pavucontrol. pulseaudio volume control
launch pavcontrol, select input devices.
select the drop down menu at the bottom right and select 'all input devices'
then you will see 'monitor of <your sound card>' my was SB Audigy so I selected that.
then I used pulse to record in recordmydesktop and It worked I had sound. that is if you want to record sound from your desktop and not from your microphone, if you want your microphone select the device that is your microphone.

Note

You need to
log in
before you can comment on or make changes to this bug.