[alsa-devel] [PATCH 2/2] hdspmixer: Fix temporary RPM constant

Adrian Knoth adi at drcomp.erfurt.thur.de
Fri Jul 29 17:57:30 CEST 2011


RPM in hdsp.h's HDSP_IO_Type is 4, not 5. This patch isn't exactly
necessary here, because the constant is only used internally, but to
avoid confusion if somebody ever reads the code, let's use the correct
value.

Note that we'll drop it after the next alsa-lib release.

Signed-off-by: Adrian Knoth <adi at drcomp.erfurt.thur.de>

diff --git a/hdspmixer/src/HDSPMixerCard.h b/hdspmixer/src/HDSPMixerCard.h
index 656702b..faaeefa 100644
--- a/hdspmixer/src/HDSPMixerCard.h
+++ b/hdspmixer/src/HDSPMixerCard.h
@@ -34,7 +34,7 @@
 
 /* temporary workaround until hdsp.h (HDSP_IO_Type gets fixed */
 #ifndef RPM
-# define RPM	5
+# define RPM	4
 #endif
 
 class HDSPMixerWindow;
-- 
1.7.5.4



More information about the Alsa-devel mailing list