mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
audio/internal/readerdriver: Handle errors correctly (Windows)
This commit is contained in:
parent
6c3c3533fb
commit
c3b8fa1c45
@ -159,7 +159,9 @@ func (p *players) add(player *playerImpl) error {
|
||||
p.headers = append(p.headers, h)
|
||||
}
|
||||
|
||||
p.readAndWriteBuffersImpl()
|
||||
if err := p.readAndWriteBuffersImpl(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
go p.loop()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user