audio: Use bigger buffer to reduce noise (#149)

This commit is contained in:
Hajime Hoshi 2016-02-10 01:04:43 +09:00
parent 14d28ea122
commit e8895d8f35

View File

@ -98,7 +98,7 @@ func initialize() {
} }
go func() { go func() {
for { for {
const bufferSize = 1024 const bufferSize = 2048
c := context.Get("currentTime").Float() c := context.Get("currentTime").Float()
for _, a := range audioProcessors { for _, a := range audioProcessors {
if a.position < c { if a.position < c {