update Oto to fix the macOS audio delay issue

This change doesn't improve the delay itself, but at least suppresses
the hang of an application by the audio initialization on macOS.

Closes #2384
This commit is contained in:
Hajime Hoshi 2022-11-09 23:56:01 +09:00
parent 097adcf8b6
commit 7c85d88f9e
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.2
github.com/hajimehoshi/go-mp3 v0.3.4
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.5.0.20221107043201-4a2a901e963f
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.5.0.20221109145402-f3d3454bd95b
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

@ -8,8 +8,8 @@ github.com/hajimehoshi/bitmapfont/v2 v2.2.2/go.mod h1:Ua/x9Dkz7M9CU4zr1VHWOqGwjK
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.5.0.20221107043201-4a2a901e963f h1:wS0PfZBDXBBcOpjcaDMstCUNTt8d7pLcoYS4jZ1refs=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.5.0.20221107043201-4a2a901e963f/go.mod h1:QacvybQFz50jwd6fNwXNEJGznWNKc+ZdnNSoqeFEYfg=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.5.0.20221109145402-f3d3454bd95b h1:RIgh2JXaxo/4olWza221J3byG1eUonAQ/NiroMqZnFU=
github.com/hajimehoshi/oto/v2 v2.4.0-alpha.5.0.20221109145402-f3d3454bd95b/go.mod h1:QacvybQFz50jwd6fNwXNEJGznWNKc+ZdnNSoqeFEYfg=
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=