]> git.alsa-project.org Git - alsa-tools.git/commitdiff
hdspmixer: Fix labels on H9652
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Tue, 1 Mar 2011 09:42:27 +0000 (10:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Mar 2011 12:48:13 +0000 (13:48 +0100)
The H9652 uses the same layout as the Digiface, except Digiface features
an additional headphones out. That's why the channel mappings are the
same, but Digiface has mexdest=14 while H9652 has maxdest=13 (12 ADAT
pairs, another pair for S/PDIF and headphone-L/R on Digiface)

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
hdspmixer/src/HDSPMixerOutput.cxx

index b0064c2709afcc1c88f966c9e655bd2bb8abddc7..50478256f052d8e9996e727c5a62bdf79ab6f936 100644 (file)
@@ -220,7 +220,7 @@ void HDSPMixerOutput::setLabels()
         return;
     };
     
-    if (type == Digiface) {
+    if (type == Digiface || type == H9652) {
         if (sm)
             labels_input = labels_playback = labels_df_ds;
         else