//---------------------------------------------------------------------------------- // //---------------------------------------------------------------------------------- void SoundPlayer::Pause( ::Effekseer::SoundHandle handle, ::Effekseer::SoundTag tag, bool pause ) { SoundVoice* voice = (SoundVoice*)handle; if (tag == voice->GetTag()) { voice->Pause(pause); } }
//---------------------------------------------------------------------------------- // //---------------------------------------------------------------------------------- void SoundVoiceContainer::PauseTag( ::Effekseer::SoundTag tag, bool pause ) { std::list<SoundVoice*>::iterator it; for (it = m_voiceList.begin(); it != m_voiceList.end(); it++) { SoundVoice* voice = *it; if (tag == voice->GetTag()) { voice->Pause(pause); } } }