Open feilen opened 11 years ago
you should be able to set the device (pactl list) with -a/--audio-devices.
Years later but I think it is still worth noting...
In order to record things from my usb headset (two separate audio files: speaker and microphone), I use something like: glc-capture -p -a "alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-stereo.monitor;alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-mono" -o "$GLCFILE" etc.
gives the names of default sink and source, which in my case was the internal PCI card.
I really lost hours googling around before coming to this thread, so it may be helpful to document this in the glcapture-pulse manual about "-a" or "-p".
Thanks for the great job !
Yes, I did found the same solution, the problem is not with glc-capture, is in your pulseaudio config.
To record audio from mic and game, you'll need to create a monitor in pulseaudio, then redirect the sound of the mic and game to this monitor, and record audio from this monitor in glc-capture.
You can use export PULSE_SOURCE=... before launching the program, it works here. Check the pulseaudio docs.
I only seem to be able to capture from the default pulseaudio input, which is configured on my system to be the microphone. I couldn't find any information describing how to select a different audio device, if that is possible. Is there something I'm missing, or is that not supported yet?