]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: core: keep track of boundary wrap-around
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 22 Oct 2012 21:42:14 +0000 (16:42 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Oct 2012 14:13:41 +0000 (16:13 +0200)
commit0e8014d772a7639f48d234b23dc4ce97335cce7f
treedc2be9b0067a1eb896474e8dfa1b0b2d88d14e93
parent86a778a78d06cdc8c3994837cd963c146acfba6a
ALSA: core: keep track of boundary wrap-around

Keep track of boundary crossing when hw_ptr
exceeds boundary limit and wraps-around. This
will help keep track of total number
of frames played/received at the kernel level

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_lib.c