1#include "sound.h"
2
3#include <engine/sound.h>
4
5CEditorSound::CEditorSound(CEditor *pEditor)
6{
7 Init(pEditor);
8}
9
10CEditorSound::~CEditorSound()
11{
12 Sound()->UnloadSample(SampleId: m_SoundId);
13 free(ptr: m_pData);
14 m_pData = nullptr;
15}
16