audio: Bug fix: Audio didn't work correctly after recovering from sleeping on macOS

Fixes #1259
This commit is contained in:
Hajime Hoshi 2020-07-24 22:08:36 +09:00
parent 0463160b15
commit ca3c74d88d
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -8,7 +8,7 @@ require (
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
github.com/hajimehoshi/bitmapfont v1.2.0
github.com/hajimehoshi/go-mp3 v0.3.0
github.com/hajimehoshi/oto v0.6.2-0.20200724100006-0e3743993105
github.com/hajimehoshi/oto v0.6.2-0.20200724130701-9b83e01c6eea
github.com/jakecoffman/cp v1.0.0
github.com/jfreymuth/oggvorbis v1.0.1
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect

4
go.sum
View File

@ -11,8 +11,8 @@ github.com/hajimehoshi/go-mp3 v0.3.0 h1:fTM5DXjp/DL2G74HHAs/aBGiS9Tg7wnp+jkU38bH
github.com/hajimehoshi/go-mp3 v0.3.0/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 v0.6.2-0.20200724100006-0e3743993105 h1:T5lfEBiCGuNHMcH+VRVHmIURNXxIJaFmkJeF6/dYN/g=
github.com/hajimehoshi/oto v0.6.2-0.20200724100006-0e3743993105/go.mod h1:0QXGEkbuJRohbJaxr7ZQSxnju7hEhseiPx2hrh6raOI=
github.com/hajimehoshi/oto v0.6.2-0.20200724130701-9b83e01c6eea h1:ZeFDkDoVRUMgrDMsouye0YgXrqF/D+goseUELzeshe8=
github.com/hajimehoshi/oto v0.6.2-0.20200724130701-9b83e01c6eea/go.mod h1:0QXGEkbuJRohbJaxr7ZQSxnju7hEhseiPx2hrh6raOI=
github.com/jakecoffman/cp v1.0.0 h1:4qi6RDQxnEgH2aonA5Wa67VYy9onrlzsIg0Uk7tlf0o=
github.com/jakecoffman/cp v1.0.0/go.mod h1:JjY/Fp6d8E1CHnu74gWNnU0+b9VzEdUVPoJxg2PsTQg=
github.com/jfreymuth/oggvorbis v1.0.1 h1:NT0eXBgE2WHzu6RT/6zcb2H10Kxj6Fm3PccT0LE6bqw=