mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
audio: Fix usage of 'oto'
This commit is contained in:
parent
766072cdbb
commit
64862929a9
@ -258,8 +258,7 @@ func (c *Context) Update() error {
|
|||||||
if n != len(buf) {
|
if n != len(buf) {
|
||||||
return c.driver.Close()
|
return c.driver.Close()
|
||||||
}
|
}
|
||||||
// TODO: Rename this to Enqueue
|
_, err = c.driver.Write(buf)
|
||||||
err = c.driver.Proceed(buf)
|
|
||||||
if err == io.EOF {
|
if err == io.EOF {
|
||||||
return c.driver.Close()
|
return c.driver.Close()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user