cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SimpleAudioEngineOpenSL Class Reference

#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 SimpleAudioEngineOpenSLsharedEngine ()
local sharedEngine ()
static void end ()

Constructor & Destructor Documentation

Member Function Documentation

static void end ( )
static
var end ( )
static
local end ( )
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 SimpleAudioEngineOpenSL*
sharedEngine
( )
static
var sharedEngine ( )
static
local sharedEngine ( )
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)

The documentation for this class was generated from the following file: