Added snd_pcm_mmap_commit_partial().

This commit is contained in:
Jaroslav Kysela 2001-12-10 10:52:04 +00:00
parent b7b11c3558
commit bbcf77116d
2 changed files with 51 additions and 20 deletions

View file

@ -795,8 +795,13 @@ int snd_pcm_mmap_begin_avail(snd_pcm_t *pcm,
snd_pcm_uframes_t *offset,
snd_pcm_uframes_t *frames,
snd_pcm_uframes_t avail);
int snd_pcm_mmap_commit(snd_pcm_t *pcm, snd_pcm_uframes_t offset,
int snd_pcm_mmap_commit(snd_pcm_t *pcm,
snd_pcm_uframes_t offset,
snd_pcm_uframes_t frames);
int snd_pcm_mmap_commit_partial(snd_pcm_t *pcm,
snd_pcm_uframes_t offset,
snd_pcm_uframes_t frames,
snd_pcm_uframes_t *commited);
snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size);
snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size);