| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_TaskManager.cpp | 78 void TaskManager::AppendTask( Task* task, TaskPriority priority ) in AppendTask() argument 80 NW_MINMAXLT_ASSERT( priority, 0, PRIORITY_NUM ); in AppendTask() 86 m_TaskList[ priority ].PushBack( task ); in AppendTask() 100 Task* TaskManager::GetNextTask( TaskPriority priority, bool doRemove ) in GetNextTask() argument 102 NW_MINMAXLT_ASSERT( priority, 0, PRIORITY_NUM ); in GetNextTask() 106 if ( m_TaskList[ priority ].IsEmpty() ) return NULL; in GetNextTask() 108 Task* task = &m_TaskList[ priority ].GetFront(); in GetNextTask() 110 m_TaskList[ priority ].PopFront(); in GetNextTask() 249 TaskPriority priority = static_cast<TaskPriority>( i ); in RemoveTask() local 250 TaskList::Iterator itr = m_TaskList[ priority ].GetBeginIter(); in RemoveTask() [all …]
|
| D | snd_Sound3DEngine.cpp | 63 ambientParam->priority = - sound3DManager->GetMaxPriorityReduction(); in UpdateAmbientParam() 88 int priority; in UpdateAmbientParam() local 94 &priority in UpdateAmbientParam() 103 ambientParam->priority = ut::Max( priority, ambientParam->priority ); in UpdateAmbientParam() 238 return ambientParam.priority; in GetAmbientPriority()
|
| D | snd_BasicSound.cpp | 115 m_AmbientParam.priority = 0; in Initialize() 129 void BasicSound::SetPriority( int priority, int ambientPriority ) in SetPriority() argument 131 NW_MINMAX_ASSERT( priority, PRIORITY_MIN, PRIORITY_MAX ); in SetPriority() 133 m_Priority = static_cast<u8>(priority); in SetPriority() 134 m_AmbientParam.priority = ambientPriority; in SetPriority() 136 void BasicSound::GetPriority( int* priority, int* ambientPriority ) const in GetPriority() argument 138 if ( priority != NULL ) in GetPriority() 140 *priority = m_Priority; in GetPriority() 144 *ambientPriority = m_AmbientParam.priority; in GetPriority() 461 ambientParam.priority = m_AmbientParam.priority; in Update() [all …]
|
| D | snd_SoundThread.cpp | 154 s32 priority, in CreateSoundThread() argument 173 mainThread.priority = (coreNo == 1) ? 0 : priority; in CreateSoundThread() 178 userThread.priority = userThreadPriority; in CreateSoundThread() 200 s32 priority, in CreateSoundThread() argument 216 priority, in CreateSoundThread() 232 s32 priority ) in CreateUserSoundThread() argument 238 priority ); in CreateUserSoundThread() 246 s32 priority, in Create() argument 262 priority, in Create()
|
| D | snd_WaveSound.cpp | 160 void WaveSound::SetChannelPriority( int priority ) in SetChannelPriority() argument 162 NW_MINMAX_ASSERT( priority, 0, 127 ); in SetChannelPriority() 169 command->priority = priority; in SetChannelPriority() 204 int priority = CalcCurrentPlayerPriority(); in OnUpdatePlayerPriority() local 205 m_pManager.UpdatePriority( this, priority ); in OnUpdatePlayerPriority()
|
| D | snd_VoiceManager.cpp | 110 int priority, in AllocVoice() argument 118 if ( DropLowestPriorityVoice( priority ) == 0 ) return NULL; in AllocVoice() 124 if ( ! voice.Alloc( voiceChannelCount, priority, callback, callbackData ) ) in AllocVoice() 130 voice.m_Priority = static_cast<u8>( priority ); in AllocVoice() 239 int VoiceManager::DropLowestPriorityVoice( int priority ) in DropLowestPriorityVoice() argument 244 if ( dropVoice->GetPriority() > priority ) return 0; in DropLowestPriorityVoice()
|
| D | snd_ExternalSoundPlayer.cpp | 230 int priority = internal::BasicSound::PRIORITY_MAX + 1; in GetLowestPrioritySound() local 236 if ( priority > itrPriority ) in GetLowestPrioritySound() 239 priority = itrPriority; in GetLowestPrioritySound()
|
| D | snd_Sound3DManager.cpp | 232 int priority = 0; in detail_GetAmbientPriority() local 236 priority = m_pSound3DEngine->GetAmbientPriority( in detail_GetAmbientPriority() 243 return priority; in detail_GetAmbientPriority()
|
| D | snd_TaskThread.cpp | 51 bool TaskThread::Create( s32 priority, ThreadStack& stack ) in Create() argument 68 priority ).IsSuccess(); in Create()
|
| D | snd_WaveSoundPlayer.cpp | 218 void WaveSoundPlayer::SetChannelPriority( int priority ) in SetChannelPriority() argument 220 NW_MINMAX_ASSERT( priority, 0, 127 ); in SetChannelPriority() 221 m_Priority = static_cast<u8>( priority ); in SetChannelPriority() 376 const int priority = GetChannelPriority() + DEFAULT_PRIORITY; in StartChannel() local 415 priority, in StartChannel()
|
| D | snd_AnimSoundImpl.cpp | 662 int priority = m_pEventPlayers[i].GetPlayingSoundPriority(); in StartEvent() local 663 if ( lowestPriority > priority ) in StartEvent() 666 lowestPriority = priority; in StartEvent() 700 int priority = m_pEventPlayers[i].GetPlayingSoundPriority(); in HoldEvent() local 701 if ( lowestPriority > priority ) in HoldEvent() 704 lowestPriority = priority; in HoldEvent()
|
| D | snd_SequenceSoundPlayer.cpp | 122 m_ParserParam.priority = 64; in Initialize() 378 void SequenceSoundPlayer::SetChannelPriority( int priority ) in SetChannelPriority() argument 380 NW_MINMAX_ASSERT( priority, 0, 127 ); in SetChannelPriority() 381 m_ParserParam.priority = static_cast<u8>( priority ); in SetChannelPriority()
|
| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_SoundInstanceManager.h | 122 Sound* Alloc( int priority, int ambientPriority ) in Alloc() argument 124 int allocPriority = priority + ambientPriority; in Alloc() 161 sound->SetPriority( priority, ambientPriority ); in Alloc() 201 void UpdatePriority( Sound* sound, int priority ) in UpdatePriority() argument 206 InsertPriorityList( sound, priority ); in UpdatePriority() 286 void InsertPriorityList( Sound* sound, int priority ) in InsertPriorityList() argument 292 if ( priority < itr->CalcCurrentPlayerPriority() ) break; in InsertPriorityList()
|
| D | snd_TaskThread.h | 33 bool Create( s32 priority, ThreadStack& stack ); 38 void SetPriority( s32 priority ) in SetPriority() argument 40 m_Thread.ChangePriority( priority ); in SetPriority()
|
| D | snd_BasicSound.h | 53 int priority; member 65 priority(0), in SoundParam() 164 int priority; member 186 priority(0), in SoundAmbientParam() 283 void SetPriority( int priority, int ambientPriority ); 284 void GetPriority( int* priority, int* ambientPriority ) const; 307 void SetPlayerPriority( int priority ); 338 static_cast<int>( m_Priority ) + static_cast<int>( m_AmbientParam.priority ), in CalcCurrentPlayerPriority()
|
| D | snd_WaveSoundHandle.h | 404 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 406 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority() 481 void SetChannelPriority( int priority ) in SetChannelPriority() argument 483 if ( IsAttachedSound() ) m_pSound->SetChannelPriority( priority ); in SetChannelPriority()
|
| D | snd_SequenceSoundHandle.h | 398 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 400 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority() 475 void SetChannelPriority( int priority ) in SetChannelPriority() argument 477 if ( IsAttachedSound() ) m_pSound->SetChannelPriority( priority ); in SetChannelPriority()
|
| D | snd_SoundThread.h | 84 s32 priority, 95 s32 priority, 101 s32 priority ); 106 s32 priority,
|
| D | snd_TaskManager.h | 46 void AppendTask( Task* task, TaskPriority priority ); 71 Task* GetNextTask( TaskPriority priority, bool doRemove );
|
| D | snd_VoiceManager.h | 51 int priority, 71 int DropLowestPriorityVoice( int priority );
|
| D | snd_SoundHandle.h | 493 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 495 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority()
|
| D | snd_SequenceSoundPlayer.h | 140 u8 priority; member 200 void SetChannelPriority( int priority ); 205 int GetChannelPriority() const { return m_ParserParam.priority; } in GetChannelPriority()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_RenderElement.h | 181 void SetPriorityForDetailedMaterial(u8 priority, u32 shift) in SetPriorityForDetailedMaterial() argument 184 static_cast<KeyType>(priority & BIT64_MATERIAL_PRIORITY_MASK) in SetPriorityForDetailedMaterial() 218 void SetPriorityForSimpleMaterial(u8 priority, u32 shift) in SetPriorityForSimpleMaterial() argument 221 static_cast<KeyType>(priority & BIT64_SIMPLE_MATERIAL_PRIORITY_MASK) in SetPriorityForSimpleMaterial() 382 u8 priority, 468 u8 priority, in CreateCommandRenderKey() argument 475 priority, RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateCommandRenderKey() 563 u8 priority, in CreateCommandRenderKey() argument 570 priority, RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateCommandRenderKey() 661 u8 priority, in CreateCommandRenderKey() argument [all …]
|
| D | gfx_UserRenderNode.h | 45 u8 priority; //!< 描画優先度 member 50 …Description() : translucencyKind(nw::gfx::ResMaterial::TRANSLUCENCY_KIND_OPAQUE), priority(0), lay… in Description() 169 void SetPriority(const u8 priority) in SetPriority() argument 171 m_Priority = priority; in SetPriority()
|
| /NW4C-2.0.3/sources/libraries/snd/platform/ |
| D | snd_HardwareChannelManagerAX.cppi | 29 u32 priority, 38 priority,
|