Lines Matching refs:pChannel

280         HardwareChannel* pChannel = m_pHardwareChannel[ channelIndex ];  in ~Voice()  local
281 if ( pChannel != NULL ) in ~Voice()
284 HardwareChannelManager::GetInstance().FreeHardwareChannel( pChannel ); in ~Voice()
286 nn::snd::FreeVoice( pChannel ); in ~Voice()
467 HardwareChannel* pChannel = m_pHardwareChannel[ channelIndex ]; in Free() local
468 if ( pChannel != NULL ) in Free()
471 HardwareChannelManager::GetInstance().FreeHardwareChannel( pChannel ); in Free()
474 nn::snd::FreeVoice( pChannel ); in Free()
499 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in Initialize() local
500 if ( pChannel == NULL ) continue; in Initialize()
521 pChannel->Initialize( in Initialize()
527 pChannel->SetAddr( in Initialize()
537 pChannel->SetDspAdpcm( in Initialize()
541 pChannel->SetDspAdpcmLoop( in Initialize()
546 pChannel->SetSrcType( SRC_TYPE_4TAP, m_Pitch ); in Initialize()
551 pChannel->SetChannelCount( 1 ); in Initialize()
552 pChannel->SetSampleFormat( GetSdkSampleFormat( m_Format ) ); in Initialize()
553 pChannel->SetSampleRate( waveInfo.sampleRate ); in Initialize()
559 pChannel->SetInterpolationType( in Initialize()
837 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetPriority() local
838 if ( pChannel != NULL ) in SetPriority()
841 pChannel->SetPriority( VOICE_PRIORITY_RELEASE ); in SetPriority()
899 HardwareChannel* pChannel = voice->m_pHardwareChannel[ channelIndex ]; in HardwareChannelCallbackFunc() local
900 if ( pChannel == NULL ) continue; in HardwareChannelCallbackFunc()
901 if ( pChannel == dropVoice ) in HardwareChannelCallbackFunc()
906 HardwareChannelManager::GetInstance().FreeHardwareChannel( pChannel ); in HardwareChannelCallbackFunc()
911 pChannel->Stop(); in HardwareChannelCallbackFunc()
912 HardwareChannelManager::GetInstance().FreeHardwareChannel( pChannel ); in HardwareChannelCallbackFunc()
1089 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in CalcSrc() local
1090 if ( pChannel != NULL ) in CalcSrc()
1093 pChannel->SetSrc( ratio, initialUpdate ); in CalcSrc()
1097 pChannel->SetPitch( ratio ); in CalcSrc()
1112 HardwareChannel* pChannel = m_pHardwareChannel[ channelIndex ]; in CalcVe() local
1113 if ( pChannel != NULL ) in CalcVe()
1116 pChannel->SetVolume( volume ); in CalcVe()
1130 HardwareChannel* pChannel = m_pHardwareChannel[ channelIndex ]; in CalcMix() local
1131 if ( pChannel == NULL ) continue; in CalcMix()
1134 pChannel->SetMixParam( mix ); in CalcMix()
1148 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in CalcLpf() local
1149 if ( pChannel != NULL ) in CalcLpf()
1152 pChannel->SetLpf( freq ); in CalcLpf()
1157 pChannel->EnableMonoFilter( false ); in CalcLpf()
1161 pChannel->EnableMonoFilter( true ); in CalcLpf()
1162 pChannel->SetMonoFilterCoefficients( freq ); in CalcLpf()
1174 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in CalcBiquadFilter() local
1175 if ( pChannel != NULL ) in CalcBiquadFilter()
1178 pChannel->SetBiquad( m_BiquadType, m_BiquadValue ); in CalcBiquadFilter()
1186 pChannel->EnableBiquadFilter( false ); in CalcBiquadFilter()
1188 pChannel->SetFilterType( nn::snd::FILTER_TYPE_NONE ); in CalcBiquadFilter()
1196 pChannel->EnableBiquadFilter( false ); in CalcBiquadFilter()
1200 pChannel->EnableBiquadFilter( true ); in CalcBiquadFilter()
1203 pChannel->SetBiquadFilterCoefficients( &coef ); in CalcBiquadFilter()
1210 pChannel->SetFilterType( nn::snd::FILTER_TYPE_BIQUAD ); in CalcBiquadFilter()
1211 pChannel->SetBiquadFilterCoefficients( &coef ); in CalcBiquadFilter()
1473 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in RunAllHardwareChannel() local
1474 if ( pChannel != NULL ) in RunAllHardwareChannel()
1477 pChannel->Run(); in RunAllHardwareChannel()
1480 pChannel->SetState( nn::snd::Voice::STATE_PLAY ); in RunAllHardwareChannel()
1491 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in StopAllHardwareChannel() local
1492 if ( pChannel != NULL ) in StopAllHardwareChannel()
1495 pChannel->Stop(); in StopAllHardwareChannel()
1498 pChannel->SetState( nn::snd::Voice::STATE_STOP ); in StopAllHardwareChannel()
1509 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in PauseAllHardwareChannel() local
1510 if ( pChannel != NULL ) in PauseAllHardwareChannel()
1513 pChannel->Stop(); in PauseAllHardwareChannel()
1516 pChannel->SetState( nn::snd::Voice::STATE_PAUSE ); in PauseAllHardwareChannel()
1535 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in UpdateVoicesPriority() local
1536 if ( pChannel != NULL ) in UpdateVoicesPriority()
1539 pChannel->SetPriority( VOICE_PRIORITY_USE ); in UpdateVoicesPriority()
1541 pChannel->SetPriority( m_Priority ); in UpdateVoicesPriority()
1561 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in StopAtPoint() local
1562 if ( pChannel != NULL ) in StopAtPoint()
1564 pChannel->StopAtPoint( baseAddress, samples ); in StopAtPoint()
1572 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetLoopFlag() local
1573 if ( pChannel != NULL ) in SetLoopFlag()
1575 pChannel->SetLoopFlag( loopFlag ); in SetLoopFlag()
1582 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetLoopStart() local
1583 if ( pChannel != NULL ) in SetLoopStart()
1585 pChannel->SetLoopStart( baseAddress, samples ); in SetLoopStart()
1591 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetLoopEnd() local
1592 if ( pChannel != NULL ) in SetLoopEnd()
1594 pChannel->SetLoopEnd( baseAddress, samples ); in SetLoopEnd()
1600 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetDspAdpcmLoop() local
1601 if ( pChannel != NULL ) in SetDspAdpcmLoop()
1603 pChannel->SetDspAdpcmLoop( param ); in SetDspAdpcmLoop()
1656 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetFrontBypass() local
1657 if ( pChannel != NULL ) in SetFrontBypass()
1659 pChannel->SetFrontBypassFlag( isFrontBypass ); in SetFrontBypass()
1670 HardwareChannel* pChannel = m_pHardwareChannel[channelIndex]; in SetInterpolationType() local
1671 if ( pChannel != NULL ) in SetInterpolationType()
1673 pChannel->SetInterpolationType( GetSdkInterpolationType( interpolationType ) ); in SetInterpolationType()
1686 HardwareChannel* pChannel = m_pHardwareChannel[ channelIndex ]; in AppendWaveBuffer() local
1689 NW_NULL_ASSERT( pChannel ); in AppendWaveBuffer()
1692 pChannel->AppendWaveBuffer( pBuffer ); in AppendWaveBuffer()
1707 HardwareChannel* pChannel = m_pHardwareChannel[ channelIndex ]; in SetAdpcmParam() local
1709 NW_NULL_ASSERT( pChannel ); in SetAdpcmParam()
1712 pChannel->SetAdpcmParam( param ); in SetAdpcmParam()