update Oto

Initializing an audio context might take long and reduce TPS/FPS
on Linux. With the latest Oto, the initialization happens in
parallel thanks to the 'ready' channel.
This commit is contained in:
Hajime Hoshi 2022-08-21 00:58:11 +09:00
parent 833473316f
commit b4589254f8
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -8,7 +8,7 @@ require (
github.com/hajimehoshi/bitmapfont/v2 v2.2.1
github.com/hajimehoshi/file2byteslice v0.0.0-20210813153925-5340248a8f41
github.com/hajimehoshi/go-mp3 v0.3.3
github.com/hajimehoshi/oto/v2 v2.3.0-alpha.7
github.com/hajimehoshi/oto/v2 v2.3.0-alpha.7.0.20220820155703-a9b6b016b87d
github.com/jakecoffman/cp v1.2.1
github.com/jezek/xgb v1.0.1
github.com/jfreymuth/oggvorbis v1.0.4

4
go.sum
View File

@ -12,8 +12,8 @@ github.com/hajimehoshi/go-mp3 v0.3.3 h1:cWnfRdpye2m9ElSoVqneYRcpt/l3ijttgjMeQh+r
github.com/hajimehoshi/go-mp3 v0.3.3/go.mod h1:qMJj/CSDxx6CGHiZeCgbiq2DSUkbK0UbtXShQcnfyMM=
github.com/hajimehoshi/oto v0.6.1 h1:7cJz/zRQV4aJvMSSRqzN2TImoVVMpE0BCY4nrNJaDOM=
github.com/hajimehoshi/oto v0.6.1/go.mod h1:0QXGEkbuJRohbJaxr7ZQSxnju7hEhseiPx2hrh6raOI=
github.com/hajimehoshi/oto/v2 v2.3.0-alpha.7 h1:mpHgxVsXytMUR45kv2cqrRs2e2ZQMe0WKANas/MyTiU=
github.com/hajimehoshi/oto/v2 v2.3.0-alpha.7/go.mod h1:ZH5KyijkM53TgspdS9sArUe7vv9EP7x4aNYJAmfGhvE=
github.com/hajimehoshi/oto/v2 v2.3.0-alpha.7.0.20220820155703-a9b6b016b87d h1:kH1W2qOxVDSjAEwyKGiB7ItnenE5Yg4iyjHa4MvuFi0=
github.com/hajimehoshi/oto/v2 v2.3.0-alpha.7.0.20220820155703-a9b6b016b87d/go.mod h1:ZH5KyijkM53TgspdS9sArUe7vv9EP7x4aNYJAmfGhvE=
github.com/jakecoffman/cp v1.2.1 h1:zkhc2Gpo9l4NLUZfeG3j33+3bQD7MkqPa+n5PdX+5mI=
github.com/jakecoffman/cp v1.2.1/go.mod h1:JjY/Fp6d8E1CHnu74gWNnU0+b9VzEdUVPoJxg2PsTQg=
github.com/jezek/xgb v1.0.1 h1:YUGhxps0aR7J2Xplbs23OHnV1mWaxFVcOl9b+1RQkt8=