A pool of sound sources, which can be fetched based on availability.
More...
#import <ALSoundSourcePool.h>
|
NSMutableArray * | sources |
| All sources managed by this pool (id<ALSoundSource>). More...
|
|
|
NSArray * | sources |
| All sources managed by this pool (id<ALSoundSource>). More...
|
|
A pool of sound sources, which can be fetched based on availability.
Add a source to this pool.
- Parameters
-
Acquire a free or freeable source from this pool.
It first attempts to find a completely free source. Failing this, it will attempt to interrupt a source and return that (if attemptToInterrupt is TRUE).
- Parameters
-
attemptToInterrupt | If TRUE, attempt to interrupt sources to free them for use. |
- Returns
- The freed sound source, or nil if no sources are freeable.
Make a new pool.
- Returns
- A new pool.
Remove a source from this pool.
- Parameters
-
source | The source to remove. |
- (NSMutableArray*) sources |
|
protected |
All sources managed by this pool (id<ALSoundSource>).
All sources managed by this pool (id<ALSoundSource>).
The documentation for this class was generated from the following files: