[question]set output device in QT

虞申鹏 stone870627 at gmail.com
Sun Dec 21 06:16:09 PST 2014


Hi,everyone!

I want to play different mp3 files for driver and passanger with two
different applications.
or the same application which is deployed by two QT MultiMedia components.

>Driver:HMI-->QT-->GStreamer-->PulseAudio-->ALSA--SoundCard1
>Passanger:HMI-->QT-->GStreamer-->PulseAudio-->ALSA--SoundCard2

Now I can route the output device by command[gst-launch-1.0 playbin
uri=file:///test.mp3 audio-sink="alsasink device=hw:0,0"].

In QT MultiMedia Soucecode we create a playbin element to
play the media file.

But I don't know how to set the device to the [audio-sink] element.
Who can give me some tips?

Best regards,
------
Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141221/6b199044/attachment.html>


More information about the gstreamer-devel mailing list