~ImplData()
 {
     if (sourceVoice)
     {
         sourceVoice->DestroyVoice();
         sourceVoice = nullptr;
     }
 }
Example #2
0
SoundManager::~SoundManager(void)
{
	DestroyAllSounds();
	DestroyMusic();
	DestroyMixer();
	DestroyVoice();
	al_uninstall_audio();
}