mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
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:
parent
33d9449c71
commit
1dd2db1367
2 changed files with 49 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ cfg_files = aliases.conf \
|
|||
ICH-MODEM.conf \
|
||||
Maestro3.conf \
|
||||
NFORCE.conf \
|
||||
PC-Speaker.conf \
|
||||
RME9636.conf \
|
||||
RME9652.conf \
|
||||
SI7018.conf \
|
||||
|
|
|
|||
48
src/conf/cards/PC-Speaker.conf
Normal file
48
src/conf/cards/PC-Speaker.conf
Normal 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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue