25 #include "common/scummsys.h" 31 class SegaAudioInterfaceInternal;
35 virtual void timerCallback60Hz() {}
36 virtual void timerCallbackA() {}
37 virtual void timerCallbackB() {}
48 void loadPCMData(uint16 address,
const uint8 *data, uint16 dataSize);
49 void playPCMChannel(uint8 channel, uint8 dataStart, uint16 loopStart, uint16 rate, uint8 pan, uint8 env);
50 void stopPCMChannel(uint8 channel);
52 void writeReg(uint8 part, uint8 regAddress, uint8 value);
53 uint8 readReg(uint8 part, uint8 regAddress);
55 void psgWrite(uint8 data);
57 void setMusicVolume(
int volume);
58 void setSoundEffectVolume(
int volume);
62 void setSoundEffectChanMask(
int mask);
69 MutexLock(SegaAudioInterfaceInternal *saii,
int reverse = 0);
70 SegaAudioInterfaceInternal *_saii;
78 SegaAudioInterfaceInternal *_internal;
Definition: sega_audio.h:32
Definition: sega_audio.h:40
Definition: sega_audio.h:64