[pulseaudio-tickets] [Bug 94357] Pulseaudio USB soundcard Maya U5 Profiles bug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 3 15:13:10 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94357

--- Comment #11 from Raymond <superquad.vortex2 at gmail.com> ---
surround21 is defined in
http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/pcm/surround21.conf;hb=HEAD



#  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
        }
    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160303/6319c5d8/attachment.html>


More information about the pulseaudio-bugs mailing list