audio: bug fix: compile error on tests

This commit is contained in:
Hajime Hoshi 2021-12-17 16:04:39 +09:00
parent eaaa601261
commit 336ed49bdc

View File

@ -18,8 +18,6 @@ import (
"io" "io"
"io/ioutil" "io/ioutil"
"sync" "sync"
"github.com/hajimehoshi/oto/v2"
) )
type ( 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{ return &dummyPlayer{
r: r, r: r,
volume: 1, volume: 1,