2024-08-08 13:12:37 -07:00
|
|
|
#ifndef YMGLUE_H
|
|
|
|
#define YMGLUE_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
uint8_t YM_read_status(void);
|
|
|
|
void YM_Create(int clock);
|
|
|
|
void YM_init(int sample_rate, int frame_rate);
|
2024-10-14 21:27:16 -07:00
|
|
|
void YM_stream_update(int16_t* output, uint32_t numsamples);
|
2024-08-08 13:12:37 -07:00
|
|
|
void YM_write_reg(uint8_t reg, uint8_t val);
|
|
|
|
bool YM_irq(void);
|
2024-10-15 10:05:18 -07:00
|
|
|
void YM_reset();
|
2024-08-08 13:12:37 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|