#pragma once #include namespace dvl { typedef struct SoundSample final { public: void Release() ; bool IsPlaying() ; void Play(int lVolume, int lPan) ; void Stop() ; int SetChunk(BYTE *fileData, DWORD dwBytes) ; private: Mix_Chunk *chunk; } SoundSample; } // namespace dvl