mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +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:
@@ -27,7 +27,7 @@ int osGetTimeMS() {
|
|||||||
|
|
||||||
// sound
|
// sound
|
||||||
#define SND_FRAME_SIZE 4
|
#define SND_FRAME_SIZE 4
|
||||||
#define SND_DATA_SIZE (1024 * SND_FRAME_SIZE)
|
#define SND_DATA_SIZE (2352 * SND_FRAME_SIZE)
|
||||||
|
|
||||||
pa_simple *sndOut;
|
pa_simple *sndOut;
|
||||||
pthread_t sndThread;
|
pthread_t sndThread;
|
||||||
|
Reference in New Issue
Block a user