From 7f0beceb7d98543c5c50ad2a58f06ff63bdd1427 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 5 Jul 2007 12:58:10 +0200 Subject: [PATCH] Added PS3 configuration Added PS3 configuration. No iec958 PCM at this stage since it doesn't support passthru yet. --- src/conf/cards/Makefile.am | 1 + src/conf/cards/PS3.conf | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/conf/cards/PS3.conf 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 + } + } + } +} -- 2.47.1