CDLongAudioSource represents an audio source that has a long duration which makes it costly to load into memory for playback as an effect using CDSoundEngine.
More...
#import <CDAudioManager.h>
CDLongAudioSource represents an audio source that has a long duration which makes it costly to load into memory for playback as an effect using CDSoundEngine.
Examples include background music and narration tracks. The audio file may or may not be compressed. Bear in mind that current iDevices can only use hardware to decode a single compressed audio file at a time and playing multiple compressed files will result in a performance drop as software decompression will take place.
- Since
- v0.99
Returns whether or not the audio source is playing.
Returns whether or not the audio source is playing.
Returns whether or not the audio source is playing.
Returns whether or not the audio source is playing.
Returns whether or not the audio source is playing.
Returns whether or not the audio source is playing.
- (void) load: |
|
(NSString *) |
filePath |
|
Loads the file into the audio source.
- (void) load: |
|
var |
filePath |
|
Loads the file into the audio source.
- (void) load: |
|
local |
filePath |
|
Loads the file into the audio source.
- (void) load: |
|
(NSString *) |
filePath |
|
Loads the file into the audio source.
- (void) load: |
|
var |
filePath |
|
Loads the file into the audio source.
- (void) load: |
|
local |
filePath |
|
Loads the file into the audio source.
Resumes playing the audio source if it was paused.
Resumes playing the audio source if it was paused.
Resumes playing the audio source if it was paused.
Resumes playing the audio source if it was paused.
Resumes playing the audio source if it was paused.
Resumes playing the audio source if it was paused.
Rewinds the audio source.
Rewinds the audio source.
Rewinds the audio source.
Rewinds the audio source.
Rewinds the audio source.
Rewinds the audio source.
Stops playing the audio soruce.
Stops playing the audio soruce.
Stops playing the audio soruce.
Stops playing the audio soruce.
Stops playing the audio soruce.
Stops playing the audio soruce.
- (NSTimeInterval)
systemPauseLocation |
local systemPauseLocation |
- (NSString *) audioSourceFilePath |
|
readatomicassign |
local audioSourceFilePath |
|
readatomicassign |
- (AVAudioPlayer
*) audioSourcePlayer |
|
readatomicassign |
- (NSInteger) numberOfLoops |
|
readwritenonatomicassign |
The documentation for this class was generated from the following file: