From 1bbe0659cfc4f1ea17e2c05869578959cc11fdfc Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 15 Mar 2022 17:45:12 -0400 Subject: Implement polyphonic synth streams Implement polyphonic synth streams by allowing one to create a new audio source passing multiple streams at once, wherein each synth is sampled and merged with the final stream output --- include/xas/synth.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/xas/synth.h b/include/xas/synth.h index 7ec4af4..e513f2a 100644 --- a/include/xas/synth.h +++ b/include/xas/synth.h @@ -65,4 +65,7 @@ void xas_synth_stop(xas_synth *synth); xas_audio_stream *xas_synth_stream_new(xas_synth *synth); +xas_audio_stream *xas_synth_stream_new_poly(xas_synth **synths, + size_t count); + #endif /* _XAS_SYNTH_H */ -- cgit v1.2.3