Using multichannel soundcard with gstreamer

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

Using multichannel soundcard with gstreamer

dennis
hello everyone!!!!

i have a M-audio delta 1010 soundcard and i made 10 audio players, i want to send to channel 1 player 1 and so on

M-audio Delta 1010 soundcard (10 channels independently)

channel1 ------player1
channel2------player2
and so on....

anybody can help me?
Reply | Threaded
Open this post in threaded view
|

Re: Using multichannel soundcard with gstreamer

Peteris Krisjanis-2
Hi Dennis!

I could be wrong, but first you have to set all pipelines, then use
interleave element to interleave streams and then sink it to alsasrc of
device for your device which takes in all channels. For that you have to
use direct access to ALSA (without Pulseaudio).

Peteris.

T , 2012-04-04 05:59 -0700, dennis rakstīja:

> hello everyone!!!!
>
> i have a M-audio delta 1010 soundcard and i made 10 audio players, i want to
> send to channel 1 player 1 and so on
>
> M-audio Delta 1010 soundcard (10 channels independently)
>
> channel1 ------player1
> channel2------player2
> and so on....
>
> anybody can help me?
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-multichannel-soundcard-with-gstreamer-tp4531795p4531795.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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: Using multichannel soundcard with gstreamer

dennis
ok i'll give it a try,
here is another problem .....when i'm just playing using gst-launch and set alsasink to use device=hw:1,0 which is my soundcard 1010 , i get an error saying that cannot negociate format.... any ideas???
Reply | Threaded
Open this post in threaded view
|

Re: Using multichannel soundcard with gstreamer

Peteris Krisjanis-2
Hi Dennis again!

If you access ALSA devices directly, you should know in what format they
accept audio data. As you can't know for each device you use ALSA
provides plugin, which is used in 'plughw:1,0' format (I think, haven't
touched ALSA recently). It automatically resamples data to format
accepted by device. Also using 'default' device ensures that you give
device right format for data.

In ALSA wiki there is more about how to use device addresing and plugins
afair.

Peteris.

T , 2012-04-04 06:43 -0700, dennis rakstīja:

> ok i'll give it a try,
> here is another problem .....when i'm just playing using gst-launch and set
> alsasink to use device=hw:1,0 which is my soundcard 1010 , i get an error
> saying that cannot negociate format.... any ideas???
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-multichannel-soundcard-with-gstreamer-tp4531795p4531903.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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