void audio_buf_clear(void)
MSX Clear the internal FIFO of the libmsx audio replayer.
void audio_buf_init(void)
MSX Initialize the buffer for the libmsx audio replayer.
void audio_buf_stop(void)
MSX Stop (Pause) playing sound on PSG, SCC/SCC+, and OPLL.
void audio_buf_play(void)
MSX Process all requests in the internal FIFO of the libmsx audio replayer.
uint8_t audio_buf_get(uint8_t cmd)
MSX Return the latest value of the specified command.
void audio_buf_put(uint8_t priority, uint8_t cmd, uint8_t val)
MSX Put requests to the internal FIFO of the libmsx audio replayer.
uint8_t audio_buf_cache[256]
The latest value of each command.
void audio_buf_restore(void)
MSX Put a request into the internal FIFO to restore the cached value.
Stream interface for ROM / RAM / MegaROM.