fix compilation in pcm/pcm_hw.c - monotonic clock

This commit is contained in:
Jaroslav Kysela 2008-04-10 09:08:08 +02:00
parent 542b12b888
commit d555b15914

View file

@ -1006,9 +1006,9 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp, const char *name,
} }
monotonic = 1; monotonic = 1;
} }
} } else
#endif #endif
else if (SNDRV_PROTOCOL_VERSION(2, 0, 5) <= ver) { if (SNDRV_PROTOCOL_VERSION(2, 0, 5) <= ver) {
int on = 1; int on = 1;
if (ioctl(fd, SNDRV_PCM_IOCTL_TSTAMP, &on) < 0) { if (ioctl(fd, SNDRV_PCM_IOCTL_TSTAMP, &on) < 0) {
ret = -errno; ret = -errno;