audio: Bug fix: Test compilation error

This commit is contained in:
Hajime Hoshi 2019-01-09 23:39:12 +09:00
parent 14404334e7
commit 28c96d256a

View File

@ -16,8 +16,8 @@ package audio
func PlayersNumForTesting() int { func PlayersNumForTesting() int {
c := CurrentContext() c := CurrentContext()
c.players.Lock() c.mux.m.Lock()
n := len(c.players.players) n := len(c.mux.ps)
c.players.Unlock() c.mux.m.Unlock()
return n return n
} }