The Advanced Linux Sound Architecture (ALSA) - tools
Find a file
Adrian Knoth 05d6bc9728 hdspmixer: Lower nesting depth in label assignment
This fix is mostly cosmetic, the long if-then-else-if-chain was rather
confusing. To improve code readability, use simple if-then statements
and leave the function as soon as a match is found.

Clear code would probably use a two-dimensional map, but it seems rather
overengineered.

Last but not least, the non-matching case was augmented by assigning a
generic "1", "2", "3" .. channel naming schema to prevent hdspmixer from
crashing.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-03-01 13:47:21 +01:00
ac3dec ac3dec - Fix typos of -q option 2009-07-01 08:07:46 +02:00
as10k1 more gitcompile cleanups 2008-08-19 19:22:20 +02:00
echomixer echomixer: little bug fix 2009-03-19 08:33:36 +01:00
envy24control envy24control: Changing the Multi Track Peak control from MIXER to PCM type 2009-10-06 16:46:03 +02:00
hdspconf Also fix the configure for hdspconf for LIBS/LDFLAGS mistakes. 2009-05-29 12:27:58 +02:00
hdsploader Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
hdspmixer hdspmixer: Lower nesting depth in label assignment 2011-03-01 13:47:21 +01:00
hwmixvolume hwmixvolume: add hwmixvolume to EXTRA_DIST 2010-04-07 13:53:43 +02:00
ld10k1 Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
mixartloader Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
pcxhrloader Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
qlo10k1 qlo10k1: Fix usage of $x_libraries in acinclude.m4 - it may be empty 2009-08-31 12:48:22 +02:00
rmedigicontrol Fix building of alsa-tools when using the --as-needed linker option. 2008-11-13 13:13:53 +01:00
sb16_csp Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
seq Added seq/gitcompile and seq/Makefile to tarball 2008-09-09 14:48:16 +02:00
sscape_ctl Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
us428control us428control - Fix array overflow 2009-06-08 11:48:45 +02:00
usx2yloader Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
vxloader Added configure target to global Makefile and gitcompile to EXTRA_DIST 2008-09-09 14:17:10 +02:00
.gitignore add hwmixvolume 2010-01-18 15:37:41 +01:00
compile improved compile script (too look also to subdirs) 2008-06-03 11:54:50 +02:00
gitcompile remove .hg files and renamed hgcompile to gitcompile 2008-05-20 13:38:30 +02:00
Makefile Release v1.0.24.1 2011-01-28 16:13:36 +01:00