Lines Matching refs:Sound
31 template < typename Sound, typename Player >
38 typedef ut::LinkList< Sound, offsetof(Sound,m_PriorityLink)> PriorityList;
57 return sizeof(Sound) * instanceCount; in GetRequiredMemSize()
76 const unsigned long numObjects = size / sizeof(Sound); in Create()
78 Sound* sound = new( ptr ) Sound( *this ); in Create()
80 ptr += sizeof(Sound); in Create()
120 Sound* Alloc( int priority, int ambientPriority ) in Alloc()
127 Sound* sound = NULL; in Alloc()
138 Sound* lowPrioSound = GetLowestPrioritySound(); in Alloc()
176 void Free( Sound* sound ) in Free()
199 void UpdatePriority( Sound* sound, int priority ) in UpdatePriority()
228 Sound& front = m_PriorityList.GetFront(); in SortPriorityList()
236 Sound& front = tmplist[i].GetFront(); in SortPriorityList()
252 Sound* GetLowestPrioritySound() in GetLowestPrioritySound()
284 void InsertPriorityList( Sound* sound, int priority ) in InsertPriorityList()
295 void RemovePriorityList( Sound* sound ) { m_PriorityList.Erase( sound ); } in RemovePriorityList()