mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48: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
|
return err
|
||||||
}
|
}
|
||||||
c++
|
c++
|
||||||
if c%4 == 0 {
|
if c%2 == 0 {
|
||||||
runtime.Gosched()
|
runtime.Gosched()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user