I hope this helps
This commit is contained in:
parent
8e1f80f211
commit
7934280ed6
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "audio_sound.h"
|
||||
#include "config_audio.h"
|
||||
#include "audio_manager.h"
|
||||
|
||||
TypeHandle AudioSound::_type_handle;
|
||||
|
||||
|
|
@ -17,6 +18,7 @@ TypeHandle AudioSound::_type_handle;
|
|||
AudioSound::~AudioSound(void) {
|
||||
if (audio_cat->is_debug())
|
||||
audio_cat->debug() << "AudioSound destructor" << endl;
|
||||
AudioManager::stop(this);
|
||||
(*_delstate)(_state);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue