hostile-takeover/game/sounddevice.h
2014-07-06 17:47:28 -07:00

26 lines
585 B
C++

#ifndef __SOUNDDEVICE_H__
#define __SOUNDDEVICE_H__
#include "basictypes.h"
namespace wi {
class SoundDevice // sndd
{
public:
virtual ~SoundDevice() = 0;
virtual void Enable(bool fEnable) = 0;
virtual bool IsEnabled() = 0;
virtual void PlayAdpcm(int ichnl, byte *pb, word cb) = 0;
virtual int GetChannelCount() = 0;
virtual bool IsChannelFree(int ichnl) = 0;
virtual void ServiceProc() = 0;
virtual bool IsSilent() = 0;
virtual void SetVolume(int nVolume) = 0;
virtual int GetVolume() = 0;
};
} // namespace wi
#endif // __SOUNDDEVICE_H__