aboutsummaryrefslogtreecommitdiff
path: root/include/pcm_ioplug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcm_ioplug.h')
-rw-r--r--include/pcm_ioplug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pcm_ioplug.h b/include/pcm_ioplug.h
index c1310e3b..b16fc8b8 100644
--- a/include/pcm_ioplug.h
+++ b/include/pcm_ioplug.h
@@ -235,6 +235,9 @@ int snd_pcm_ioplug_set_param_list(snd_pcm_ioplug_t *io, int type, unsigned int n
int snd_pcm_ioplug_set_state(snd_pcm_ioplug_t *ioplug, snd_pcm_state_t state);
/* calucalte the available frames */
+snd_pcm_uframes_t snd_pcm_ioplug_avail(const snd_pcm_ioplug_t * const ioplug,
+ const snd_pcm_uframes_t hw_ptr,
+ const snd_pcm_uframes_t appl_ptr);
snd_pcm_uframes_t snd_pcm_ioplug_hw_avail(const snd_pcm_ioplug_t * const ioplug,
const snd_pcm_uframes_t hw_ptr,
const snd_pcm_uframes_t appl_ptr);