Lines Matching refs:Sound
33 template < typename Sound, typename Player >
40 typedef ut::LinkList< Sound, offsetof(Sound,m_PriorityLink)> PriorityList;
59 return sizeof(Sound) * instanceCount; in GetRequiredMemSize()
78 const unsigned long numObjects = size / sizeof(Sound); in Create()
80 Sound* sound = new( ptr ) Sound( *this ); in Create()
82 ptr += sizeof(Sound); in Create()
122 Sound* Alloc( int priority, int ambientPriority ) in Alloc()
129 Sound* sound = NULL; in Alloc()
140 Sound* lowPrioSound = GetLowestPrioritySound(); in Alloc()
178 void Free( Sound* sound ) in Free()
201 void UpdatePriority( Sound* sound, int priority ) in UpdatePriority()
230 Sound& front = m_PriorityList.GetFront(); in SortPriorityList()
238 Sound& front = tmplist[i].GetFront(); in SortPriorityList()
254 Sound* GetLowestPrioritySound() in GetLowestPrioritySound()
286 void InsertPriorityList( Sound* sound, int priority ) in InsertPriorityList()
297 void RemovePriorityList( Sound* sound ) { m_PriorityList.Erase( sound ); } in RemovePriorityList()