ObjectAL
 All Classes Functions Variables Properties Pages
Instance Methods | Protected Attributes | Properties | List of all members
OALAudioTracks Class Reference

Keeps track of all AudioTrack objects. More...

#import <OALAudioTracks.h>

Inheritance diagram for OALAudioTracks:
<OALSuspendManager> <OALSuspendListener>

Instance Methods

(void) - stopAllTracks
 Stop playback on all audio tracks. More...
 
() - SYNTHESIZE_SINGLETON_FOR_CLASS_HEADER
 Singleton implementation providing "sharedInstance" and "purgeSharedInstance" methods. More...
 
- Instance Methods inherited from <OALSuspendManager>
(void) - addSuspendListener:
 Add a listener that will receive manual suspend and interrupt events. More...
 
(void) - removeSuspendListener:
 Remove a registered listener. More...
 

Protected Attributes

NSMutableArray * tracks
 All instantiated audio tracks. More...
 
NSTimer * deviceTimePoller
 Timer to poll deviceCurrentTime so that it doesn't get reset on a device. More...
 
OALSuspendHandlersuspendHandler
 Handles suspending and interrupting for this object. More...
 

Properties

bool paused
 Pauses/unpauses all audio tracks. More...
 
bool muted
 Mutes/unmutes all audio tracks. More...
 
NSArray * tracks
 All instantiated audio tracks. More...
 
- Properties inherited from <OALSuspendManager>
bool suspended
 If YES, this object is suspended. More...
 
- Properties inherited from <OALSuspendListener>
bool manuallySuspended
 Set to YES to manually suspend. More...
 
bool interrupted
 If YES, this object is interrupted. More...
 

Detailed Description

Keeps track of all AudioTrack objects.

Method Documentation

- (void) stopAllTracks

Stop playback on all audio tracks.

- OALAudioTracks: (OALAudioTracks

Singleton implementation providing "sharedInstance" and "purgeSharedInstance" methods.

- (OALAudioTracks*) sharedInstance: Get the shared singleton instance.
- (void) purgeSharedInstance: Purge (deallocate) the shared instance.

Member Data Documentation

- (NSTimer*) deviceTimePoller
protected

Timer to poll deviceCurrentTime so that it doesn't get reset on a device.

- (OALSuspendHandler*) suspendHandler
protected

Handles suspending and interrupting for this object.

- (NSMutableArray*) tracks
protected

All instantiated audio tracks.

Property Documentation

- (bool) muted
readwritenonatomicassign

Mutes/unmutes all audio tracks.

- (bool) paused
readwritenonatomicassign

Pauses/unpauses all audio tracks.

- (NSArray*) tracks
readnonatomicretain

All instantiated audio tracks.


The documentation for this class was generated from the following files: