mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +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) {
|
||||
return c.driver.Close()
|
||||
}
|
||||
// TODO: Rename this to Enqueue
|
||||
err = c.driver.Proceed(buf)
|
||||
_, err = c.driver.Write(buf)
|
||||
if err == io.EOF {
|
||||
return c.driver.Close()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user