diff --git a/panda/src/audio/audioSound.cxx b/panda/src/audio/audioSound.cxx index c6bc6ce7b5..6f7e3584a6 100644 --- a/panda/src/audio/audioSound.cxx +++ b/panda/src/audio/audioSound.cxx @@ -20,3 +20,23 @@ #include "audioSound.h" TypeHandle AudioSound::_type_handle; + +//////////////////////////////////////////////////////////////////// +// Function: AudioSound::Destructor +// Access: Published, Virtual +// Description: +//////////////////////////////////////////////////////////////////// +AudioSound:: +~AudioSound() { +} + +//////////////////////////////////////////////////////////////////// +// Function: AudioSound::Constructor +// Access: Protected +// Description: +//////////////////////////////////////////////////////////////////// +AudioSound:: +AudioSound() { + // Intentionally blank. +} + diff --git a/panda/src/audio/audioSound.h b/panda/src/audio/audioSound.h index 1251ce72a9..9df680e0a2 100644 --- a/panda/src/audio/audioSound.h +++ b/panda/src/audio/audioSound.h @@ -29,7 +29,7 @@ class AudioManager; class EXPCL_PANDA AudioSound : public TypedReferenceCount { PUBLISHED: - virtual ~AudioSound() {} + virtual ~AudioSound(); // For best compatability, set the loop_count, // volume, and balance, prior to calling play(). You may @@ -99,13 +99,10 @@ PUBLISHED: virtual SoundStatus status() const = 0; protected: - AudioSound() { - // Intentionally blank. - } + AudioSound(); friend class AudioManager; - public: static TypeHandle get_class_type() { return _type_handle;