Lines Matching refs:sound
78 Sound* sound = new( ptr ) Sound( *this ); in Create() local
79 m_FreeList.PushBack( sound ); in Create()
127 Sound* sound = NULL; in Alloc() local
128 while( sound == NULL ) in Alloc()
132 sound = &m_FreeList.GetFront(); in Alloc()
158 sound->Initialize(); in Alloc()
159 sound->SetPriority( priority, ambientPriority ); in Alloc()
161 InsertPriorityList( sound, allocPriority ); in Alloc()
162 return sound; in Alloc()
176 void Free( Sound* sound ) in Free() argument
178 NW_NULL_ASSERT( sound ); in Free()
182 RemovePriorityList( sound ); in Free()
184 sound->Finalize(); in Free()
185 m_FreeList.PushBack( sound ); in Free()
199 void UpdatePriority( Sound* sound, int priority ) in UpdatePriority() argument
203 RemovePriorityList( sound ); in UpdatePriority()
204 InsertPriorityList( sound, priority ); in UpdatePriority()
284 void InsertPriorityList( Sound* sound, int priority ) in InsertPriorityList() argument
293 m_PriorityList.Insert( itr, sound ); in InsertPriorityList()
295 void RemovePriorityList( Sound* sound ) { m_PriorityList.Erase( sound ); } in RemovePriorityList() argument