Public feed #891351

Etwas

public text v1 · immutable
Raw Edit
·published 2008-02-04 16:01 UTC
rendered paste body
[root@server pulse]# cat /usr/share/alsa/cards/EM8300.conf 
#
# Configuration for the EM8300 chip
#

<confdir:pcm/front.conf>

EM8300.pcm.front.0 {
        @args [ CARD ]
        @args.CARD {
                type string
        }
        type softvol
        slave.pcm {
                type route
                slave.pcm {
                        type linear
                        slave {
                                pcm {
                                        type hw
                                        card $CARD
                                        device 0
                                }
                                format S16_BE
                        }
                }
                ttable {
                        0.1 1.0
                        1.0 1.0
                }
        }
        control {
                name "PCM Playback Volume"
                card $CARD
        }
}

# default with softvol
EM8300.pcm.default {
        @args [ CARD ]
        @args.CARD {
                type string
        }
        type plug
        slave.pcm {
                type softvol
                slave.pcm {
                        type route
                        slave.pcm {
                                type linear
                                slave {
                                        pcm {
                                                type hw
                                                card $CARD
                                                device 0
                                        }
                                        format S16_BE
                                }
                        }
                        ttable {
                                0.1 1.0
                                1.0 1.0
                        }
                }
                control {
                        name "PCM Playback Volume"
                        card $CARD
                }
        }
}

<confdir:pcm/iec958.conf>

EM8300.pcm.iec958.0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {
                type string
        }
        @args.AES0 {
                type integer
        }
        @args.AES1 {
                type integer
        }
        @args.AES2 {
                type integer
        }
        @args.AES3 {
                type integer
        }
        type iec958
        slave {
                pcm {
                        type hw
                        card $CARD
                        device 1
                }
                format IEC958_SUBFRAME_BE
        }
        status [ $AES0 $AES1 $AES2 $AES3 ]
        preamble.b 0
        preamble.m 2
        preamble.w 1
}