AudioPool
Represents a pool of audio tracks that can be managed together.
Parameters
The list of AudioWrapper instances in the pool.
Functions
Changes the balance of all audio tracks in the pool by the specified amount.
Changes the master volume of all audio tracks in the pool by the specified amount.
Gets the audio track with the specified ID.
Gets the balance of the first audio track in the pool.
Gets the balance range (min and max) of the first audio track in the pool.
Gets the master volume of the first audio track in the pool.
Gets the master volume range (min and max) of the first audio track in the pool.
Retrieves the IDs of all currently playing audio tracks in the pool.
Checks if all audio tracks in the pool are muted.
Checks if all audio tracks in the pool are stopped.
Merges this AudioPool with another AudioPool. New audio tracks from the other pool are added to this pool. Duplicate audio tracks (by ID) from the new pool are not added. Tracks from this pool take precedence in case of ID conflicts. Old tracks that do not exist in the other pool are destroyed and removed from this pool.
Resets the balance of all audio tracks in the pool to the default value.
Resets the master volume of all audio tracks in the pool to the default value.
Sets the balance of all audio tracks in the pool to the specified value.
Sets the master volume of all audio tracks in the pool to the specified value.
Executes a function while any audio track in the pool is still playing.
Executes a function while the audio track with the specified ID is still playing.
Executes a suspend function while any audio track in the pool is still playing.
Executes a suspend function while the audio track with the specified ID is still playing.