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