diff options
author | Jaroslav Kysela <perex@perex.cz> | 2001-12-11 15:27:26 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2001-12-11 15:27:26 +0000 |
commit | cd29f8b860f38145319a29544f8e8fe31d8e8b34 (patch) | |
tree | c825efd31c9db6810c8969a5a9e2cbb0a23cbfdc /include | |
parent | 155e6822d2f114485771c9d76097128c06cb6b86 (diff) | |
download | alsa-lib-cd29f8b860f38145319a29544f8e8fe31d8e8b34.tar.gz |
changed result type from int to snd_pcm_sframes_t for snd_pcm_mmap_commit; removed snd_pcm_mmap_commit_partial
Diffstat (limited to 'include')
-rw-r--r-- | include/pcm.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/pcm.h b/include/pcm.h index 3fdf2810..e0598db7 100644 --- a/include/pcm.h +++ b/include/pcm.h @@ -791,13 +791,9 @@ int snd_pcm_mmap_begin(snd_pcm_t *pcm, const snd_pcm_channel_area_t **areas, snd_pcm_uframes_t *offset, snd_pcm_uframes_t *frames); -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_commit(snd_pcm_t *pcm, + snd_pcm_uframes_t offset, + snd_pcm_uframes_t frames); 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); |