From d555b1591483bf08559113f8c449cbb8d58d54a4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 10 Apr 2008 09:08:08 +0200 Subject: [PATCH] fix compilation in pcm/pcm_hw.c - monotonic clock --- src/pcm/pcm_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c index 1b103b52..88b5e048 100644 --- a/src/pcm/pcm_hw.c +++ b/src/pcm/pcm_hw.c @@ -1006,9 +1006,9 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp, const char *name, } monotonic = 1; } - } + } else #endif - else if (SNDRV_PROTOCOL_VERSION(2, 0, 5) <= ver) { + if (SNDRV_PROTOCOL_VERSION(2, 0, 5) <= ver) { int on = 1; if (ioctl(fd, SNDRV_PCM_IOCTL_TSTAMP, &on) < 0) { ret = -errno; -- 2.47.1