Add config file for PC-Speaker driver

Added the config file for PC-Speaker driver (use dmix/null as default PCM)
This commit is contained in:
Takashi Iwai 2005-01-31 11:53:46 +00:00
parent 33d9449c71
commit 1dd2db1367
2 changed files with 49 additions and 0 deletions

View file

@ -31,6 +31,7 @@ cfg_files = aliases.conf \
ICH-MODEM.conf \
Maestro3.conf \
NFORCE.conf \
PC-Speaker.conf \
RME9636.conf \
RME9652.conf \
SI7018.conf \

View file

@ -0,0 +1,48 @@
#
# Configuration for PC-Speaker driver
#
<confdir:pcm/front.conf>
PC-Speaker.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type integer
}
type hw
card $CARD
device 0
}
# default with dmix & null
PC-Speaker.pcm.default {
@args [ CARD ]
@args.CARD {
type integer
}
type asym
playback.pcm {
type plug
slave.pcm {
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave {
pcm {
type hw
card $CARD
}
period_time 0
period_size 1024
buffer_size 8192
format S16_LE
channels 1
rate 37286
}
}
}
capture.pcm {
type null
}
}