mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-09 13:30:03 -05:00
conf/cards: add Audio Advantage Micro II
With related kernel chnages add extended suport for: - AES bits controls (via device suffix AESn= or tools like iecset) - SPDIF switch control, turning on/off the optical transmitter (via alsamixer tool) Signed-off-by: Przemek Rudy <prudy1@o2.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
b3b53a1bec
commit
994ab14b40
1 changed files with 35 additions and 0 deletions
|
|
@ -101,6 +101,41 @@ USB-Audio."Audiophile USB (tm)".pcm.iec958 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# For this card we can (and must to get IEC61937) set AES bits
|
||||||
|
USB-Audio."MicroII".pcm.iec958 "cards.USB-Audio.Audio Advantage MicroII.pcm.iec958"
|
||||||
|
USB-Audio."Audio Advantage MicroII".pcm.iec958 {
|
||||||
|
@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 hooks
|
||||||
|
slave.pcm {
|
||||||
|
type hw
|
||||||
|
card $CARD
|
||||||
|
}
|
||||||
|
|
||||||
|
hooks.0 {
|
||||||
|
type ctl_elems
|
||||||
|
hook_args [
|
||||||
|
{
|
||||||
|
interface PCM
|
||||||
|
name "IEC958 Playback Default"
|
||||||
|
preserve true
|
||||||
|
optional true
|
||||||
|
value [ $AES0 $AES1 $AES2 $AES3 ]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name "IEC958 Playback Switch"
|
||||||
|
lock true
|
||||||
|
preserve true
|
||||||
|
value 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue