root/libcore/parser/sound_definition.cpp

/* [<][>][^][v][top][bottom][index][help] */
// sound.cpp    -- Thatcher Ulrich <tu@tulrich.com> 2003

// This source code has been donated to the Public Domain.  Do
// whatever you want with it.

// Code to handle SWF sound-related tags.


#include "sound_definition.h"
#include "sound_handler.h" // for use
#include "VM.h"
#include "RunResources.h"

namespace gnash {


sound_sample::~sound_sample()
{
    sound::sound_handler* s = _runResources.soundHandler();
        
        if (s)
        {
                s->delete_sound(m_sound_handler_id);
        }
}

} // namespace gnash


// Local Variables:
// mode: C++
// c-basic-offset: 8 
// tab-width: 8
// indent-tabs-mode: t
// End:

/* [<][>][^][v][top][bottom][index][help] */