ebiten/audio
Hajime Hoshi 273093b237 audio: Skip the player in the state of starting, seeking or EOF
This is basically reland of
2fee7a6fe5.

Before this change, if a player's buffer was not enough for
reading, 0 value were used and this caused noises. The reading
size should be aligned with all the players.

However, there are some cases that the player should be skippped.
For example, just after a player just starts playing or seeking,
the buffer is empty. In this case, other players should not wait
for the player since decoding might take some time. Another case
is that the player reached EOF.

This change aligns the read buffer sizes but use zero values only
when the player just starts or seeks, or reaches EOF.
2018-06-09 22:00:11 +09:00
..
internal/convert audio: Deprecate Size() and add Length() (#466) 2018-01-09 01:25:38 +09:00
mp3 mp3: Set finalizer for the stream 2018-03-27 10:58:13 +09:00
vorbis audio/vorbis: Bug fix: fail to decode too short ogg 2018-04-07 22:13:12 +09:00
wav wav: Set finalizer for the stream 2018-03-27 12:10:57 +09:00
audio.go audio: Skip the player in the state of starting, seeking or EOF 2018-06-09 22:00:11 +09:00
buffersize_mobile.go audio: Use bigger buffers for mobiles 2018-06-09 18:14:18 +09:00
buffersize_notmobile.go audio: Use bigger buffers for mobiles 2018-06-09 18:14:18 +09:00
infiniteloop.go audio: Fix wrong comments 2017-10-01 18:07:18 +09:00