maxPlayers property

int maxPlayers
final

The maximum number of players to be kept in the pool.

If start is called after the pool is full there will still be new AudioPlayers created, but once they are stopped they will not be returned to the pool.

Implementation

final int maxPlayers;