summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-14 00:05:27 -0400
committerXANTRONIX Development2022-03-14 00:05:27 -0400
commit815ee7a10f4af1242bc0cd2d288132274615375a (patch)
tree9ad299f924c9d5d78c7cb17e8e61ff51c174b8ad /include/xas
parent3d470011ef84a2b0e85234f66e61ff01fb1939c8 (diff)
downloadxas-815ee7a10f4af1242bc0cd2d288132274615375a.tar.gz
xas-815ee7a10f4af1242bc0cd2d288132274615375a.tar.bz2
xas-815ee7a10f4af1242bc0cd2d288132274615375a.zip
Remove unnecessary argument from callbacks
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/audio.h9
1 files changed, 3 insertions, 6 deletions
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,