From: Takashi Iwai Date: Thu, 5 Jul 2007 10:58:10 +0000 (+0200) Subject: Added PS3 configuration X-Git-Tag: v1.0.15rc1~20 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7f0beceb7d98543c5c50ad2a58f06ff63bdd1427;p=alsa-lib.git Added PS3 configuration Added PS3 configuration. No iec958 PCM at this stage since it doesn't support passthru yet. --- diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am index 8677bca6..7e4ab94f 100644 --- a/src/conf/cards/Makefile.am +++ b/src/conf/cards/Makefile.am @@ -35,6 +35,7 @@ cfg_files = aliases.conf \ PC-Speaker.conf \ PMac.conf \ PMacToonie.conf \ + PS3.conf \ RME9636.conf \ RME9652.conf \ SI7018.conf \ diff --git a/src/conf/cards/PS3.conf b/src/conf/cards/PS3.conf new file mode 100644 index 00000000..b7e30ff5 --- /dev/null +++ b/src/conf/cards/PS3.conf @@ -0,0 +1,46 @@ +# +# Configuration for PS3 +# + + + +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 + } + } + } +}