[alsa-devel] [PATCH 5/5] hdspmixer: Fix labels on H9652

Adrian Knoth adi at drcomp.erfurt.thur.de
Tue Mar 1 10:42:27 CET 2011


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 at drcomp.erfurt.thur.de>

diff --git a/hdspmixer/src/HDSPMixerOutput.cxx b/hdspmixer/src/HDSPMixerOutput.cxx
index b0064c2..5047825 100644
--- a/hdspmixer/src/HDSPMixerOutput.cxx
+++ b/hdspmixer/src/HDSPMixerOutput.cxx
@@ -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
-- 
1.7.4.1



More information about the Alsa-devel mailing list