Sound buffer size now configurable.

This commit is contained in:
SarahW 2017-06-10 21:00:23 +01:00
commit 6e51e8975e
22 changed files with 92 additions and 26 deletions

View file

@ -1,3 +1,5 @@
#include "sound.h"
enum
{
SN76496,
@ -23,7 +25,7 @@ typedef struct sn76489_t
int type;
int extra_divide;
int16_t buffer[SOUNDBUFLEN];
int16_t buffer[MAXSOUNDBUFLEN];
int pos;
double psgconst;