From 98ecc868ec75d87b512430d4f4abe710c83a9860 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 27 May 2005 09:25:16 +0000 Subject: [PATCH] Fix compile without debug option Fixed the compile error (missing function) without debug option. --- src/pcm/pcm_params.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pcm/pcm_params.c b/src/pcm/pcm_params.c index 9225e8d8..b9ae6390 100644 --- a/src/pcm/pcm_params.c +++ b/src/pcm/pcm_params.c @@ -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) -- 2.47.1