From 43c0c472202dd5648e80adcc097f03825279644e Mon Sep 17 00:00:00 2001 From: TurtleP Date: Sun, 28 Aug 2022 15:53:45 -0400 Subject: [PATCH] ndspChnGetMix --- libctru/include/3ds/ndsp/channel.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libctru/include/3ds/ndsp/channel.h b/libctru/include/3ds/ndsp/channel.h index d3c81b4..764c32a 100644 --- a/libctru/include/3ds/ndsp/channel.h +++ b/libctru/include/3ds/ndsp/channel.h @@ -134,6 +134,13 @@ void ndspChnSetRate(int id, float rate); */ void ndspChnSetMix(int id, float mix[12]); +/** + * @brief Gets the mix parameters (volumes) of a channel. + * @param id ID of the channel (0..23) + * @return The mix parameters. + */ +float* ndspChnGetMix(int id); + /** * @brief Sets the DSPADPCM coefficients of a channel. * @param id ID of the channel (0..23).