audio/internal/go2cpp: Add signaling at Pause

This commit is contained in:
Hajime Hoshi 2021-01-12 00:43:07 +09:00
parent c009070840
commit a7dd00596a

View File

@ -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() {