audio/internal/readerdriver: Mark EOF at the first reading

This commit is contained in:
Hajime Hoshi 2021-05-26 13:03:42 +09:00
parent 46ed239632
commit 88d2663bc5

View File

@ -134,6 +134,7 @@ func (p *player) playImpl() {
} }
p.p.AppendBuffer(buf[:n]) p.p.AppendBuffer(buf[:n])
if err == io.EOF { if err == io.EOF {
p.eof = true
break break
} }
} }