#include <SimpleAudioEngineOpenSL.h>
Public Member Functions | |
SimpleAudioEngineOpenSL () | |
~SimpleAudioEngineOpenSL () | |
bool | initEngine () |
float | getEffectsVolume () |
void | setEffectsVolume (float volume) |
var | setEffectsVolume ( var volume) |
local | setEffectsVolume ( local volume) |
unsigned int | playEffect (const char *pszFilePath, bool bLoop, float pitch, float pan, float gain) |
local | playEffect ( local pszFilePath, local bLoop, local pitch, local pan, local gain) |
void | pauseEffect (unsigned int nSoundId) |
void | pauseAllEffects () |
void | resumeEffect (unsigned int nSoundId) |
void | resumeAllEffects () |
void | stopEffect (unsigned int nSoundId) |
void | stopAllEffects () |
void | preloadEffect (const char *pszFilePath) |
void | unloadEffect (const char *pszFilePath) |
local | unloadEffect ( local pszFilePath) |
Static Public Member Functions | |
static SimpleAudioEngineOpenSL * | sharedEngine () |
local | sharedEngine () |
static void | end () |
var SimpleAudioEngineOpenSL | ( | ) |
local SimpleAudioEngineOpenSL | ( | ) |
var ~SimpleAudioEngineOpenSL | ( | ) |
local ~SimpleAudioEngineOpenSL | ( | ) |
|
static |
|
static |
|
static |
float getEffectsVolume | ( | ) |
var getEffectsVolume | ( | ) |
local getEffectsVolume | ( | ) |
bool initEngine | ( | ) |
var initEngine | ( | ) |
local initEngine | ( | ) |
void pauseAllEffects | ( | ) |
var pauseAllEffects | ( | ) |
local pauseAllEffects | ( | ) |
void pauseEffect | ( | unsigned int | nSoundId) |
var pauseEffect | ( | var | nSoundId) |
local pauseEffect | ( | local | nSoundId) |
unsigned int playEffect | ( | const char * | pszFilePath, |
bool | bLoop, | ||
float | pitch, | ||
float | pan, | ||
float | gain | ||
) |
var playEffect | ( | var | pszFilePath, |
var | bLoop, | ||
var | pitch, | ||
var | pan, | ||
var | gain | ||
) |
local playEffect | ( | local | pszFilePath, |
local | bLoop, | ||
local | pitch, | ||
local | pan, | ||
local | gain | ||
) |
void preloadEffect | ( | const char * | pszFilePath) |
var preloadEffect | ( | var | pszFilePath) |
local preloadEffect | ( | local | pszFilePath) |
void resumeAllEffects | ( | ) |
var resumeAllEffects | ( | ) |
local resumeAllEffects | ( | ) |
void resumeEffect | ( | unsigned int | nSoundId) |
var resumeEffect | ( | var | nSoundId) |
local resumeEffect | ( | local | nSoundId) |
void setEffectsVolume | ( | float | volume) |
var setEffectsVolume | ( | var | volume) |
local setEffectsVolume | ( | local | volume) |
|
static |
|
static |
|
static |
void stopAllEffects | ( | ) |
var stopAllEffects | ( | ) |
local stopAllEffects | ( | ) |
void stopEffect | ( | unsigned int | nSoundId) |
var stopEffect | ( | var | nSoundId) |
local stopEffect | ( | local | nSoundId) |
void unloadEffect | ( | const char * | pszFilePath) |
var unloadEffect | ( | var | pszFilePath) |
local unloadEffect | ( | local | pszFilePath) |