]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Suppress warning messages from old timer
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Mar 2006 19:02:23 +0000 (19:02 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Mar 2006 19:02:23 +0000 (19:02 +0000)
Suppress warning messages when the new timer ioctl isn't available
(happening when using dmix in the new alsa-lib with older kernels).

src/timer/timer_hw.c

index 1a03c2cab46885a065fea9a80ed94b2d7ccf7384..d11c1e3b5316d6589439fada4601a8a5f1f9c196 100644 (file)
@@ -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;
                }
        }