LMMS
Loading...
Searching...
No Matches
nukedopl.h File Reference
#include <inttypes.h>

Go to the source code of this file.

Classes

struct  _opl3_slot
struct  _opl3_channel
struct  _opl3_writebuf
struct  _opl3_chip

Macros

#define OPL_WRITEBUF_SIZE   1024
#define OPL_WRITEBUF_DELAY   2

Typedefs

typedef uintptr_t Bitu
typedef intptr_t Bits
typedef uint64_t Bit64u
typedef int64_t Bit64s
typedef uint32_t Bit32u
typedef int32_t Bit32s
typedef uint16_t Bit16u
typedef int16_t Bit16s
typedef uint8_t Bit8u
typedef int8_t Bit8s
typedef struct _opl3_slot opl3_slot
typedef struct _opl3_channel opl3_channel
typedef struct _opl3_writebuf opl3_writebuf

Functions

void OPL3_Generate (opl3_chip *chip, Bit16s *buf)
void OPL3_GenerateResampled (opl3_chip *chip, Bit16s *buf)
void OPL3_Reset (opl3_chip *chip, Bit32u samplerate)
void OPL3_WriteReg (opl3_chip *chip, Bit16u reg, Bit8u v)
void OPL3_WriteRegBuffered (opl3_chip *chip, Bit16u reg, Bit8u v)
void OPL3_GenerateStream (opl3_chip *chip, Bit16s *sndptr, Bit32u numsamples)

Macro Definition Documentation

◆ OPL_WRITEBUF_DELAY

#define OPL_WRITEBUF_DELAY   2

◆ OPL_WRITEBUF_SIZE

#define OPL_WRITEBUF_SIZE   1024

Typedef Documentation

◆ Bit16s

typedef int16_t Bit16s

◆ Bit16u

typedef uint16_t Bit16u

◆ Bit32s

typedef int32_t Bit32s

◆ Bit32u

typedef uint32_t Bit32u

◆ Bit64s

typedef int64_t Bit64s

◆ Bit64u

typedef uint64_t Bit64u

◆ Bit8s

typedef int8_t Bit8s

◆ Bit8u

typedef uint8_t Bit8u

◆ Bits

typedef intptr_t Bits

◆ Bitu

typedef uintptr_t Bitu

◆ opl3_channel

typedef struct _opl3_channel opl3_channel

◆ opl3_slot

typedef struct _opl3_slot opl3_slot

◆ opl3_writebuf

typedef struct _opl3_writebuf opl3_writebuf

Function Documentation

◆ OPL3_Generate()

void OPL3_Generate ( opl3_chip * chip,
Bit16s * buf )

◆ OPL3_GenerateResampled()

void OPL3_GenerateResampled ( opl3_chip * chip,
Bit16s * buf )

◆ OPL3_GenerateStream()

void OPL3_GenerateStream ( opl3_chip * chip,
Bit16s * sndptr,
Bit32u numsamples )

◆ OPL3_Reset()

void OPL3_Reset ( opl3_chip * chip,
Bit32u samplerate )

◆ OPL3_WriteReg()

void OPL3_WriteReg ( opl3_chip * chip,
Bit16u reg,
Bit8u v )

◆ OPL3_WriteRegBuffered()

void OPL3_WriteRegBuffered ( opl3_chip * chip,
Bit16u reg,
Bit8u v )