#ifndef SFX_H #define SFX_H #include // Player for gbaudio's sound effects (https://segerend.nl/gbaudio/): a // register stream, GB Studio compatible. A 2-byte header {channel mask, // priority} precedes the stream; the masked channels are borrowed from // hUGEDriver while playing. Needs hUGEDriver (hUGE_mute_channel). void sfx_play(const uint8_t *data); // ignored while a higher-priority effect plays void sfx_stop(void); void sfx_update(void); // once per frame, after hUGE_dosound() #endif