#ifndef VOTRAX_H
#define VOTRAX_H

#define MAX_VOTRAXSC01 1

typedef void (*VOTRAXSC01_BUSYCALLBACK)(int);

struct VOTRAXSC01interface
{
        int num;												/* total number of chips */
        int mixing_level[MAX_VOTRAXSC01];						/* master volume */
		int baseFrequency[MAX_VOTRAXSC01];						/* base frequency */
		VOTRAXSC01_BUSYCALLBACK BusyCallback[MAX_VOTRAXSC01];	/* callback function when busy signal changes */
};

int VOTRAXSC01_sh_start(const struct MachineSound *msound);
void VOTRAXSC01_sh_stop(void);

WRITE_HANDLER(votraxsc01_w);
READ_HANDLER(votraxsc01_status_r);

void votraxsc01_set_base_freqency(int baseFrequency);

#endif
