]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix compile without debug option
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 May 2005 09:25:16 +0000 (09:25 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 May 2005 09:25:16 +0000 (09:25 +0000)
Fixed the compile error (missing function) without debug option.

src/pcm/pcm_params.c

index 9225e8d84fc5a9350aee06e2a932249b438b5c92..b9ae639010adb3f55f130fb552d397e041f7c3ea 100644 (file)
@@ -55,6 +55,11 @@ static void dump_hw_params(snd_pcm_hw_params_t *params, const char *type,
        snd_pcm_hw_params_dump(params, out);
        snd_output_close(out);
 }
+#else
+static inline void dump_hw_params(snd_pcm_hw_params_t *params, const char *type,
+                                 snd_pcm_hw_param_t var, unsigned int val, int err)
+{
+}
 #endif
 
 static inline int hw_is_mask(snd_pcm_hw_param_t var)