update Oto (avoid crashing w/ a PS5 controller)

A game might crash when a PS5 controller is connected due to switching
audio device. The latest Oto fix at least avoids this crash.

This crash is confirmed only with a Steam game so far.

Updates #2535
This commit is contained in:
Hajime Hoshi 2023-01-12 03:57:12 +09:00
parent 1da6b06041
commit 4cc9d4d0db
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-20221017161538-93cebf72946b
github.com/hajimehoshi/bitmapfont/v2 v2.2.3
github.com/hajimehoshi/go-mp3 v0.3.4
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.10.0.20230109155712-cbfad74cfc97
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.10.0.20230111185501-2125b9e43154
github.com/jakecoffman/cp v1.2.1
github.com/jezek/xgb v1.1.0
github.com/jfreymuth/oggvorbis v1.0.4

4
go.sum
View File

@ -8,8 +8,8 @@ github.com/hajimehoshi/bitmapfont/v2 v2.2.3/go.mod h1:sWM8ejdkGSXaQGlZcegMRx4DyE
github.com/hajimehoshi/go-mp3 v0.3.4 h1:NUP7pBYH8OguP4diaTZ9wJbUbk3tC0KlfzsEpWmYj68=
github.com/hajimehoshi/go-mp3 v0.3.4/go.mod h1:fRtZraRFcWb0pu7ok0LqyFhCUrPeMsGRSVop0eemFmo=
github.com/hajimehoshi/oto/v2 v2.3.1/go.mod h1:seWLbgHH7AyUMYKfKYT9pg7PhUu9/SisyJvNTT+ASQo=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.10.0.20230109155712-cbfad74cfc97 h1:M+Ni5blOSSaCdzOu4GoEj7UNX+2JT0DsChUNNjWE1Dg=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.10.0.20230109155712-cbfad74cfc97/go.mod h1:wre+KgbOrKDXpgk6W/JC6KoFqZnVC/VtX5ZFRkJuxO4=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.10.0.20230111185501-2125b9e43154 h1:GYaET/wFLSmPx1c8C9nY/BnU5yexHlmjfbXqXmhLCBA=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.10.0.20230111185501-2125b9e43154/go.mod h1:wre+KgbOrKDXpgk6W/JC6KoFqZnVC/VtX5ZFRkJuxO4=
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.1.0 h1:wnpxJzP1+rkbGclEkmwpVFQWpuE2PUGNUzP8SbfFobk=