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 {
c := CurrentContext()
c.players.Lock()
n := len(c.players.players)
c.players.Unlock()
c.mux.m.Lock()
n := len(c.mux.ps)
c.mux.m.Unlock()
return n
}