summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/audio.h8
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,