Classes | |
struct | Status |
Public Types | |
enum | StatusFlag : uint8 { kStatusPlaying = 1 << 0, kStatusOverflow = 1 << 1, kStatusStartup = 1 << 2, kStatusDone = 1 << 3, kStatusDisabled = 1 << 7 } |
Public Member Functions | |
MacSoundDriver (Common::Mutex &mutex, uint32 deviceRate, int activeChannels, bool canInterpolate, bool internal16Bit) | |
virtual void | feed (int8 *dst, uint32 byteSize, Audio::Mixer::SoundType type, bool expectStereo)=0 |
const Status & | getStatus (Audio::Mixer::SoundType sndType=Audio::Mixer::kPlainSoundType) const |
void | clearFlags (uint8 flags, Audio::Mixer::SoundType sndType=Audio::Mixer::kPlainSoundType) |
void | setFlags (uint8 flags, Audio::Mixer::SoundType sndType=Audio::Mixer::kPlainSoundType) |
Protected Attributes | |
Common::Mutex & | _mutex |
const int | _smpSize |
const int16 | _smpMin |
const int16 | _smpMax |
Status | _status [4] |