#include <OpenSLEngine.h>
|
| OpenSLEngine () |
| ~OpenSLEngine () |
void | createEngine (void *pHandle) |
void | closeEngine () |
bool | preloadBackgroundMusic (const char *filename) |
void | setBackgroundMusicState (int state) |
int | getBackgroundMusicState () |
void | rewindBackgroundMusic () |
void | setBackgroundMusicLooping (bool isLooping) |
void | setBackgroundVolume (int volume) |
int | getBackgroundVolume () |
bool | recreatePlayer (const char *filename) |
unsigned int | preloadEffect (const char *filename) |
local | preloadEffect ( local filename) |
void | unloadEffect (const char *filename) |
int | getEffectState (unsigned int effectID) |
void | setEffectState (unsigned int effectID, int state, bool isClear=false) |
void | setAllEffectState (int state) |
void | resumeEffect (unsigned int effectID) |
void | resumeAllEffects () |
void | setEffectParameters (unsigned int effectID, bool isLooping, float pitch, float pan, float gain) |
var | setEffectParameters ( var effectID, var isLooping, var pitch, var pan, var gain) |
local | setEffectParameters ( local effectID, local isLooping, local pitch, local pan, local gain) |
void | setEffectsVolume (float volume) |
float | getEffectsVolume () |
void createEngine |
( |
void * |
pHandle) | |
|
var createEngine |
( |
var |
pHandle) | |
|
local createEngine |
( |
local |
pHandle) | |
|
int getBackgroundMusicState |
( |
) | |
|
var getBackgroundMusicState |
( |
) | |
|
local getBackgroundMusicState |
( |
) | |
|
int getBackgroundVolume |
( |
) | |
|
var getBackgroundVolume |
( |
) | |
|
local getBackgroundVolume |
( |
) | |
|
int getEffectState |
( |
unsigned int |
effectID) | |
|
var getEffectState |
( |
var |
effectID) | |
|
local getEffectState |
( |
local |
effectID) | |
|
float getEffectsVolume |
( |
) | |
|
local getEffectsVolume |
( |
) | |
|
bool preloadBackgroundMusic |
( |
const char * |
filename) | |
|
var preloadBackgroundMusic |
( |
var |
filename) | |
|
local preloadBackgroundMusic |
( |
local |
filename) | |
|
unsigned int preloadEffect |
( |
const char * |
filename) | |
|
var preloadEffect |
( |
var |
filename) | |
|
local preloadEffect |
( |
local |
filename) | |
|
bool recreatePlayer |
( |
const char * |
filename) | |
|
var recreatePlayer |
( |
var |
filename) | |
|
local recreatePlayer |
( |
local |
filename) | |
|
void resumeAllEffects |
( |
) | |
|
local resumeAllEffects |
( |
) | |
|
void resumeEffect |
( |
unsigned int |
effectID) | |
|
var resumeEffect |
( |
var |
effectID) | |
|
local resumeEffect |
( |
local |
effectID) | |
|
void rewindBackgroundMusic |
( |
) | |
|
var rewindBackgroundMusic |
( |
) | |
|
local rewindBackgroundMusic |
( |
) | |
|
void setAllEffectState |
( |
int |
state) | |
|
var setAllEffectState |
( |
var |
state) | |
|
local setAllEffectState |
( |
local |
state) | |
|
void setBackgroundMusicLooping |
( |
bool |
isLooping) | |
|
var setBackgroundMusicLooping |
( |
var |
isLooping) | |
|
local setBackgroundMusicLooping |
( |
local |
isLooping) | |
|
void setBackgroundMusicState |
( |
int |
state) | |
|
var setBackgroundMusicState |
( |
var |
state) | |
|
local setBackgroundMusicState |
( |
local |
state) | |
|
void setBackgroundVolume |
( |
int |
volume) | |
|
var setBackgroundVolume |
( |
var |
volume) | |
|
local setBackgroundVolume |
( |
local |
volume) | |
|
void setEffectParameters |
( |
unsigned int |
effectID, |
|
|
bool |
isLooping, |
|
|
float |
pitch, |
|
|
float |
pan, |
|
|
float |
gain |
|
) |
| |
var setEffectParameters |
( |
var |
effectID, |
|
|
var |
isLooping, |
|
|
var |
pitch, |
|
|
var |
pan, |
|
|
var |
gain |
|
) |
| |
local setEffectParameters |
( |
local |
effectID, |
|
|
local |
isLooping, |
|
|
local |
pitch, |
|
|
local |
pan, |
|
|
local |
gain |
|
) |
| |
void setEffectState |
( |
unsigned int |
effectID, |
|
|
int |
state, |
|
|
bool |
isClear = false |
|
) |
| |
var setEffectState |
( |
var |
effectID, |
|
|
var |
state, |
|
|
var |
isClear = false |
|
) |
| |
local setEffectState |
( |
local |
effectID, |
|
|
local |
state, |
|
|
local |
isClear = false |
|
) |
| |
void setEffectsVolume |
( |
float |
volume) | |
|
var setEffectsVolume |
( |
var |
volume) | |
|
local setEffectsVolume |
( |
local |
volume) | |
|
void unloadEffect |
( |
const char * |
filename) | |
|
var unloadEffect |
( |
var |
filename) | |
|
local unloadEffect |
( |
local |
filename) | |
|
The documentation for this class was generated from the following file:
- /Users/cocos2d/MyWork/cocos2d-x-develop/cocos/audio/android/opensl/OpenSLEngine.h