ALSA: Add extra delay count in PCM
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 01:07:14 +0000 (03:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 May 2009 12:47:21 +0000 (14:47 +0200)
commit4bbe1ddf89a5ba3ec30fe5980912d8bda3a3cbb2
treec57b1b83a23bd80535ea5b9220d07a3ab09df955
parent091438dd5668396328a3419abcbc6591159eb8d1
ALSA: Add extra delay count in PCM

Added runtime->delay field to adjust the delayed samples for snd_pcm_delay().
Typically a hardware FIFO length is stored in this field, so that the
extra delay between hwptr and applptr can be computed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_native.c