Home
last modified time | relevance | path

Searched refs:surroundPan (Results 1 – 25 of 27) sorted by relevance

12

/NW4C-2.0.3/include/nw/snd/
Dsnd_BasicSoundPlayer.h41 float surroundPan; member
85 void SetSurroundPan( float surroundPan ) { m_PlayerParamSet.surroundPan = surroundPan; } in SetSurroundPan() argument
96 float GetSurroundPan() const { return m_PlayerParamSet.surroundPan; } in GetSurroundPan()
Dsnd_StreamSoundHandle.h369 void SetSurroundPan( f32 surroundPan ) in SetSurroundPan() argument
371 if ( IsAttachedSound() ) m_pSound->SetSurroundPan( surroundPan ); in SetSurroundPan()
579 void SetTrackSurroundPan( u32 trackBitFlag, f32 surroundPan ) in SetTrackSurroundPan() argument
581 if ( IsAttachedSound() ) m_pSound->SetTrackSurroundPan( trackBitFlag, surroundPan ); in SetTrackSurroundPan()
Dsnd_SequenceSoundHandle.h350 void SetSurroundPan( f32 surroundPan ) in SetSurroundPan() argument
352 if ( IsAttachedSound() ) m_pSound->SetSurroundPan( surroundPan ); in SetSurroundPan()
882 void SetTrackSurroundPan( u32 trackBitFlag, f32 surroundPan ) in SetTrackSurroundPan() argument
884 if ( IsAttachedSound() ) m_pSound->SetTrackSurroundPan( trackBitFlag, surroundPan ); in SetTrackSurroundPan()
Dsnd_WaveSoundFileReader.h56 u8 surroundPan; member
68 u8 surroundPan; member
Dsnd_SequenceTrack.h87 MoveValue<s8,s16> surroundPan; member
184 void SetSurroundPan( float surroundPan ) { m_ExtSurroundPan = surroundPan; } in SetSurroundPan() argument
Dsnd_Channel.h138 void SetInitSurroundPan( f32 surroundPan ) { m_InitSurroundPan = surroundPan; } in SetInitSurroundPan() argument
166 void SetUserSurroundPan( f32 surroundPan ) { m_UserSurroundPan = surroundPan; } in SetUserSurroundPan() argument
Dsnd_WaveSoundHandle.h356 void SetSurroundPan( f32 surroundPan ) in SetSurroundPan() argument
358 if ( IsAttachedSound() ) m_pSound->SetSurroundPan( surroundPan ); in SetSurroundPan()
Dsnd_SoundHandle.h395 void SetSurroundPan( float surroundPan ) in SetSurroundPan() argument
397 if ( IsAttachedSound() ) m_pSound->SetSurroundPan( surroundPan ); in SetSurroundPan()
Dsnd_BankFileReader.h40 u8 surroundPan; member
Dsnd_BankFile.h197 s8 surroundPan; // for RVL member
Dsnd_SequenceSound.h144 void SetTrackSurroundPan( u32 trackBitFlag, f32 surroundPan );
Dsnd_DriverCommand.h151 float surroundPan; member
Dsnd_SequenceSoundPlayer.h216 void SetTrackSurroundPan( u32 trackBitFlag, float surroundPan );
Dsnd_Util.h76 static f32 CalcSurroundPanRatio( f32 surroundPan, const PanInfo& info );
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_WaveSoundPlayer.cpp62 m_WaveSoundInfo.surroundPan = 0; in Initialize()
504 f32 surroundPan = 0.0f; in UpdateChannel() local
505 if ( m_WaveSoundInfo.surroundPan <= 63 ) in UpdateChannel()
507 surroundPan += static_cast<f32>( m_WaveSoundInfo.surroundPan ) / 63.0f; in UpdateChannel()
511 surroundPan += static_cast<f32>( m_WaveSoundInfo.surroundPan + 1 ) / 64.0f; in UpdateChannel()
514 surroundPan += GetSurroundPan(); in UpdateChannel()
558 m_pChannel->SetUserSurroundPan( surroundPan ); in UpdateChannel()
Dsnd_BankFileReader.cpp144 info->surroundPan = velocityRegion->GetSurroundPan(); in ReadVelocityRegionInfo()
158 info->surroundPan = regionParameter->surroundPan; in ReadVelocityRegionInfo()
Dsnd_BasicSound.cpp574 f32 surroundPan = 0.0f; in UpdateParam() local
575 surroundPan += m_ExtSurroundPan; in UpdateParam()
576 surroundPan += m_AmbientParam.span; in UpdateParam()
623 command->surroundPan = surroundPan; in UpdateParam()
957 void BasicSound::SetSurroundPan( f32 surroundPan ) in SetSurroundPan() argument
959 m_ExtSurroundPan = surroundPan; in SetSurroundPan()
Dsnd_Util.cpp723 f32 Util::CalcSurroundPanRatio( f32 surroundPan, const PanInfo& info ) in CalcSurroundPanRatio() argument
725 surroundPan = ut::Clamp( surroundPan, 0.0f, 2.0f ) / 2.0f; // 0.0 - 1.0 のスケールに in CalcSurroundPanRatio()
729 f32 ratio = table[ static_cast<int>( surroundPan * PAN_TABLE_MAX + 0.5f ) ]; in CalcSurroundPanRatio()
Dsnd_WaveSoundFileReader.cpp131 dst->surroundPan = src.GetSurroundPan(); in ReadWaveSoundInfo()
163 dst->surroundPan = src.GetSurroundPan(); in ReadNoteInfo()
Dsnd_SequenceTrack.cpp99 m_ParserTrackParam.surroundPan.InitValue( 0 ); in InitParam()
244 m_ParserTrackParam.surroundPan.Update(); in ParseNextTick()
407 float surroundPan in UpdateChannelParam() local
408 … = ut::Clamp( static_cast<float>( m_ParserTrackParam.surroundPan.GetValue() ) / 63.0f, 0.0f, 2.0f ) in UpdateChannelParam()
447 channel->SetUserSurroundPan( surroundPan ); in UpdateChannelParam()
Dsnd_BasicSoundPlayer.cpp33 surroundPan = 0.0f; in Initialize()
Dsnd_SequenceSoundPlayer.cpp527 void SequenceSoundPlayer::SetTrackSurroundPan( u32 trackBitFlag, float surroundPan ) in SetTrackSurroundPan() argument
529 SetTrackParam( trackBitFlag, &SequenceTrack::SetSurroundPan, surroundPan ); in SetTrackSurroundPan()
Dsnd_Channel.cpp259 f32 surroundPan = m_InitSurroundPan + m_UserSurroundPan; in Update() local
296 m_pVoice->SetSurroundPan( surroundPan ); in Update()
Dsnd_SequenceSound.cpp475 void SequenceSound::SetTrackSurroundPan( u32 trackBitFlag, f32 surroundPan ) in SetTrackSurroundPan() argument
483 command->value = surroundPan; in SetTrackSurroundPan()
Dsnd_DriverCommand.cpp111 c->player->SetSurroundPan( c->surroundPan ); in ProcessCommandList()

12