Lines Matching refs:voice

435         Voice* voice = m_Tracks[ trackIndex ].m_pVoice;  in Stop()  local
436 if ( voice != NULL ) in Stop()
438 voice->Stop(); in Stop()
444 Voice* voice = m_Channels[ch].m_pVoice; in Stop()
445 if ( voice != NULL ) in Stop()
447 voice->Stop(); in Stop()
969 Voice* voice = VoiceManager::GetInstance().AllocVoice( in AllocVoices() local
975 if ( voice == NULL ) in AllocVoices()
988 voice->SetFrontBypass( IsFrontBypass() ); in AllocVoices()
990 track.m_pVoice = voice; in AllocVoices()
998 Voice* voice = VoiceManager::GetInstance().AllocVoice( in AllocVoices()
1004 if ( voice == NULL ) in AllocVoices()
1017 voice->SetFrontBypass( IsFrontBypass() ); in AllocVoices()
1018 channel.m_pVoice = voice; in AllocVoices()
1231 Voice* voice = track->m_pVoice; in UpdateVoiceParams() local
1232 if ( voice != NULL ) in UpdateVoiceParams()
1234 voice->SetVolume( volume ); in UpdateVoiceParams()
1235 voice->SetPitch( pitchRatio ); in UpdateVoiceParams()
1236 voice->SetPan( pan ); in UpdateVoiceParams()
1237 voice->SetSurroundPan( span ); in UpdateVoiceParams()
1238 voice->SetLpfFreq( lpfFreq ); in UpdateVoiceParams()
1239 voice->SetBiquadFilter( biquadType, biquadValue ); in UpdateVoiceParams()
1240 voice->SetMainSend( mainSend ); in UpdateVoiceParams()
1244 voice->SetFxSend( bus, fxsend[ i ] ); in UpdateVoiceParams()
1250 Voice* voice = track->m_pChannels[ch]->m_pVoice; in UpdateVoiceParams() local
1252 if ( voice != NULL ) in UpdateVoiceParams()
1254 voice->SetVolume( volume ); in UpdateVoiceParams()
1255 voice->SetPitch( pitchRatio ); in UpdateVoiceParams()
1256 voice->SetLpfFreq( lpfFreq ); in UpdateVoiceParams()
1257 voice->SetBiquadFilter( biquadType, biquadValue ); in UpdateVoiceParams()
1258 voice->SetMainSend( mainSend ); in UpdateVoiceParams()
1262 voice->SetFxSend( bus, fxsend[ i ] ); in UpdateVoiceParams()
1267 voice->SetPan( pan ); in UpdateVoiceParams()
1284 voice->SetPan( pan ); in UpdateVoiceParams()
1294 voice->SetPan( voicePan ); in UpdateVoiceParams()
1297 voice->SetSurroundPan( span ); in UpdateVoiceParams()
1352 Voice* voice = m_Tracks[ 0 ].m_pVoice; in UpdateBuffer() local
1354 Voice* voice = m_Channels[ 0 ].m_pVoice; in UpdateBuffer() local
1356 if ( voice == NULL ) return; in UpdateBuffer()
1357 if ( ! voice->IsRun() ) return; in UpdateBuffer()
1371 const u32 playingSample = voice->GetCurrentPlayingSample(); in UpdateBuffer()
1435 Voice* voice = track.m_pVoice; in UpdateLoopAddress() local
1436 if ( voice == NULL ) continue; in UpdateLoopAddress()
1444 voice->SetLoopStart( channelIndex, channel->m_pBufferAddress, loopStartSamples ); in UpdateLoopAddress()
1445 voice->SetLoopEnd( channelIndex, channel->m_pBufferAddress, loopEndSamples ); in UpdateLoopAddress()
1447 voice->SetLoopFlag( true ); in UpdateLoopAddress()
1560 Voice* voice = track.m_pVoice; in UpdateDataLoopAddress() local
1561 if ( voice == NULL ) continue; in UpdateDataLoopAddress()
1563 if ( voice->GetFormat() == SAMPLE_FORMAT_DSP_ADPCM ) in UpdateDataLoopAddress()
1571 voice->SetDspAdpcmLoop( in UpdateDataLoopAddress()
1610 Voice* voice = track.m_pVoice; in SetLoopEndToZeroBuffer() local
1611 if ( voice == NULL ) continue; in SetLoopEndToZeroBuffer()
1619 voice->StopAtPoint( in SetLoopEndToZeroBuffer()
1757 Voice* voice = m_Tracks[ trackIndex ].m_pVoice; in UpdatePauseStatus() local
1758 if ( voice != NULL ) in UpdatePauseStatus()
1760 voice->Pause( pauseStatus ); in UpdatePauseStatus()
1766 Voice* voice = m_Channels[ ch ].m_pVoice; in UpdatePauseStatus()
1767 if ( voice != NULL ) in UpdatePauseStatus()
1769 voice->Pause( pauseStatus ); in UpdatePauseStatus()
1887 Voice* voice, in VoiceCallbackFunc() argument
1896 NW_ASSERT( track->m_pVoice == voice ); in VoiceCallbackFunc()
1902 voice->Free(); in VoiceCallbackFunc()
1917 NW_ASSERT( channel->m_pVoice == voice ); in VoiceCallbackFunc()
1923 voice->Free(); in VoiceCallbackFunc()