<p>Check out this howto page on the unofficial ALSA wiki:<br>
<a href="http://alsa.opensrc.org/.asoundrc">http://alsa.opensrc.org/.asoundrc</a></p>
<p>The section you want is about splitting outputs. For inputs, it's the same deal but with a dsnoop plugin rather than dmix.</p>
<p>If you want a better understanding of ALSA, I found this page to be very helpful: <a href="http://www.volkerschatz.com/noise/alsa.html">http://www.volkerschatz.com/noise/alsa.html</a></p>
<p>Good luck.</p>
<div class="gmail_quote">On Feb 2, 2013 8:31 PM, "Gary Thomas" <<a href="mailto:gary@mlbassoc.com">gary@mlbassoc.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2013-02-02 09:03, Nox Deleo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd suggest getting a debug graph of this. It should help you see what caps are being used where.<br>
<br>
See here for instructions:<br>
<a href="http://gstreamer.freedesktop.org/wiki/DumpingPipelineGraphs" target="_blank">http://gstreamer.freedesktop.<u></u>org/wiki/DumpingPipelineGraphs</a><br>
<br>
Also, see these instructions on debugging to get more verbose messages that may help pinpoint your problem:<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-checklist-debug.html" target="_blank">http://gstreamer.freedesktop.<u></u>org/data/doc/gstreamer/head/<u></u>manual/html/section-checklist-<u></u>debug.html</a><br>

<br>
I've just been doing some work with ALSA and GStreamer, and I ended up writing a custom ALSA config file to split up my sound cards 8 ins and outs into different devices, so I<br>
could access them with separate alsasrc/sink elements. I found it alot easier than dealing with interleaving and channel positions. I don't know what you're trying to do exactly,<br>
but that's always an option if you need it.<br>
</blockquote>
<br>
Any details you can share about how you did this would be much appreciated.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 2 February 2013 00:22, Gary Thomas <<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a> <mailto:<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a>>> wrote:<br>
<br>
    I'm experimenting with audio streaming, based on this example:<br>
    <a href="http://cgit.freedesktop.org/__gstreamer/gst-plugins-good/__tree/tests/examples/rtp/__server-alsasrc-PCMA.sh" target="_blank">http://cgit.freedesktop.org/__<u></u>gstreamer/gst-plugins-good/__<u></u>tree/tests/examples/rtp/__<u></u>server-alsasrc-PCMA.sh</a><br>

    <<a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-alsasrc-PCMA.sh" target="_blank">http://cgit.freedesktop.org/<u></u>gstreamer/gst-plugins-good/<u></u>tree/tests/examples/rtp/<u></u>server-alsasrc-PCMA.sh</a>><br>

<br>
    When paired with the appropriate client, I can run it fine when the<br>
    audio source is 'audiotestsrc'.  If I change it to be 'alsasrc', I<br>
    get incompatible caps and it fails.  This seems to be because the<br>
    rtppcmapay element only wants one channel.<br>
<br>
    I've not been able to figure out how to select only one channel<br>
    of my ALSA source, either by mixing or just choosing one or the<br>
    other.  Here's what I tried that now doesn't complain about the<br>
    caps being wrong (but I'm sure the issue remains), rather it gives<br>
    me an "internal data flow error"<br>
<br>
       gst-launch -vvv gstrtpbin name=rtpbin alsasrc device=hw:0,1 \<br>
         ! deinterleave name=d d.src0 ! queue ! audioconvert \<br>
         ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_0 \<br>
          rtpbin.send_rtp_src_0 ! udpsink port=5002 host=192.168.1.114 \<br>
          rtpbin.send_rtcp_src_0 ! udpsink port=5003 host=192.168.1.114 sync=false async=false \<br>
         udpsrc port=5007 ! rtpbin.recv_rtcp_sink_0<br>
<br>
    Any suggestions on how I make this happy?<br>
<br>
    Thanks<br>
<br>
    --<br>
    ------------------------------<u></u>__----------------------------<u></u>--<br>
    Gary Thomas                 |  Consulting for the<br>
    MLB Associates              |    Embedded world<br>
    ------------------------------<u></u>__----------------------------<u></u>--<br>
    ______________________________<u></u>___________________<br>
    gstreamer-devel mailing list<br>
    gstreamer-devel@lists.__<a href="http://freedesktop.org" target="_blank">freede<u></u>sktop.org</a> <mailto:<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a>><br>

    <a href="http://lists.freedesktop.org/__mailman/listinfo/gstreamer-__devel" target="_blank">http://lists.freedesktop.org/_<u></u>_mailman/listinfo/gstreamer-__<u></u>devel</a> <<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a>><br>

<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
<br>
</blockquote>
<br>
-- <br>
------------------------------<u></u>------------------------------<br>
Gary Thomas                 |  Consulting for the<br>
MLB Associates              |    Embedded world<br>
------------------------------<u></u>------------------------------<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div>