]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm: Define namehint for single directional PCM types
authorTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2016 14:33:19 +0000 (16:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 May 2016 14:35:16 +0000 (16:35 +0200)
The PCM namehint for some PCM types like dmix, dsnoop and surround51
should be defined as single directional.

Reported-by: Trent Reed <treed0803@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/pcm/dmix.conf
src/conf/pcm/dsnoop.conf
src/conf/pcm/surround21.conf
src/conf/pcm/surround40.conf
src/conf/pcm/surround41.conf
src/conf/pcm/surround50.conf
src/conf/pcm/surround51.conf
src/conf/pcm/surround71.conf

index e62cb295278c1218150ad341a2e161ae7898e966..7d0aa0158c429f1245f7a405f1ff825e1f1ff626 100644 (file)
@@ -110,6 +110,6 @@ pcm.!dmix {
                        name defaults.namehint.extended
                }
                description "Direct sample mixing device"
-               device $DEV
+               device_output $DEV
        }
 }
index 49cfca98c2622b95a75ed125cd23dec3567037c8..abbd44f7fd796ae0ffda3476e8ea7e8e5e9cf3b9 100644 (file)
@@ -110,6 +110,6 @@ pcm.!dsnoop {
                        name defaults.namehint.extended
                }
                description "Direct sample snooping device"
-               device $DEV
+               device_input $DEV
        }
 }
index 7f4676b3f71418c0143499916521e43a74331cce..1cf1b7af8dc6080bc8dc05f6da9c1fca0a496458 100644 (file)
@@ -56,6 +56,6 @@ pcm.!surround21 {
        ttable.2.LFE 1
        hint {
                description "2.1 Surround output to Front and Subwoofer speakers"
-               device $DEV
+               device_output $DEV
        }
 }
index 361ccaa1e3291b89de3e5df657ba5076b3f0f9cc..9788ad4884fd3ee9d957cb674d5411880fab3df8 100644 (file)
@@ -54,6 +54,6 @@ pcm.!surround40 {
        }
        hint {
                description "4.0 Surround output to Front and Rear speakers"
-               device $DEV
+               device_output $DEV
        }
 }
index 2f823815821adfc01de8722392110fbd3ba84290..7b4ef3beb43adf313320e9f9640a7b6a98f4837e 100644 (file)
@@ -60,6 +60,6 @@ pcm.!surround41 {
        ttable.4.LFE 1
        hint {
                description "4.1 Surround output to Front, Rear and Subwoofer speakers"
-               device $DEV
+               device_output $DEV
        }
 }
index dc95c179da68fcf353c1aa1ab8b4a1ab90811059..7d9a9e798fd86ab563ae289d3158adabac2ffd80 100644 (file)
@@ -60,6 +60,6 @@ pcm.!surround50 {
        ttable.4.FC 1
        hint {
                description "5.0 Surround output to Front, Center and Rear speakers"
-               device $DEV
+               device_output $DEV
        }
 }
index 3a7543f9fb8aa0f9b482b8fe73f8866470a231c6..e67f007ef305e8916b3c675a043033f92b315570 100644 (file)
@@ -56,6 +56,6 @@ pcm.!surround51 {
        }
        hint {
                description "5.1 Surround output to Front, Center, Rear and Subwoofer speakers"
-               device $DEV
+               device_output $DEV
        }
 }
index 076a97d7371612cb05b68045fb378959135d6ee3..a26c3f36c437e8c746af988c1c93cf04444c2b52 100644 (file)
@@ -58,6 +58,6 @@ pcm.!surround71 {
        }
        hint {
                description "7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"
-               device $DEV
+               device_output $DEV
        }
 }