mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
audio/vorbis: Adjust Gosched timing (#297)
This commit is contained in:
parent
8ed07e0822
commit
52f57c4a6a
@ -58,7 +58,7 @@ func (d *decoded) readUntil(posInBytes int) error {
|
||||
return err
|
||||
}
|
||||
c++
|
||||
if c%4 == 0 {
|
||||
if c%2 == 0 {
|
||||
runtime.Gosched()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user