aboutsummaryrefslogtreecommitdiff
path: root/include/pcm.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-04-21 12:46:50 +0200
committerJaroslav Kysela <perex@perex.cz>2008-04-21 12:46:50 +0200
commitc88672d86fe713e8f049df895fc3b64c472fbf5d (patch)
tree250bd1e092df6addf3aea29249a80e5a86b2f7d0 /include/pcm.h
parent058dde8b7da6f7b725e4ef8b9b237f2a5c6ff01e (diff)
implemented snd_pcm_rewindable() and snd_pcm_forwardable(), removed can_rewind and can_forward
Diffstat (limited to 'include/pcm.h')
-rw-r--r--include/pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pcm.h b/include/pcm.h
index 9a592e3d..4eb5035d 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -441,7 +441,9 @@ int snd_pcm_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp);
int snd_pcm_resume(snd_pcm_t *pcm);
int snd_pcm_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail, snd_htimestamp_t *tstamp);
snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t *pcm);
+snd_pcm_sframes_t snd_pcm_rewindable(snd_pcm_t *pcm);
snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
+snd_pcm_sframes_t snd_pcm_forwardable(snd_pcm_t *pcm);
snd_pcm_sframes_t snd_pcm_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
snd_pcm_sframes_t snd_pcm_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size);