nn::snd::CTR::Voice::SetVolume Member Function
void SetVolume(
f32 volume
);
| Name | Description | |
|---|---|---|
| in | volume | Volume value. |
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.
CONFIDENTIAL