mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
audio: bug fix: compile error on tests
This commit is contained in:
parent
eaaa601261
commit
336ed49bdc
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user