From: Jaroslav Kysela Date: Thu, 10 Apr 2008 07:08:08 +0000 (+0200) Subject: fix compilation in pcm/pcm_hw.c - monotonic clock X-Git-Tag: v1.0.17rc1~8 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d555b1591483bf08559113f8c449cbb8d58d54a4;p=alsa-lib.git fix compilation in pcm/pcm_hw.c - monotonic clock --- 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;