Sound buffer size now configurable.
This commit is contained in:
parent
5788188ce9
commit
6e51e8975e
22 changed files with 92 additions and 26 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue