fix ndspGetMasterVol and ndspChnGetMix

This commit is contained in:
TurtleP 2022-09-14 17:50:51 -04:00 committed by fincs
parent ef806d5bd8
commit 58719f32ac
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ void ndspChnSetMix(int id, float mix[12]);
* @param id ID of the channel (0..23) * @param id ID of the channel (0..23)
* @param mix Mix parameters to write out to. See \ref ndspChnSetMix. * @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. * @brief Sets the DSPADPCM coefficients of a channel.

View File

@ -612,7 +612,7 @@ void ndspSetMasterVol(float volume)
LightLock_Unlock(&ndspMaster.lock); LightLock_Unlock(&ndspMaster.lock);
} }
void ndspGetMasterVol(void) float ndspGetMasterVol(void)
{ {
return ndspMaster.masterVol; return ndspMaster.masterVol;
} }