mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
audio/internal/readerdriver: Mark EOF at the first reading
This commit is contained in:
parent
46ed239632
commit
88d2663bc5
@ -134,6 +134,7 @@ func (p *player) playImpl() {
|
||||
}
|
||||
p.p.AppendBuffer(buf[:n])
|
||||
if err == io.EOF {
|
||||
p.eof = true
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user