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).
This commit is contained in:
Takashi Iwai 2006-03-14 19:02:23 +00:00
parent e58f4d966f
commit f032a8cf3f

View file

@ -266,7 +266,7 @@ int snd_timer_hw_open(snd_timer_t **handle, const char *name, int dev_class, int
ret = -errno; ret = -errno;
close(fd); close(fd);
__no_tread: __no_tread:
SNDERR("extended read is not supported (SNDRV_TIMER_IOCTL_TREAD)"); SNDMSG("extended read is not supported (SNDRV_TIMER_IOCTL_TREAD)");
return ret; return ret;
} }
} }