#include <revolution/hbm.h>
#define USE_FOR_MANUAL
void HBMFadeoutManualSound( f32 gain );
gain |
Sound effect volume (maximum = 1.0f, minimum = 0.0f). |
None.
Performs a fadeout on the sound effect played in the HOME Menu when a manual is displayed by the application. During fadeout, call this function, decreasing the value passed as gain from 1.0f to 0.0f over a 300 ms period.
Enable the USE_FOR_MANUAL definition and link homebuttonLib.vcmv.a or homebuttonMiniLib.vcmv.a.
HBMPlayManualSound, HBMUpdateManualSound
USE_FOR_MANUAL.
CONFIDENTIAL