AL ACTIVE SOUNDS This function returns the number of sounds currently playing and/or paused. Every audio device has a limit to the number of sounds it can play at any one time, so this is useful information to know when creating things like, for example, a large army of soldiers each emitting a variety of different sounds (e.g. marching, attacking, speech, etc). Remember that stopped sounds are not counted as active in DarkAL, so there is no problem with having more than the max number of supported sounds loaded ready for playing.
Syntax
    Return Integer = AL ACTIVE SOUNDS( *no parameters* )
Parameters
No parameters required.
Returns
Returns the current number of sounds playing and/or paused, as an integer value

See also

DarkAL Functions Menu