diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/xas/audio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/xas/audio.h b/include/xas/audio.h index 4ffc430..8a7fe4e 100644 --- a/include/xas/audio.h +++ b/include/xas/audio.h @@ -11,10 +11,10 @@ enum xas_audio_stream_type { typedef struct _xas_audio_stream xas_audio_stream; -typedef int (*xas_audio_drain)(void *ctx, - void *samples, - size_t count, - xas_audio_stream *stream); +typedef ssize_t (*xas_audio_drain)(void *ctx, + void *samples, + size_t count, + xas_audio_stream *stream); typedef ssize_t (*xas_audio_fill)(void *ctx, void *samples, |