]> Shamusworld >> Repos - apple2/blob - src/ay8910.h
aa0925b45cb8700e4845c9be93072059ee59e2ae
[apple2] / src / ay8910.h
1 #ifndef AY8910_H
2 #define AY8910_H
3
4 #include "types.h"
5
6 #define MAX_8910 4
7
8 void _AYWriteReg(int n, int r, int v);
9 void AY8910_reset(int chip);
10 void AY8910Update(int chip, int16 ** buffer, int length);
11
12 void AY8910_InitAll(int nClock, int nSampleRate);
13 void AY8910_InitClock(int nClock);
14 uint8 * AY8910_GetRegsPtr(uint16 nAyNum);
15
16 #endif