<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Pulseaudio USB soundcard Maya U5 Profiles bug"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94357#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Pulseaudio USB soundcard Maya U5 Profiles bug"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94357">bug 94357</a>
              from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
        <pre>surround21 is defined in
<a href="http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/pcm/surround21.conf;hb=HEAD">http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/pcm/surround21.conf;hb=HEAD</a>



#  Hardware output from 2.1 speakers.
#  Samples must be positioned:
#    chn0 - front left
#    chn1 - front right
#    chn2 - LFE
#;hb=HEAD


    type route
    slave.pcm {
        @func refer
        name {
            @func concat
            strings [
                "cards."
                {
                    @func card_driver
                    card $CARD
                }
                ".pcm.surround51." $DEV ":CARD=" $CARD
            ]
        }
    }
    ttable.0.FL 1
    ttable.1.FR 1
    ttable.2.LFE 1
    hint {
        description "2.1 Surround output to Front and Subwoofer speakers"
        device $DEV
    }



both syrround21 and surround 51 also use route


USB-Audio.pcm.surround51.0 {
    @args [ CARD ]
    @args.CARD { type string }
    @func refer
    name {
        @func concat
        strings [
            "cards.USB-Audio."
            { @func card_name card $CARD }
            ".pcm.surround51:CARD=" $CARD
        ]
    }
    default {
        type route
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.4 1
        ttable.3.5 1
        ttable.4.2 1
        ttable.5.3 1
        slave {
            pcm {
                type hw
                card $CARD
                device 0
            }
            channels 6
        }
    }
}</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>