summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-28 13:10:56 -0500
committerXANTRONIX Development2022-02-28 13:12:06 -0500
commit1b8fe922c267844f08b1795682ff8ab7e2b2a40c (patch)
tree952e1c133bed7a2cd7c718626829fc3193e340da /include/xas
parent1abc73e474f8811ade6a9573a8083fecfbfecc04 (diff)
downloadxas-1b8fe922c267844f08b1795682ff8ab7e2b2a40c.tar.gz
xas-1b8fe922c267844f08b1795682ff8ab7e2b2a40c.tar.bz2
xas-1b8fe922c267844f08b1795682ff8ab7e2b2a40c.zip
Implement xas_audio_apply_gain()
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/audio.h6
1 files changed, 6 insertions, 0 deletions
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,