mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
audio/internal/go2cpp: Add signaling at Pause
This commit is contained in:
parent
c009070840
commit
a7dd00596a
@ -85,6 +85,7 @@ func (p *Player) Pause() {
|
|||||||
}
|
}
|
||||||
p.v.Call("pause")
|
p.v.Call("pause")
|
||||||
p.state = playerStatePaused
|
p.state = playerStatePaused
|
||||||
|
p.cond.Signal()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *Player) Play() {
|
func (p *Player) Play() {
|
||||||
|
Loading…
Reference in New Issue
Block a user