1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-03-13 23:59:41 +01:00

Adjusted sound buffer size for nix platform (#286)

Fixes possible audio stutters https://github.com/XProger/OpenLara/issues/285
This commit is contained in:
Sergey Ukolov 2020-12-16 18:00:52 +03:00 committed by GitHub
parent cee1873093
commit 8a3126a7c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ int osGetTimeMS() {
// sound
#define SND_FRAME_SIZE 4
#define SND_DATA_SIZE (1024 * SND_FRAME_SIZE)
#define SND_DATA_SIZE (2352 * SND_FRAME_SIZE)
pa_simple *sndOut;
pthread_t sndThread;