Skip to content

Commit cd1eb9a

Browse files
committed
ALSA: increase maximal buffer size
This mitigates persistent overruns in some scenarios. TODO: replace nonblocking behavior with a blocking one
1 parent da9cd07 commit cd1eb9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/playback/alsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#include "debug.h"
7272

7373
#define BUFFER_MIN 41
74-
#define BUFFER_MAX 100
74+
#define BUFFER_MAX 200
7575

7676
struct state_alsa_playback {
7777
snd_pcm_t *handle;

0 commit comments

Comments
 (0)