]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit484a4d066fc24ef4102350836626126a4a1136b9
treeb42219e374bd9a8444a8ba0b33d9dca6fc9de9a2
parentc579ef850027709aea9ec860c33689f6c02f6057
[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