Home
last modified time | relevance | path

Searched refs:pVoice (Results 1 – 1 of 1) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/demo2/
Dsnd.cpp31 nn::snd::Voice* pVoice; variable
70 pVoice = nn::snd::AllocVoice(128, NULL, NULL); in SoundThreadFunc()
71 NN_TASSERT_(pVoice); in SoundThreadFunc()
73 pVoice->SetChannelCount(1); in SoundThreadFunc()
74 pVoice->SetSampleFormat(nn::snd::SAMPLE_FORMAT_PCM16); in SoundThreadFunc()
80 pVoice->SetMixParam(mix); in SoundThreadFunc()
81 pVoice->SetVolume(volume); in SoundThreadFunc()
84 pVoice->SetSampleRate(NN_SND_HW_I2S_CLOCK_32KHZ); in SoundThreadFunc()
85 pVoice->SetPitch(pitch); in SoundThreadFunc()
91 pVoice->AppendWaveBuffer(&waveBuffer); in SoundThreadFunc()
[all …]