| 1 | #ifndef __WSWAN_SOUND_H |
| 2 | #define __WSWAN_SOUND_H |
| 3 | |
| 4 | #include "../state.h" |
| 5 | |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
| 10 | void WSwan_SoundInit(void); |
| 11 | |
| 12 | void WSwan_SoundReset(void); |
| 13 | |
| 14 | bool WSwan_SetSoundRate(uint32 rate); |
| 15 | |
| 16 | int32 WSwan_SoundFlush(int16 **SoundBuf, int32 *SoundBufSize); |
| 17 | |
| 18 | void WSwan_SoundKill(void); |
| 19 | |
| 20 | int WSwan_SoundStateAction(StateMem *sm, int load, int data_only); |
| 21 | |
| 22 | void WSwan_SetSoundMultiplier(double multiplier); |
| 23 | |
| 24 | void WSwan_SoundWrite(uint32, uint8); |
| 25 | uint8 WSwan_SoundRead(uint32); |
| 26 | void WSwan_SoundCheckRAMWrite(uint32 A); |
| 27 | |
| 28 | #ifdef __cplusplus |
| 29 | } |
| 30 | #endif |
| 31 | |
| 32 | #endif |