From: Adrian Knoth Date: Tue, 1 Mar 2011 09:42:27 +0000 (+0100) Subject: hdspmixer: Fix labels on H9652 X-Git-Tag: v1.0.25~34 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=863c47cebe7c341d4034669d5793ce92a875ad13;p=alsa-tools.git hdspmixer: Fix labels on H9652 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 Signed-off-by: Takashi Iwai --- 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