From 1b8fe922c267844f08b1795682ff8ab7e2b2a40c Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 28 Feb 2022 13:10:56 -0500 Subject: Implement xas_audio_apply_gain() --- include/xas/audio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/xas') diff --git a/include/xas/audio.h b/include/xas/audio.h index d79615d..5e36f19 100644 --- a/include/xas/audio.h +++ b/include/xas/audio.h @@ -72,6 +72,12 @@ void xas_audio_copy(xas_audio_format format, size_t index_src, size_t count); +void xas_audio_apply_gain(xas_audio_format format, + void *dest, + float gain, + size_t index, + size_t count); + xas_audio_stream *xas_audio_stream_new_sink(xas_audio_drain drain, xas_audio_cleanup cleanup, xas_audio_format format, -- cgit v1.2.3