#import <CocosDenshion.h>
Inherits CDAudioTransportProtocol-p, and CDAudioInterruptProtocol-p.
Public Member Functions | |
| (id) | - init:sourceIndex:soundEngine: |
Properties | |
| ALenum | lastError |
CDSoundSource is a wrapper around an OpenAL sound source. It allows you to manipulate properties such as pitch, gain, pan and looping while the sound is playing. CDSoundSource is based on the old CDSourceWrapper class but with much added functionality.
Definition at line 270 of file CocosDenshion.h.
| - (id) init: | (ALuint) | theSourceId | ||
| sourceIndex: | (int) | index | ||
| soundEngine: | (CDSoundEngine *) | engine | ||
Do not init yourself, get an instance from the sourceForSound factory method on CDSoundEngine
- (ALenum) lastError [read, assign] |
Stores the last error code that occurred. Check against AL_NO_ERROR
Definition at line 271 of file CocosDenshion.h.