[ALSA] PCM core - remove SNDRV_PCM_TSTAMP_MMAP condition in snd_pcm_status()
authorJaroslav Kysela <perex@perex.cz>
Tue, 8 Jan 2008 11:24:01 +0000 (12:24 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:46 +0000 (17:29 +0100)
commita713b5834731f32757b30de038dcb995afac2ad1
treeb42219e374bd9a8444a8ba0b33d9dca6fc9de9a2
parent0678accd2da33873455ef8d41d847bd550727159
[ALSA] PCM core - remove SNDRV_PCM_TSTAMP_MMAP condition in snd_pcm_status()

The condition caused that the returned ring buffer position does not match
with timestamp when SNDRV_PCM_TSTAMP_MMAP mode was enabled. Removing
condition makes unified behaviour and interrupt based timestamp can be
accessed via PCM_IOCTL_SYNC_PTR or mmaped status area.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/pcm_native.c