| 03a3459e Andy McCall |
1 |
#ifndef YMGLUE_H |
| 2 |
#define YMGLUE_H |
| 3 |
|
| 4 |
#ifdef __cplusplus |
| 5 |
extern "C" { |
| 6 |
#endif |
| 7 |
#include <stdint.h> |
| 8 |
|
| 9 |
uint8_t YM_read_status(void); |
| 10 |
void YM_Create(int clock); |
| 11 |
void YM_init(int sample_rate, int frame_rate); |
| 12 |
void YM_stream_update(uint16_t* output, uint32_t numsamples); |
| 13 |
void YM_write_reg(uint8_t reg, uint8_t val); |
| 14 |
bool YM_irq(void); |
| 15 |
|
| 16 |
#ifdef __cplusplus |
| 17 |
} |
| 18 |
#endif |
| 19 |
|
| 20 |
#endif |