Changed result of mmap_commit callback

(follows description of snd_pcm_mmap_commit function).
This commit is contained in:
Jaroslav Kysela 2001-12-08 21:02:20 +00:00
parent 8ca451f0e1
commit 0917ba63b0
11 changed files with 57 additions and 53 deletions

View file

@ -142,7 +142,7 @@ typedef struct {
snd_pcm_sframes_t (*readi)(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size);
snd_pcm_sframes_t (*readn)(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size);
snd_pcm_sframes_t (*avail_update)(snd_pcm_t *pcm);
snd_pcm_sframes_t (*mmap_commit)(snd_pcm_t *pcm, snd_pcm_uframes_t offset, snd_pcm_uframes_t size);
int (*mmap_commit)(snd_pcm_t *pcm, snd_pcm_uframes_t offset, snd_pcm_uframes_t size);
} snd_pcm_fast_ops_t;
struct _snd_pcm {