audio/vorbis: Adjust Gosched timing (#297)

This commit is contained in:
Hajime Hoshi 2016-12-08 10:56:36 +09:00
parent 8ed07e0822
commit 52f57c4a6a

View File

@ -58,7 +58,7 @@ func (d *decoded) readUntil(posInBytes int) error {
return err
}
c++
if c%4 == 0 {
if c%2 == 0 {
runtime.Gosched()
}
}