From 336ed49bdcf9de8e766a064fa67eb154bc4458af Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 17 Dec 2021 16:04:39 +0900 Subject: [PATCH] audio: bug fix: compile error on tests --- audio/export_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/audio/export_test.go b/audio/export_test.go index 1acc3e6a7..3f4a9411b 100644 --- a/audio/export_test.go +++ b/audio/export_test.go @@ -18,8 +18,6 @@ import ( "io" "io/ioutil" "sync" - - "github.com/hajimehoshi/oto/v2" ) type ( @@ -32,7 +30,7 @@ type ( } ) -func (c *dummyContext) NewPlayer(r io.Reader) oto.Player { +func (c *dummyContext) NewPlayer(r io.Reader) player { return &dummyPlayer{ r: r, volume: 1,