alsa  lib expect spdif  is device 1 for hda intel

http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=src/conf/cards/HDA-
Intel.conf;hb=HEAD

HDA-Intel.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 asym
        playback.pcm {
                type hooks
                slave.pcm {
                        type hw
                        card $CARD
                        device 1
                }
                hooks.0 {
                        type ctl_elems
                        hook_args [
                        {
                                name "IEC958 Playback Default"
                                index 16
                                optional true
                                lock true
                                preserve true
                                value [ $AES0 $AES1 $AES2 $AES3 ]
                        }
                        {
                                name "IEC958 Playback Switch"
                                index 16
                                optional true
                                value true
                                # if this element is present, skip the rest
                                skip_rest true
                        }
                        {
                                name "IEC958 Playback Default"
                                lock true
                                preserve true
                                value [ $AES0 $AES1 $AES2 $AES3 ]
                        }
                        {
                                name "IEC958 Playback Switch"
                                value true
                        }
                        ]
                }
        }
        capture.pcm {
                type hooks
                slave.pcm {
                        type hw
                        card $CARD
                        device 1
                }
                hooks.0 {
                        type ctl_elems
                        hook_args [
                        {
                                name "IEC958 Capture Switch"
                                lock true
                                preserve true
                                value true
                        }
                        ]
                }
        }
        hint.device 1
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1132396

Title:
  [HDA-Intel - HDA Intel, playback] volume slider problem, volume reset
  to 100% on s/pdif devices after changing default playback.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1132396/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to