![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <OOALStreamedSound.h>
Instance Methods | |
(id) | - initWithDecoder: |
(void) | - dealloc [implementation] |
(NSString *) | - name [implementation] |
(void) | - rewind [implementation] |
(BOOL) | - soundIncomplete [implementation] |
(ALuint) | - soundBuffer [implementation] |
![]() | |
(id) | - initWithContentsOfFile: |
(id) | - init [implementation] |
(id) | - initWithCustomSoundKey: |
(jsval) | - oo_jsValueInContext: [implementation] |
(NSString *) | - oo_jsDescription [implementation] |
(NSString *) | - oo_jsClassName [implementation] |
Private Attributes | |
char * | _buffer |
size_t | _size |
double | _sampleRate |
NSString * | _name |
BOOL | _stereo |
OOALSoundDecoder * | decoder |
BOOL | _reachedEnd |
Additional Inherited Members | |
![]() | |
(BOOL) | + setUp |
(void) | + update |
(void) | + setMasterVolume: |
(float) | + masterVolume |
(BOOL) | + isSoundOK |
(id) | + soundWithCustomSoundKey: |
Definition at line 30 of file OOALStreamedSound.h.
|
implementation |
- (id) initWithDecoder: | (OOALSoundDecoder *) | inDecoder |
Reimplemented from OOSound.
Definition at line 50 of file OOALStreamedSound.m.
References _buffer, _name, _reachedEnd, _sampleRate, _stereo, decoder, OOSound::init, OOSound::isSoundOK, OOALSoundDecoder::isStereo, OOALSoundDecoder::name, nil, OOAL_STREAM_CHUNK_SIZE, rewind, OOALSoundDecoder::sampleRate, and OOSound::setUp.
|
implementation |
|
implementation |
Reimplemented from OOSound.
Definition at line 83 of file OOALStreamedSound.m.
References _reachedEnd, OOALSoundDecoder::reset, and rewind.
Referenced by initWithDecoder:, and rewind.
|
implementation |
Reimplemented from OOSound.
Definition at line 96 of file OOALStreamedSound.m.
References _buffer, _reachedEnd, _sampleRate, _stereo, kOOLogSoundLoadingError, OOAL, OOAL_STREAM_CHUNK_SIZE, OOLog, soundBuffer, and OOALSoundDecoder::streamToBuffer:.
Referenced by soundBuffer.
|
implementation |
Reimplemented from OOSound.
Definition at line 90 of file OOALStreamedSound.m.
References _reachedEnd, and soundIncomplete.
Referenced by soundIncomplete.
|
private |
Definition at line 33 of file OOALStreamedSound.h.
Referenced by dealloc, initWithDecoder:, and soundBuffer.
|
private |
Definition at line 36 of file OOALStreamedSound.h.
Referenced by initWithDecoder:, and name.
|
private |
Definition at line 39 of file OOALStreamedSound.h.
Referenced by initWithDecoder:, rewind, soundBuffer, and soundIncomplete.
|
private |
Definition at line 35 of file OOALStreamedSound.h.
Referenced by initWithDecoder:, and soundBuffer.
|
private |
Definition at line 34 of file OOALStreamedSound.h.
|
private |
Definition at line 37 of file OOALStreamedSound.h.
Referenced by initWithDecoder:, and soundBuffer.
|
private |
Definition at line 38 of file OOALStreamedSound.h.
Referenced by initWithDecoder:.