diff options
author | Stas Sergeev <stsp@aknet.ru> | 2007-09-19 21:29:41 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2007-09-19 21:29:41 +0200 |
commit | cda4a3cb6109dca7628092b12ff7606ce9c4f62f (patch) | |
tree | 0f5306e55f91fd19f8281670b27d720ad53550ee | |
parent | d3339d7b8b706773529484801a2705b495f4cd66 (diff) |
PC-Speaker config update
The attached patch updates the PC-Speaker.conf for the use of softvol.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>
-rw-r--r-- | src/conf/cards/PC-Speaker.conf | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/src/conf/cards/PC-Speaker.conf b/src/conf/cards/PC-Speaker.conf index 892ef3a9..cf88ff36 100644 --- a/src/conf/cards/PC-Speaker.conf +++ b/src/conf/cards/PC-Speaker.conf @@ -9,8 +9,17 @@ PC-Speaker.pcm.front.0 { @args.CARD { type string } - type hw - card $CARD + type softvol + slave.pcm { + type hw + card $CARD + } + control { + name "Master Playback Volume" + card $CARD + } + min_dB -10.0 + max_dB 20.0 } # default with dmix & null @@ -23,21 +32,17 @@ PC-Speaker.pcm.default { 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 + type softvol + slave.pcm { + @func concat + strings [ "dmix:" $CARD ] + } + control { + name "Master Playback Volume" + card $CARD } + min_dB -10.0 + max_dB 20.0 } } capture.pcm { |