mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-28 07:00:15 -05:00
0.0.12 Correct interrupt timing. interrupt at end of period, instead of in the middle of a playback period. Remove redundent "voice" handling. 0.0.13 Single trigger call for multi channels. 0.0.14 Set limits based on what the sound card hardware can do. playback periods_min=2, periods_max=8 capture hw constraints require period_size = n * 64 bytes. playback hw constraints require period_size = n * 64 bytes.
176 lines
2.3 KiB
Text
176 lines
2.3 KiB
Text
#
|
|
# Configuration for the AudigyLS chip
|
|
#
|
|
|
|
<confdir:pcm/front.conf>
|
|
|
|
AudigyLS.pcm.front.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
device 0
|
|
}
|
|
|
|
<confdir:pcm/rear.conf>
|
|
|
|
AudigyLS.pcm.rear.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
device 1
|
|
}
|
|
|
|
<confdir:pcm/center_lfe.conf>
|
|
|
|
AudigyLS.pcm.center_lfe.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
device 2
|
|
}
|
|
|
|
<confdir:pcm/surround40.conf>
|
|
|
|
AudigyLS.pcm.surround40.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type multi
|
|
slaves [
|
|
{
|
|
pcm {
|
|
@func concat
|
|
strings [
|
|
"cards.AudigyLS.pcm.front.0:CARD=" $CARD
|
|
]
|
|
}
|
|
channels 2
|
|
}
|
|
{
|
|
pcm {
|
|
@func concat
|
|
strings [
|
|
"cards.AudigyLS.pcm.rear.0:CARD=" $CARD
|
|
]
|
|
}
|
|
channels 2
|
|
}
|
|
]
|
|
bindings [
|
|
{ slave 0 channel 0 }
|
|
{ slave 0 channel 1 }
|
|
{ slave 1 channel 0 }
|
|
{ slave 1 channel 1 }
|
|
]
|
|
}
|
|
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
|
|
AudigyLS.pcm.surround51.0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type multi
|
|
slaves [
|
|
{
|
|
pcm {
|
|
@func concat
|
|
strings [
|
|
"cards.AudigyLS.pcm.front.0:CARD=" $CARD
|
|
]
|
|
}
|
|
channels 2
|
|
}
|
|
{
|
|
pcm {
|
|
@func concat
|
|
strings [
|
|
"cards.AudigyLS.pcm.rear.0:CARD=" $CARD
|
|
]
|
|
}
|
|
channels 2
|
|
}
|
|
{
|
|
pcm {
|
|
@func concat
|
|
strings [
|
|
"cards.AudigyLS.pcm.center_lfe.0:CARD=" $CARD
|
|
]
|
|
}
|
|
channels 2
|
|
}
|
|
]
|
|
bindings [
|
|
{ slave 0 channel 0 }
|
|
{ slave 0 channel 1 }
|
|
{ slave 1 channel 0 }
|
|
{ slave 1 channel 1 }
|
|
{ slave 2 channel 0 }
|
|
{ slave 2 channel 1 }
|
|
]
|
|
}
|
|
|
|
<confdir:pcm/iec958.conf>
|
|
|
|
AudigyLS.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 hooks
|
|
slave.pcm {
|
|
type hw
|
|
card $CARD
|
|
device 0
|
|
}
|
|
hooks.0 {
|
|
type ctl_elems
|
|
hook_args [
|
|
{
|
|
name "SPDIF Front Volume"
|
|
index 0
|
|
lock true
|
|
preserve true
|
|
value [ 207 207 ] # Puts 0x30303030 in the Volume register. 0xff - 0x30 = 0xcf = 207
|
|
}
|
|
{
|
|
name "SPDIF Out"
|
|
lock true
|
|
preserve true
|
|
value 0
|
|
}
|
|
{
|
|
name "IEC958 Playback Default"
|
|
index 1
|
|
lock true
|
|
preserve true
|
|
value [ $AES0 $AES1 $AES2 $AES3 ]
|
|
}
|
|
]
|
|
}
|
|
}
|