OSDN Git Service

Added pcm.dmix definition
authorJaroslav Kysela <perex@perex.cz>
Wed, 12 Feb 2003 19:11:52 +0000 (19:11 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 12 Feb 2003 19:11:52 +0000 (19:11 +0000)
src/conf/alsa.conf

index 7ea358e..aecde6d 100644 (file)
@@ -176,6 +176,30 @@ pcm.plug {
        slave.pcm $SLAVE
 }
 
+pcm.dmix {
+       @args [ SLAVE FORMAT RATE ]
+       @args.SLAVE {
+               type string
+               default "hw:0,0"
+       }
+       @args.FORMAT {
+               type string
+               default S16_LE
+       }
+       @args.RATE {
+               type integer
+               default 48000
+       }
+       type dmix
+       ipc_key 5678293
+       ipc_key_add_uid yes
+       slave {
+               pcm $SLAVE
+               format $FORMAT
+               rate $RATE
+       }
+}
+
 pcm.shm {
        @args [ SOCKET PCM ]
        @args.SOCKET {
@@ -225,7 +249,7 @@ pcm.file {
 pcm.null {
        type null
 }
-       
+
 pcm.default {
        type plug
        slave.pcm {