Lines Matching refs:pVoice
31 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()
93 pVoice->SetState(nn::snd::Voice::STATE_PLAY); in SoundThreadFunc()
102 pVoice->SetState(nn::snd::Voice::STATE_STOP); in SoundThreadFunc()
103 FreeVoice(pVoice); in SoundThreadFunc()
169 pVoice->SetPitch(pitch); in PlaySound()
170 pVoice->SetVolume(volume); in PlaySound()
178 pVoice->SetVolume(volume); in StopSound()