summaryrefslogtreecommitdiff
path: root/src/pcm/pcm_hw.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-04-10 09:08:08 +0200
committerJaroslav Kysela <perex@perex.cz>2008-04-10 09:08:08 +0200
commitd555b1591483bf08559113f8c449cbb8d58d54a4 (patch)
tree1a13b9bd9ac0a233eac8fb95f7953ede5c617d5e /src/pcm/pcm_hw.c
parent542b12b888412248ede246ffd0d6ab644e1b4670 (diff)
downloadalsa-lib-d555b1591483bf08559113f8c449cbb8d58d54a4.tar.gz
fix compilation in pcm/pcm_hw.c - monotonic clock
Diffstat (limited to 'src/pcm/pcm_hw.c')
-rw-r--r--src/pcm/pcm_hw.c4
1 files 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;