mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added PS3 configuration
Added PS3 configuration. No iec958 PCM at this stage since it doesn't support passthru yet.
This commit is contained in:
parent
845d9222b2
commit
7f0beceb7d
2 changed files with 47 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ cfg_files = aliases.conf \
|
|||
PC-Speaker.conf \
|
||||
PMac.conf \
|
||||
PMacToonie.conf \
|
||||
PS3.conf \
|
||||
RME9636.conf \
|
||||
RME9652.conf \
|
||||
SI7018.conf \
|
||||
|
|
|
|||
46
src/conf/cards/PS3.conf
Normal file
46
src/conf/cards/PS3.conf
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#
|
||||
# Configuration for PS3
|
||||
#
|
||||
|
||||
<confdir:pcm/front.conf>
|
||||
|
||||
PS3.pcm.front.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type softvol
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
card $CARD
|
||||
}
|
||||
}
|
||||
|
||||
# default with dmix+softvol
|
||||
PS3.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type asym
|
||||
playback.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type softvol
|
||||
slave.pcm {
|
||||
@func concat
|
||||
#strings [ "dmix:CARD=" $CARD ]
|
||||
strings [ "dmix:CARD=" $CARD ",FORMAT=S16" ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
card $CARD
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue