changeset 1169:d88f0286681b

fix: not enough buffers for smooth audio output
author sam@sambook-windows.localdomain
date Wed, 26 Jun 2024 05:14:00 +0700
parents cdf7ec8d04d2
children 2addc5f6804f
files semicongine/audio.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/audio.nim	Tue Jun 25 20:24:38 2024 +0700
+++ b/semicongine/audio.nim	Wed Jun 26 05:14:00 2024 +0700
@@ -16,7 +16,7 @@
 
 export audiotypes
 
-const NBUFFERS = 4
+const NBUFFERS = 32
 const BUFFERSAMPLECOUNT = 256
 
 type