Lines Matching refs:voice
81 Voice& voice = m_FreeVoiceList.GetFront(); in Finalize() local
83 voice.~Voice(); // デストラクタ呼び出し in Finalize()
94 Voice& voice = m_PrioVoiceList.GetFront(); in StopAllVoices() local
95 voice.Stop(); in StopAllVoices()
96 if ( voice.m_Callback != NULL ) in StopAllVoices()
98 voice.m_Callback( in StopAllVoices()
99 &voice, in StopAllVoices()
101 voice.m_pCallbackData in StopAllVoices()
104 voice.Free(); in StopAllVoices()
122 Voice& voice = m_FreeVoiceList.GetFront(); in AllocVoice() local
124 if ( ! voice.Alloc( voiceChannelCount, priority, callback, callbackData ) ) in AllocVoice()
130 voice.m_Priority = static_cast<u8>( priority ); in AllocVoice()
131 AppendVoiceList( &voice ); in AllocVoice()
133 return &voice; in AllocVoice()
136 void VoiceManager::FreeVoice( Voice* voice ) in FreeVoice() argument
138 NW_NULL_ASSERT( voice ); in FreeVoice()
140 RemoveVoiceList( voice ); in FreeVoice()
173 void VoiceManager::AppendVoiceList( Voice* voice ) in AppendVoiceList() argument
175 m_FreeVoiceList.Erase( voice ); in AppendVoiceList()
182 if ( itr->m_Priority <= voice->m_Priority ) in AppendVoiceList()
189 m_PrioVoiceList.Insert( itr.GetBase(), voice ); in AppendVoiceList()
191 void VoiceManager::RemoveVoiceList( Voice* voice ) in RemoveVoiceList() argument
193 m_PrioVoiceList.Erase( voice ); in RemoveVoiceList()
194 m_FreeVoiceList.PushBack( voice ); in RemoveVoiceList()
197 void VoiceManager::ChangeVoicePriority( Voice* voice ) in ChangeVoicePriority() argument
199 RemoveVoiceList( voice ); in ChangeVoicePriority()
200 AppendVoiceList( voice ); in ChangeVoicePriority()
202 m_PrioVoiceList.GetIteratorFromPointer( voice ), in ChangeVoicePriority()