From 815ee7a10f4af1242bc0cd2d288132274615375a Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 14 Mar 2022 00:05:27 -0400 Subject: Remove unnecessary argument from callbacks --- include/xas/audio.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/xas') diff --git a/include/xas/audio.h b/include/xas/audio.h index 5e36f19..07a2ef0 100644 --- a/include/xas/audio.h +++ b/include/xas/audio.h @@ -22,16 +22,13 @@ typedef struct _xas_audio_stream xas_audio_stream; typedef ssize_t (*xas_audio_drain)(void *ctx, void *samples, - size_t count, - xas_audio_stream *sink); + size_t count); typedef ssize_t (*xas_audio_fill)(void *ctx, void *samples, - size_t count, - xas_audio_stream *source); + size_t count); -typedef void (*xas_audio_cleanup)(void *ctx, - xas_audio_stream *stream); +typedef void (*xas_audio_cleanup)(void *ctx); typedef struct _xas_audio_format { size_t channels, -- cgit v1.2.3