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

@ -16,6 +16,9 @@ ALuint buffers_cd[4]; // front and back buffers
static ALuint source[2]; // audio source
#endif
#define FREQ 48000
int SOUNDBUFLEN = 48000/20;
#define BUFLEN SOUNDBUFLEN
void closeal();