mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-26 10:49:17 +00:00
24 lines
529 B
C
Executable File
24 lines
529 B
C
Executable File
#ifndef VOTRAX_H_
|
|
#define VOTRAX_H_
|
|
|
|
#include "util.h"
|
|
|
|
typedef void (*Votrax_BusyCallBack)(int);
|
|
|
|
struct Votrax_interface
|
|
{
|
|
int num; /* total number of chips */
|
|
Votrax_BusyCallBack BusyCallback; /* callback function when busy signal changes */
|
|
};
|
|
|
|
int Votrax_Start(void *sound_interface);
|
|
void Votrax_Stop(void);
|
|
|
|
void Votrax_PutByte(UBYTE data);
|
|
UBYTE Votrax_GetStatus(void);
|
|
|
|
void Votrax_Update(int num, SWORD *buffer, int length);
|
|
int Votrax_Samples(int currentP, int nextP, int cursamples);
|
|
|
|
#endif /* VOTRAX_H_ */
|