From 383ef5610370db5881b102b8906dc2f55fcbf0aa Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 31 Jan 2022 13:17:00 -0500 Subject: Heh. This works. --- src/audio.c | 2 +- src/synth.c | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'src') diff --git a/src/audio.c b/src/audio.c index 5902589..85f417d 100644 --- a/src/audio.c +++ b/src/audio.c @@ -55,7 +55,7 @@ xas_audio_stream *xas_audio_stream_new_sink(xas_audio_drain drain, } xas_audio_stream *xas_audio_stream_new_source(xas_audio_fill fill, - xas_audio_cleanup cleanup, + xas_audio_cleanup cleanup, void *ctx, size_t sample_size, size_t sample_rate, diff --git a/src/synth.c b/src/synth.c index 96c6d83..9b18daf 100644 --- a/src/synth.c +++ b/src/synth.c @@ -32,15 +32,3 @@ void xas_synth_destroy(xas_synth *synth) { int16_t xas_synth_sample(xas_synth *synth) { return synth->sample(synth, synth->ctx); } - -ssize_t xas_synth_fill(xas_synth *synth, - int16_t *samples, - size_t count) { - size_t i; - - for (i=0; isample(synth, synth->ctx); - } - - return count; -} -- cgit v1.2.3