mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
audio: Use bigger buffer to reduce noise (#149)
This commit is contained in:
parent
14d28ea122
commit
e8895d8f35
@ -98,7 +98,7 @@ func initialize() {
|
||||
}
|
||||
go func() {
|
||||
for {
|
||||
const bufferSize = 1024
|
||||
const bufferSize = 2048
|
||||
c := context.Get("currentTime").Float()
|
||||
for _, a := range audioProcessors {
|
||||
if a.position < c {
|
||||
|
Loading…
Reference in New Issue
Block a user