[pulseaudio-discuss] Use Pulseaudio with GStreamer

Feng Wei feng.wei at linaro.org
Tue Dec 20 17:50:05 PST 2011


2011/12/21 Jeffrey Barish <jeff_barish at earthlink.net>:
> When I play a sound file using ogg123, the sound comes out the USB DAC, as
> expected. When I play a sound file using my application (which uses
> GStreamer playbin2), the sound comes out the internal DAC. I found
> directions to run
>
>
> gconftool-2 -t string --set /system/gstreamer/0.10/default/audiosink
> pulsesink
>
> gconftool-2 -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc
>
> Those commands had no effect. I am using Ubuntu Server 10.10 and pulseaudio
> 0.9.22.
>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
You can create pulsesink instance with "device" property set to your
usb device name, then set the playbin2 property "audio-sink" with the
pulseaudio instance.


-- 
Wei.Feng (irc wei_feng)
Linaro Multimedia Team
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the pulseaudio-discuss mailing list