From 64862929a94b2cf9f5afdff9db9b6863d280f49e Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 5 May 2017 15:13:46 +0900 Subject: [PATCH] audio: Fix usage of 'oto' --- audio/audio.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/audio/audio.go b/audio/audio.go index 0daa22b0c..c7aa06126 100644 --- a/audio/audio.go +++ b/audio/audio.go @@ -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() }