update Oto (bug fix: crash when no audio device is found on Windows)

Closes #2316
This commit is contained in:
Hajime Hoshi 2022-09-10 23:27:24 +09:00
parent e730ab995a
commit 5bf0a5ec1c
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -7,7 +7,7 @@ require (
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220806181222-55e207c401ad
github.com/hajimehoshi/bitmapfont/v2 v2.2.1
github.com/hajimehoshi/go-mp3 v0.3.3
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.2.0.20220910132132-9393bd4123a2
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.2.0.20220910142533-0dc2acfdef16
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

@ -10,8 +10,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.4.0-alpha.2.0.20220910132132-9393bd4123a2 h1:k49B64u3cokPq9jDJYysRDQLD2tXqa5lLFQBdLp6A40=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.2.0.20220910132132-9393bd4123a2/go.mod h1:OdGUICBjy7upAjvqqacbB63XIuYR3fqXZ7kYtlVYJgQ=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.2.0.20220910142533-0dc2acfdef16 h1:fuMsPIGzs+mZHvcd8nB+1Lel+rMWRAIbribaKOfJK00=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.2.0.20220910142533-0dc2acfdef16/go.mod h1:OdGUICBjy7upAjvqqacbB63XIuYR3fqXZ7kYtlVYJgQ=
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=