#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xemu/opl3.h"
Go to the source code of this file.
|
void | OPL3_Generate (opl3_chip *chip, int16_t *buf) |
|
void | OPL3_GenerateResampled (opl3_chip *chip, int16_t *buf1, int16_t *buf2) |
|
void | OPL3_Reset (opl3_chip *chip, uint32_t samplerate) |
|
void | OPL3_WriteReg (opl3_chip *chip, uint16_t reg, uint8_t v) |
|
void | OPL3_WriteRegBuffered (opl3_chip *chip, uint16_t reg, uint8_t v) |
|
void | OPL3_GenerateStream (opl3_chip *chip, int16_t *sndptr1, int16_t *sndptr2, uint32_t numsamples, const uint32_t increment1, const uint32_t increment2) |
|
◆ RSM_FRAC
◆ envelope_genfunc
typedef void(* envelope_genfunc) (opl3_slot *slott) |
◆ envelope_sinfunc
typedef int16_t(* envelope_sinfunc) (uint16_t phase, uint16_t envelope) |
◆ anonymous enum
Enumerator |
---|
ch_2op | |
ch_4op | |
ch_4op2 | |
ch_drum | |
Definition at line 42 of file opl3.c.
◆ anonymous enum
Enumerator |
---|
egk_norm | |
egk_drum | |
Definition at line 51 of file opl3.c.
◆ envelope_gen_num
Enumerator |
---|
envelope_gen_num_attack | |
envelope_gen_num_decay | |
envelope_gen_num_sustain | |
envelope_gen_num_release | |
Definition at line 345 of file opl3.c.
◆ OPL3_Generate()
void OPL3_Generate |
( |
opl3_chip * |
chip, |
|
|
int16_t * |
buf |
|
) |
| |
◆ OPL3_GenerateResampled()
void OPL3_GenerateResampled |
( |
opl3_chip * |
chip, |
|
|
int16_t * |
buf1, |
|
|
int16_t * |
buf2 |
|
) |
| |
◆ OPL3_GenerateStream()
void OPL3_GenerateStream |
( |
opl3_chip * |
chip, |
|
|
int16_t * |
sndptr1, |
|
|
int16_t * |
sndptr2, |
|
|
uint32_t |
numsamples, |
|
|
const uint32_t |
increment1, |
|
|
const uint32_t |
increment2 |
|
) |
| |
◆ OPL3_Reset()
void OPL3_Reset |
( |
opl3_chip * |
chip, |
|
|
uint32_t |
samplerate |
|
) |
| |
◆ OPL3_WriteReg()
void OPL3_WriteReg |
( |
opl3_chip * |
chip, |
|
|
uint16_t |
reg, |
|
|
uint8_t |
v |
|
) |
| |
◆ OPL3_WriteRegBuffered()
void OPL3_WriteRegBuffered |
( |
opl3_chip * |
chip, |
|
|
uint16_t |
reg, |
|
|
uint8_t |
v |
|
) |
| |