|
Oolite 1.91.0.7712-251017-85ce217
|
#include <OOALSoundChannel.h>
Instance Methods | |
| (void) | - update |
| (void) | - setDelegate: |
| (OOSoundChannel *) | - next |
| (void) | - setNext: |
| (void) | - setPosition: |
| (void) | - setGain: |
| (BOOL) | - playSound:looped: |
| (void) | - stop |
| (OOSound *) | - sound |
| (id) | - init [implementation] |
| (void) | - dealloc [implementation] |
| (void) | - getNextSoundBuffer [implementation] |
| (void) | - hasStopped [implementation] |
| (BOOL) | - enqueueBuffer: [implementation] |
Protected Attributes | |
| OOSoundChannel * | _next |
| id | _delegate |
| OOSound * | _sound |
| ALuint | _buffer |
| ALuint | _lastBuffer |
| BOOL | _bigSound |
| ALuint | _source |
| BOOL | _playing |
| BOOL | _loop |
Definition at line 40 of file OOALSoundChannel.h.
|
implementation |
Definition at line 67 of file OOALSoundChannel.m.
References _source, dealloc, hasStopped, and OOAL.
Referenced by dealloc.
|
implementation |
Provided by category OOSoundChannel(Private).
Definition at line 224 of file OOALSoundChannel.m.
References OOAL, OOLog, and OOSound::soundBuffer.
Referenced by OOSoundChannel(Private)::getNextSoundBuffer.
|
implementation |
Provided by category OOSoundChannel(Private).
Definition at line 101 of file OOALSoundChannel.m.
References enqueueBuffer:, OOSoundChannel(Private)::getNextSoundBuffer, and OOAL.
Referenced by OOSoundChannel(Private)::getNextSoundBuffer, and update.
|
implementation |
Provided by category OOSoundChannel(Private).
Definition at line 193 of file OOALSoundChannel.m.
References OOSoundChannel(Private)::hasStopped, nil, and OOAL.
Referenced by dealloc, OOSoundChannel(Private)::hasStopped, stop, and update.
|
implementation |
Definition at line 44 of file OOALSoundChannel.m.
References _source, init, kOOLogSoundInitError, nil, OOAL, and OOLog.
Referenced by init.
| - (OOSoundChannel *) next |
Definition at line 137 of file OOALSoundChannel.m.
Referenced by next, OOSoundMixer::popChannel, and setNext:.
| - (BOOL) playSound: | (OOSound *) | sound | |
| looped: | (BOOL) | loop |
Definition at line 161 of file OOALSoundChannel.m.
References _bigSound, _loop, _sound, nil, OOSound::rewind, sound, and stop.
Referenced by OOSoundSource::channel:didFinishPlayingSound:, and OOSoundSource::play.
| - (void) setDelegate: | (id) | delegate |
Definition at line 131 of file OOALSoundChannel.m.
References _delegate.
Referenced by OOSoundSource::channel:didFinishPlayingSound:, OOSoundSource::play, and OOSoundSource::stop.
| - (void) setGain: | (float) | gain |
Definition at line 155 of file OOALSoundChannel.m.
Referenced by OOSoundSource::play, and OOSoundSource::setGain:.
| - (void) setNext: | (OOSoundChannel *) | next |
Definition at line 143 of file OOALSoundChannel.m.
Referenced by OOSoundMixer::popChannel, and OOSoundMixer::pushChannel:.
| - (void) setPosition: | (Vector) | vector |
Definition at line 149 of file OOALSoundChannel.m.
Referenced by OOSoundSource::play, and OOSoundSource::setPosition:.
| - (OOSound *) sound |
Definition at line 253 of file OOALSoundChannel.m.
Referenced by playSound:looped:, and sound.
| - (void) stop |
Definition at line 182 of file OOALSoundChannel.m.
References _sound, _source, hasStopped, nil, OOAL, and stop.
Referenced by playSound:looped:, stop, and OOSoundSource::stop.
| - (void) update |
Definition at line 74 of file OOALSoundChannel.m.
References _loop, _sound, _source, getNextSoundBuffer, hasStopped, nil, OOAL, OOLog, OOSound::rewind, and update.
Referenced by update, and OOSoundMixer::update.
|
protected |
Definition at line 47 of file OOALSoundChannel.h.
Referenced by playSound:looped:.
|
protected |
Definition at line 45 of file OOALSoundChannel.h.
|
protected |
Definition at line 43 of file OOALSoundChannel.h.
Referenced by setDelegate:.
|
protected |
Definition at line 46 of file OOALSoundChannel.h.
|
protected |
Definition at line 50 of file OOALSoundChannel.h.
Referenced by playSound:looped:, and update.
|
protected |
Definition at line 42 of file OOALSoundChannel.h.
|
protected |
Definition at line 49 of file OOALSoundChannel.h.
|
protected |
Definition at line 44 of file OOALSoundChannel.h.
Referenced by playSound:looped:, sound, stop, and update.
|
protected |
Definition at line 48 of file OOALSoundChannel.h.
Referenced by dealloc, init, setGain:, setPosition:, stop, and update.