nn::snd::CTR::Voice::SetVolume Member Function

Syntax

void SetVolume(
     f32 volume
);

Arguments

Name Description
in volume Volume value.

Return Values

None.

Description

Sets the volume of a voice.

A ratio of 1.0 represents no change from the original value. This is used together with the gain set by nn::snd::CTR::Voice::SetMixParam to calculate the volume.

The default value is 1.0.

Revision History

2010/02/02
Initial version.

CONFIDENTIAL