diff options
author | Jaroslav Kysela <perex@perex.cz> | 2008-04-10 09:08:08 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-04-10 09:08:08 +0200 |
commit | d555b1591483bf08559113f8c449cbb8d58d54a4 (patch) | |
tree | 1a13b9bd9ac0a233eac8fb95f7953ede5c617d5e /src/pcm/pcm_hw.c | |
parent | 542b12b888412248ede246ffd0d6ab644e1b4670 (diff) | |
download | alsa-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.c | 4 |
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; |