Add surround71 definition to NFORCE.conf

Now the board with ALC850 can work with 8-channel outputs.
This commit is contained in:
Takashi Iwai 2008-02-18 12:25:02 +01:00
parent c96984f181
commit c622965472
2 changed files with 74 additions and 0 deletions

View file

@ -59,6 +59,7 @@
#ifndef __KERNEL__
#include <sys/time.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#endif
/*

View file

@ -171,6 +171,79 @@ NFORCE.pcm.surround51.0 {
}
}
<confdir:pcm/surround71.conf>
NFORCE.pcm.surround71.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
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
ttable.6.6 1
ttable.7.7 1
slave.pcm {
type hooks
slave.pcm {
type hw
card $CARD
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{
name "Channel Mode"
preserve true
value "8ch"
lock true
optional true
}
# for old drivers
{
name "Line-In As Surround"
preserve true
value true
optional true
}
{
name "Mic As Center/LFE"
preserve true
value true
optional true
}
{
name "Surround Down Mix"
preserve true
value off
lock true
optional true
}
{
name "Center/LFE Down Mix"
preserve true
value off
lock true
optional true
}
]
}
}
slave.channels 8
}
control {
name "PCM Playback Volume"
card $CARD
}
}
<confdir:pcm/iec958.conf>
NFORCE.pcm.iec958.0 {