#pragma once #include namespace dvl { class SoundSample final { public: void Release(); bool IsPlaying(); void Play(int lVolume, int lPan, int channel = -1); void Stop(); int SetChunkStream(HANDLE stormHandle); int SetChunk(BYTE *fileData, DWORD dwBytes); int GetLength(); private: Mix_Chunk *chunk; }; } // namespace dvl