nn::snd::CTR::Voice::SetSampleRate Member Function

Syntax

void SetSampleRate(
     s32 sampleRate
);

Arguments

Name Description
in sampleRate Sampling Rate

Return Values

None.

Description

Sets the sampling rate of a voice.

This is used together with the pitch set by SetPitch to convert the frequency of the source sound.

The default value is NN_SND_HW_I2S_CLOCK_32KHZ.

Revision History

2010/01/29
Initial version.

CONFIDENTIAL