HBMFadeoutManualSound

Syntax


#include <revolution/hbm.h>

#define USE_FOR_MANUAL

void HBMFadeoutManualSound( f32 gain );

Arguments

gain Sound effect volume (maximum = 1.0f, minimum = 0.0f).

Return Values

None.

Description

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.

See Also

HBMPlayManualSound, HBMUpdateManualSound

Revision History

2007/10/26
Revised the header explanation.
2006/11/11
Added information about USE_FOR_MANUAL.
2006/10/19
Initial version.

CONFIDENTIAL