mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
audio: Bug fix: Test compilation error
This commit is contained in:
parent
14404334e7
commit
28c96d256a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user