Two Gstreamer Pipeline With Two Sound Card

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Two Gstreamer Pipeline With Two Sound Card

Haikal
Hi,

I have two sound card in my computer. I make two pipeline that play
two different file. I want each pipeline play on different sound card.
How do i determine "pipeline 1" play on "sound card 1", and "pipeline
2" play on "sound card 2". I write the code with python in linux. But
if someone have answer in different programming language or os, i
would be very appreciate it.

Thanks.

*sorry for my bad english*

--
Haikal
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Two Gstreamer Pipeline With Two Sound Card

Nathanael D. Noblet
On 07/21/2011 12:51 AM, Haikal wrote:
> Hi,
>
> I have two sound card in my computer. I make two pipeline that play
> two different file. I want each pipeline play on different sound card.
> How do i determine "pipeline 1" play on "sound card 1", and "pipeline
> 2" play on "sound card 2". I write the code with python in linux. But
> if someone have answer in different programming language or os, i
> would be very appreciate it.

What output sink are you using? use gst-inspect X to see how to set the
device for that sink.


--
Nathanael d. Noblet
t 403.875.4613
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Two Gstreamer Pipeline With Two Sound Card

Stefan Sauer
In reply to this post by Haikal
On 07/21/11 08:51, Haikal wrote:
> Hi,
>
> I have two sound card in my computer. I make two pipeline that play
> two different file. I want each pipeline play on different sound card.
> How do i determine "pipeline 1" play on "sound card 1", and "pipeline
> 2" play on "sound card 2". I write the code with python in linux. But
> if someone have answer in different programming language or os, i
> would be very appreciate it.
You will need to set the "device" property on the audiosink.

Stefan

> Thanks.
>
> *sorry for my bad english*
>
> --
> Haikal
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Two Gstreamer Pipeline With Two Sound Card

Haikal
In reply to this post by Nathanael D. Noblet
On Fri, Jul 22, 2011 at 9:22 AM, Nathanael D. Noblet <[hidden email]> wrote:
>
> What output sink are you using? use gst-inspect X to see how to set the
> device for that sink.
>
>

At the first, i use "autoaudiosink". But i can't find "device"
property for it. Then i realize "alsasink" has this property. So i use
"alsasink" now. Thanks :)

--
Haikal
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Two Gstreamer Pipeline With Two Sound Card

Haikal
In reply to this post by Stefan Sauer
On Fri, Jul 22, 2011 at 7:12 PM, Stefan Kost <[hidden email]> wrote:
> You will need to set the "device" property on the audiosink.
>
> Stefan
>

Yup. I've found it. Thanks ;)

--
Haikal
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel