From fc148fe8f7c765fd37f3f723a1fc6fe870a43a67 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 15 Jan 2022 16:58:50 -0500 Subject: Good drone!!! --- include/xas/audio.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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, -- cgit v1.2.3