|
Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
Go to the documentation of this file.
33 #ifndef XEMU_COMMON_OPL3_H_INCLUDED
34 #define XEMU_COMMON_OPL3_H_INCLUDED
38 #define OPL_WRITEBUF_SIZE 1024
39 #define OPL_WRITEBUF_DELAY 2
143 void OPL3_GenerateStream(
opl3_chip *chip, int16_t *sndptr1, int16_t *sndptr2, uint32_t numsamples,
const uint32_t increment1,
const uint32_t increment2 );
#define OPL_WRITEBUF_SIZE
void OPL3_WriteReg(opl3_chip *chip, uint16_t reg, uint8_t v)
void OPL3_Generate(opl3_chip *chip, int16_t *buf)
uint64_t writebuf_samplecnt
void OPL3_Reset(opl3_chip *chip, uint32_t samplerate)
void OPL3_WriteRegBuffered(opl3_chip *chip, uint16_t reg, uint8_t v)
void OPL3_GenerateResampled(opl3_chip *chip, int16_t *buf1, int16_t *buf2)
struct _opl3_writebuf opl3_writebuf
uint64_t writebuf_lasttime
void OPL3_GenerateStream(opl3_chip *chip, int16_t *sndptr1, int16_t *sndptr2, uint32_t numsamples, const uint32_t increment1, const uint32_t increment2)
opl3_writebuf writebuf[OPL_WRITEBUF_SIZE]