From: Takashi Iwai Date: Tue, 14 Mar 2006 19:02:23 +0000 (+0000) Subject: Suppress warning messages from old timer X-Git-Tag: v1.0.11rc4~15 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f032a8cf3fa27ac2b3228488db78d4bc748081ad;p=alsa-lib.git Suppress warning messages from old timer Suppress warning messages when the new timer ioctl isn't available (happening when using dmix in the new alsa-lib with older kernels). --- diff --git a/src/timer/timer_hw.c b/src/timer/timer_hw.c index 1a03c2ca..d11c1e3b 100644 --- a/src/timer/timer_hw.c +++ b/src/timer/timer_hw.c @@ -266,7 +266,7 @@ int snd_timer_hw_open(snd_timer_t **handle, const char *name, int dev_class, int ret = -errno; close(fd); __no_tread: - SNDERR("extended read is not supported (SNDRV_TIMER_IOCTL_TREAD)"); + SNDMSG("extended read is not supported (SNDRV_TIMER_IOCTL_TREAD)"); return ret; } }