Lines Matching refs:voice

79         Voice& voice = m_FreeVoiceList.GetFront();  in Finalize()  local
81 voice.~Voice(); // デストラクタ呼び出し in Finalize()
92 Voice& voice = m_PrioVoiceList.GetFront(); in StopAllVoices() local
93 voice.Stop(); in StopAllVoices()
94 if ( voice.m_Callback != NULL ) in StopAllVoices()
96 voice.m_Callback( in StopAllVoices()
97 &voice, in StopAllVoices()
99 voice.m_pCallbackData in StopAllVoices()
102 voice.Free(); in StopAllVoices()
120 Voice& voice = m_FreeVoiceList.GetFront(); in AllocVoice() local
122 if ( ! voice.Alloc( voiceChannelCount, priority, callback, callbackData ) ) in AllocVoice()
128 voice.m_Priority = static_cast<u8>( priority ); in AllocVoice()
129 AppendVoiceList( &voice ); in AllocVoice()
131 return &voice; in AllocVoice()
134 void VoiceManager::FreeVoice( Voice* voice ) in FreeVoice() argument
136 NW_NULL_ASSERT( voice ); in FreeVoice()
138 RemoveVoiceList( voice ); in FreeVoice()
171 void VoiceManager::AppendVoiceList( Voice* voice ) in AppendVoiceList() argument
173 m_FreeVoiceList.Erase( voice ); in AppendVoiceList()
180 if ( itr->m_Priority <= voice->m_Priority ) in AppendVoiceList()
187 m_PrioVoiceList.Insert( itr.GetBase(), voice ); in AppendVoiceList()
189 void VoiceManager::RemoveVoiceList( Voice* voice ) in RemoveVoiceList() argument
191 m_PrioVoiceList.Erase( voice ); in RemoveVoiceList()
192 m_FreeVoiceList.PushBack( voice ); in RemoveVoiceList()
195 void VoiceManager::ChangeVoicePriority( Voice* voice ) in ChangeVoicePriority() argument
197 RemoveVoiceList( voice ); in ChangeVoicePriority()
198 AppendVoiceList( voice ); in ChangeVoicePriority()
200 m_PrioVoiceList.GetIteratorFromPointer( voice ), in ChangeVoicePriority()