diff --git a/libctru/include/3ds/ndsp/channel.h b/libctru/include/3ds/ndsp/channel.h index e5b0f13..b233594 100644 --- a/libctru/include/3ds/ndsp/channel.h +++ b/libctru/include/3ds/ndsp/channel.h @@ -161,7 +161,7 @@ void ndspChnSetMix(int id, float mix[12]); * @param id ID of the channel (0..23) * @param mix Mix parameters to write out to. See \ref ndspChnSetMix. */ -void ndspChnGetMix(int id, float* mix[12]); +void ndspChnGetMix(int id, float mix[12]); /** * @brief Sets the DSPADPCM coefficients of a channel. diff --git a/libctru/source/ndsp/ndsp.c b/libctru/source/ndsp/ndsp.c index cc0e8df..c1b9de4 100644 --- a/libctru/source/ndsp/ndsp.c +++ b/libctru/source/ndsp/ndsp.c @@ -612,7 +612,7 @@ void ndspSetMasterVol(float volume) LightLock_Unlock(&ndspMaster.lock); } -void ndspGetMasterVol(void) +float ndspGetMasterVol(void) { return ndspMaster.masterVol; }