diff options
author | Jaroslav Kysela <perex@perex.cz> | 2008-10-23 09:57:11 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-10-23 09:57:11 +0200 |
commit | cc7fec138ed6dceaf9deccfa8f26a28ab8a6c504 (patch) | |
tree | 3c2d56b3cbbbbe3aea4b32dd34438ac18eaf8ea7 /include/pcm.h | |
parent | 16cc295a3c076ceb58fd9dd598c71e4aaa0800ac (diff) |
Add snd_pcm_avail() and snd_pcm_avail_delay() prototypes
Prototypes for new functions from commit
fe5391c9da2212dc594d1ee7f366e55432af0454
were lost somehow.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/pcm.h')
-rw-r--r-- | include/pcm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pcm.h b/include/pcm.h index e655aa67..15e9cb27 100644 --- a/include/pcm.h +++ b/include/pcm.h @@ -440,7 +440,9 @@ int snd_pcm_hwsync(snd_pcm_t *pcm); 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(snd_pcm_t *pcm); snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t *pcm); +int snd_pcm_avail_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *availp, snd_pcm_sframes_t *delayp); 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); @@ -454,6 +456,8 @@ int snd_pcm_wait(snd_pcm_t *pcm, int timeout); int snd_pcm_link(snd_pcm_t *pcm1, snd_pcm_t *pcm2); int snd_pcm_unlink(snd_pcm_t *pcm); +//int snd_pcm_mixer_element(snd_pcm_t *pcm, snd_mixer_t *mixer, snd_mixer_elem_t **elem); + /* * application helpers - these functions are implemented on top * of the basic API |