]> git.alsa-project.org Git - alsa-tools.git/commitdiff
hdspmixer: Fix temporary RPM constant
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 29 Jul 2011 15:57:30 +0000 (17:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jul 2011 17:23:42 +0000 (19:23 +0200)
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@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
hdspmixer/src/HDSPMixerCard.h

index 656702b168de27baa1de0c86085b6efb5cc78d4b..faaeefa817219efac353ee3a15c20657469c581d 100644 (file)
@@ -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;