Lines Matching refs:voice
449 Voice* voice = m_Tracks[ trackIndex ].m_pVoice; in Stop() local
450 if ( voice != NULL ) in Stop()
452 voice->Stop(); in Stop()
458 Voice* voice = m_Channels[ch].m_pVoice; in Stop()
459 if ( voice != NULL ) in Stop()
461 voice->Stop(); in Stop()
1022 Voice* voice = VoiceManager::GetInstance().AllocVoice( in AllocVoices() local
1028 if ( voice == NULL ) in AllocVoices()
1041 voice->SetFrontBypass( IsFrontBypass() ); in AllocVoices()
1043 track.m_pVoice = voice; in AllocVoices()
1051 Voice* voice = VoiceManager::GetInstance().AllocVoice( in AllocVoices()
1057 if ( voice == NULL ) in AllocVoices()
1070 voice->SetFrontBypass( IsFrontBypass() ); in AllocVoices()
1071 channel.m_pVoice = voice; in AllocVoices()
1296 Voice* voice = track->m_pVoice; in UpdateVoiceParams() local
1297 if ( voice != NULL ) in UpdateVoiceParams()
1299 voice->SetVolume( volume ); in UpdateVoiceParams()
1300 voice->SetPitch( pitchRatio ); in UpdateVoiceParams()
1301 voice->SetPan( pan ); in UpdateVoiceParams()
1302 voice->SetSurroundPan( span ); in UpdateVoiceParams()
1303 voice->SetLpfFreq( lpfFreq ); in UpdateVoiceParams()
1304 voice->SetBiquadFilter( biquadType, biquadValue ); in UpdateVoiceParams()
1305 voice->SetMainSend( mainSend ); in UpdateVoiceParams()
1309 voice->SetFxSend( bus, fxsend[ i ] ); in UpdateVoiceParams()
1315 Voice* voice = track->m_pChannels[ch]->m_pVoice; in UpdateVoiceParams() local
1317 if ( voice != NULL ) in UpdateVoiceParams()
1319 voice->SetVolume( volume ); in UpdateVoiceParams()
1320 voice->SetPitch( pitchRatio ); in UpdateVoiceParams()
1321 voice->SetLpfFreq( lpfFreq ); in UpdateVoiceParams()
1322 voice->SetBiquadFilter( biquadType, biquadValue ); in UpdateVoiceParams()
1323 voice->SetMainSend( mainSend ); in UpdateVoiceParams()
1327 voice->SetFxSend( bus, fxsend[ i ] ); in UpdateVoiceParams()
1332 voice->SetPan( pan ); in UpdateVoiceParams()
1349 voice->SetPan( pan ); in UpdateVoiceParams()
1359 voice->SetPan( voicePan ); in UpdateVoiceParams()
1362 voice->SetSurroundPan( span ); in UpdateVoiceParams()
1426 Voice* voice = m_Tracks[ 0 ].m_pVoice; in UpdateBuffer() local
1428 Voice* voice = m_Channels[ 0 ].m_pVoice; in UpdateBuffer() local
1430 if ( voice == NULL ) in UpdateBuffer()
1434 if ( ! voice->IsRun() ) in UpdateBuffer()
1451 const u32 playingSample = voice->GetCurrentPlayingSample(); in UpdateBuffer()
1518 Voice* voice = track.m_pVoice; in UpdateLoopAddress() local
1519 if ( voice == NULL ) in UpdateLoopAddress()
1530 voice->SetLoopStart( channelIndex, channel->m_pBufferAddress, loopStartSamples ); in UpdateLoopAddress()
1531 voice->SetLoopEnd( channelIndex, channel->m_pBufferAddress, loopEndSamples ); in UpdateLoopAddress()
1533 voice->SetLoopFlag( true ); in UpdateLoopAddress()
1652 Voice* voice = track.m_pVoice; in UpdateDataLoopAddress() local
1653 if ( voice == NULL ) in UpdateDataLoopAddress()
1658 if ( voice->GetFormat() == SAMPLE_FORMAT_DSP_ADPCM ) in UpdateDataLoopAddress()
1666 voice->SetDspAdpcmLoop( in UpdateDataLoopAddress()
1708 Voice* voice = track.m_pVoice; in SetLoopEndToZeroBuffer() local
1709 if ( voice == NULL ) in SetLoopEndToZeroBuffer()
1720 voice->StopAtPoint( in SetLoopEndToZeroBuffer()
1867 Voice* voice = m_Tracks[ trackIndex ].m_pVoice; in UpdatePauseStatus() local
1868 if ( voice != NULL ) in UpdatePauseStatus()
1870 voice->Pause( pauseStatus ); in UpdatePauseStatus()
1876 Voice* voice = m_Channels[ ch ].m_pVoice; in UpdatePauseStatus()
1877 if ( voice != NULL ) in UpdatePauseStatus()
1879 voice->Pause( pauseStatus ); in UpdatePauseStatus()
1997 Voice* voice, in VoiceCallbackFunc() argument
2006 NW_ASSERT( track->m_pVoice == voice ); in VoiceCallbackFunc()
2012 voice->Free(); in VoiceCallbackFunc()
2027 NW_ASSERT( channel->m_pVoice == voice ); in VoiceCallbackFunc()
2033 voice->Free(); in VoiceCallbackFunc()