[ALSA] PCM interface - rename SNDRV_PCM_TSTAMP_MMAP to SNDRV_PCM_TSTAMP_ENABLE
authorJaroslav Kysela <perex@perex.cz>
Fri, 11 Jan 2008 07:45:08 +0000 (08:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:54 +0000 (17:29 +0100)
commit8c12158687fc78091730d5456336b7efbf6f2250
treef5b27075a4fde3f3eabbe7f05a12fec5559664b6
parenta64135a2d880183a2aff149f42dab7779a37a67f
[ALSA] PCM interface - rename SNDRV_PCM_TSTAMP_MMAP to SNDRV_PCM_TSTAMP_ENABLE

Change semantics for SNDRV_PCM_TSTAMP_MMAP. Doing timestamping only in
the interrupt handler might cause that hw_ptr is not related to actual
timestamp. With this change, grab timestamp at every hw_ptr update to
have always valid timestamp + ring buffer position pair.
With this change, SNDRV_PCM_TSTAMP_MMAP was renamed to
SNDRV_PCM_TSTAMP_ENABLE. It's no regression (I think).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/asound.h
sound/core/pcm.c
sound/core/pcm_lib.c
sound/core/pcm_native.c