Searched refs:pVoice (Results 1 – 1 of 1) sorted by relevance
31 nn::snd::Voice* pVoice; variable70 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 …]