]> git.alsa-project.org Git - alsa-lib.git/commit
Allow ioplugins to override snd_pcm_delay()
authorPierre Ossman <ossman@cendio.se>
Fri, 26 May 2006 15:08:18 +0000 (17:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 May 2006 15:08:18 +0000 (17:08 +0200)
commit3fd93699904eaec36b2708c359cc1b7633594f9b
tree816510023c092d6433a33ac0c1215e73319ff4d4
parent1d80c5b901baf7e1b7998dfa518532fbd64e4283
Allow ioplugins to override snd_pcm_delay()

Some io plug-ins might want to adjust the reported delay value and not
strictly follow the current buffer usage (that's why we have two calls
after all).

Allow them to specify a delay() callback and use the previous behaviour
if they don't.

Signed-off-by: Pierre Ossman <ossman@cendio.se>
include/pcm_ioplug.h
src/pcm/pcm_ioplug.c