![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OOALMusic.h>
Instance Methods | |
(void) | - playLooped: |
(void) | - stop |
(BOOL) | - isPlaying |
(void) | - setMusicGain: |
(float) | - musicGain |
(OOSoundSource *) | - musicSoundSource |
(void) | - dealloc [implementation] |
(id) | - initWithContentsOfFile: [implementation] |
(NSString *) | - name [implementation] |
![]() | |
(ALuint) | - soundBuffer |
(BOOL) | - soundIncomplete |
(void) | - rewind |
(id) | - init [implementation] |
(id) | - initWithDecoder: [implementation] |
(id) | - initWithCustomSoundKey: |
(jsval) | - oo_jsValueInContext: [implementation] |
(NSString *) | - oo_jsDescription [implementation] |
(NSString *) | - oo_jsClassName [implementation] |
Class Methods | |
(id) | + allocWithZone: [implementation] |
![]() | |
(BOOL) | + setUp |
(void) | + update |
(void) | + setMasterVolume: |
(float) | + masterVolume |
(BOOL) | + isSoundOK |
(id) | + soundWithCustomSoundKey: |
Private Attributes | |
OOSound * | sound |
Definition at line 37 of file OOALMusic.h.
|
implementation |
Definition at line 37 of file OOALMusic.m.
|
implementation |
Definition at line 43 of file OOALMusic.m.
References dealloc, sPlayingMusic, and stop.
Referenced by dealloc.
|
implementation |
Reimplemented from OOSound.
Definition at line 51 of file OOALMusic.m.
References OOSound::init, nil, and sound.
- (BOOL) isPlaying |
Definition at line 114 of file OOALMusic.m.
References isPlaying, OOSoundSource::isPlaying, and sPlayingMusic.
Referenced by isPlaying, and OOMusicController::isPlaying.
- (float) musicGain |
Definition at line 83 of file OOALMusic.m.
References OOSoundSource::gain, musicGain, nil, and sMusicSource.
Referenced by musicGain.
- (OOSoundSource *) musicSoundSource |
Definition at line 108 of file OOALMusic.m.
References musicSoundSource, and sMusicSource.
Referenced by musicSoundSource, and OOMusicController::soundSource.
|
implementation |
Reimplemented from OOSound.
Definition at line 68 of file OOALMusic.m.
References name, and OOSound::name.
Referenced by name, and OOMusicController::playingMusic.
- (void) playLooped: | (BOOL) | looped |
Definition at line 90 of file OOALMusic.m.
References nil, OOSoundSource::play, OOSoundSource::setLoop:, OOSoundSource::setSound:, sMusicSource, sPlayingMusic, and OOSoundSource::stop.
Referenced by OOMusicController::playMusicNamed:loop:gain:.
- (void) setMusicGain: | (float) | newValue |
Definition at line 74 of file OOALMusic.m.
References nil, OOSoundSource::setGain:, and sMusicSource.
Referenced by OOMusicController::playMusicNamed:loop:gain:.
- (void) stop |
Definition at line 120 of file OOALMusic.m.
References nil, OOSoundSource::setSound:, sPlayingMusic, stop, and OOSoundSource::stop.
Referenced by dealloc, OOMusicController::justStop, OOMusicController::playMusicNamed:loop:gain:, and stop.
|
private |
Definition at line 40 of file OOALMusic.h.
Referenced by initWithContentsOfFile:.