You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
407 B
19 lines
407 B
#include "devilution.h" |
|
|
|
#include <SDL_mixer.h> |
|
|
|
namespace dvl { |
|
|
|
struct DirectSoundBuffer final : public IDirectSoundBuffer { |
|
public: |
|
void Release() override; |
|
void GetStatus(LPDWORD pdwStatus) override; |
|
void Play(int lVolume, int lPan) override; |
|
void Stop() override; |
|
const char *SetChunk(BYTE *fileData, DWORD dwBytes) override; |
|
|
|
private: |
|
Mix_Chunk *chunk; |
|
}; |
|
|
|
} // namespace dvl
|
|
|