audio: Fix usage of 'oto'

This commit is contained in:
Hajime Hoshi 2017-05-05 15:13:46 +09:00
parent 766072cdbb
commit 64862929a9

View File

@ -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()
} }