1 #ifndef __MDFN_GB_SOUND_H 2 #define __MDFN_GB_SOUND_H 3 4 namespace MDFN_IEN_GB 5 { 6 7 uint32 SOUND_Read(int ts, uint32_t addr); 8 void SOUND_Write(int ts, uint32 addr, uint8 val); 9 10 int32 SOUND_Flush(int ts, int16 *SoundBuf, const int32 MaxSoundFrames); 11 void SOUND_Init(void) MDFN_COLD; 12 void SOUND_Kill(void) MDFN_COLD; 13 void SOUND_Reset(void) MDFN_COLD; 14 void SOUND_StateAction(StateMem *sm, int load, int data_only); 15 16 bool MDFNGB_SetSoundRate(uint32 rate); 17 18 } 19 20 #endif 21 22