[pulseaudio-discuss] Listening to in-band audio from an output?

Craig Matsuura cmatsuura at vivint.com
Thu Feb 6 15:36:52 PST 2014


I'm a bit new to using PulseAudio.  So two programs can connect to the 
same source?  What API do I use to do this? I apologize if this has been 
answered.  I appreciate the help.

Thanks,
Craig

On 02/05/2014 06:47 PM, Arun Raghavan wrote:
> Hi Craig,
>
> On 3 February 2014 21:13, Craig Matsuura <cmatsuura at vivint.com> wrote:
> [...]
>> pactl load-module module-loopback
>> source="alsa_input.pci-0000_00_1b.0.analog-stereo"
>> sink="alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.iec958-stereo"
>> pactl load-module module-loopback
>> source="alsa_input.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-mono" sink="alsa_output.pci-0000_00_1b.0.analog-stereo"
>>
>> The above two commands allow me to connect the sink/source from one card
>> to another.  I now want to listen in-band and detect DTMF tones or
>> possibly other audio capture.  How can I do this keeping my two cards
>> connected as above?
> Any reason you couldn't just run a capture stream as you normally
> would on the source(s) that you want to listen in on?
>
> Cheers,
> Arun
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


More information about the pulseaudio-discuss mailing list