Lines Matching refs:mp_Voice
26 nn::snd::Voice* mp_Voice; variable
60 mp_Voice = nn::snd::AllocVoice(128, NULL, NULL); in SoundThreadFuncImpl()
61 mp_Voice->SetSampleRate(48000); // Set sampling rate in SoundThreadFuncImpl()
62 mp_Voice->SetSampleFormat(nn::snd::SAMPLE_FORMAT_PCM16); // Specify format in SoundThreadFuncImpl()
63 mp_Voice->SetChannelCount(2); // Set number of channels in SoundThreadFuncImpl()
64 mp_Voice->SetPitch(1.0f); // Set pitch in SoundThreadFuncImpl()
65 mp_Voice->SetVolume(1.0f); // Set volume in SoundThreadFuncImpl()
66 mp_Voice->SetMixParam(mix); // Set volume Mix in SoundThreadFuncImpl()
68 mp_Voice->AppendWaveBuffer(&m_WaveBuffer); // Add buffer in SoundThreadFuncImpl()
74 mp_Voice->SetState(nn::snd::Voice::STATE_PLAY); in SoundThreadFuncImpl()
83 mp_Voice->SetState(nn::snd::Voice::STATE_STOP); in SoundThreadFuncImpl()
84 FreeVoice(mp_Voice); in SoundThreadFuncImpl()