]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Add PCM definitions dpl and dpl2
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Apr 2006 17:08:27 +0000 (19:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Apr 2006 17:08:27 +0000 (19:08 +0200)
Add PCM definitions "dpl" and "dpl2" in pcm/dpl.conf.
Include the file via
<confdir:pcm/dpl.conf>
for use.

src/conf/pcm/Makefile.am
src/conf/pcm/dpl.conf [new file with mode: 0644]

index de5959fe091bdec87603453fc69f4b55202bf2b9..0b2c7e6efbc85229e3995a39eaba05abedaf45b2 100644 (file)
@@ -2,7 +2,8 @@ cfg_files = default.conf front.conf rear.conf center_lfe.conf side.conf\
            surround40.conf surround41.conf \
            surround50.conf surround51.conf \
            surround71.conf iec958.conf modem.conf \
-           dmix.conf dsnoop.conf
+           dmix.conf dsnoop.conf \
+           dpl.conf
 
 EXTRA_DIST = $(cfg_files)
 
diff --git a/src/conf/pcm/dpl.conf b/src/conf/pcm/dpl.conf
new file mode 100644 (file)
index 0000000..1009bb3
--- /dev/null
@@ -0,0 +1,43 @@
+pcm.!dpl {
+       @args [ SLAVE ]
+       @args.SLAVE {
+               type string
+       }
+       type route
+       slave.pcm $SLAVE
+       slave.channels 2
+       # input: FL/FR/SL/SR/C/LFE
+       # S=SL+SR, LFE not used
+       ttable.0.0 1
+       ttable.1.1 1
+       ttable.2.0 0.707
+       ttable.2.1 -0.707
+       ttable.3.0 0.707
+       ttable.3.1 -0.707
+       ttable.4.0 0.707
+       ttable.4.1 0.707
+       ttable.5.0 0
+       ttable.5.1 0
+}
+
+pcm.!dpl2 {
+       @args [SLAVE]
+       @args.SLAVE {
+               type string
+       }
+       type route
+       slave.pcm $SLAVE
+       slave.channels 2
+       # input: FL/FR/SL/SR/C/LFE
+       # LFE not used
+       ttable.0.0 1
+       ttable.1.1 1
+       ttable.2.0 0.866
+       ttable.2.1 -0.5
+       ttable.3.0 0.5
+       ttable.3.1 -0.866
+       ttable.4.0 0.707
+       ttable.4.1 0.707
+       ttable.5.0 0
+       ttable.5.1 0
+}