瀏覽代碼

Increase buffer size to 32kB

danaugrs 8 年之前
父節點
當前提交
94825a643e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      audio/player.go

+ 1 - 1
audio/player.go

@@ -19,7 +19,7 @@ import (
 
 const (
 	playerBufferCount = 2
-	playerBufferSize  = 16 * 1024
+	playerBufferSize  = 32 * 1024
 )
 
 // Player is a 3D (spatial) audio file player