Sound buffer size now configurable.
This commit is contained in:
parent
5788188ce9
commit
6e51e8975e
22 changed files with 92 additions and 26 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#include "sound.h"
|
||||
|
||||
typedef struct opl_t
|
||||
{
|
||||
int chip_nr[2];
|
||||
|
|
@ -7,7 +9,7 @@ typedef struct opl_t
|
|||
|
||||
int16_t filtbuf[2];
|
||||
|
||||
int16_t buffer[SOUNDBUFLEN * 2];
|
||||
int16_t buffer[MAXSOUNDBUFLEN * 2];
|
||||
int pos;
|
||||
} opl_t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue