1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-12 08:04:09 +02: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

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;