Lines Matching refs:sound
80 Sound* sound = new( ptr ) Sound( *this ); in Create() local
81 m_FreeList.PushBack( sound ); in Create()
129 Sound* sound = NULL; in Alloc() local
130 while( sound == NULL ) in Alloc()
134 sound = &m_FreeList.GetFront(); in Alloc()
160 sound->Initialize(); in Alloc()
161 sound->SetPriority( priority, ambientPriority ); in Alloc()
163 InsertPriorityList( sound, allocPriority ); in Alloc()
164 return sound; in Alloc()
178 void Free( Sound* sound ) in Free() argument
180 NW_NULL_ASSERT( sound ); in Free()
184 RemovePriorityList( sound ); in Free()
186 sound->Finalize(); in Free()
187 m_FreeList.PushBack( sound ); in Free()
201 void UpdatePriority( Sound* sound, int priority ) in UpdatePriority() argument
205 RemovePriorityList( sound ); in UpdatePriority()
206 InsertPriorityList( sound, priority ); in UpdatePriority()
286 void InsertPriorityList( Sound* sound, int priority ) in InsertPriorityList() argument
295 m_PriorityList.Insert( itr, sound ); in InsertPriorityList()
297 void RemovePriorityList( Sound* sound ) { m_PriorityList.Erase( sound ); } in RemovePriorityList() argument