#include <AudioEngine-win32.h>
Public Member Functions | |
AudioEngineImpl () | |
~AudioEngineImpl () | |
bool | init () |
int | play2d (const std::string &fileFullPath, bool loop, float volume) |
var | play2d ( var fileFullPath, var loop, var volume) |
local | play2d ( local fileFullPath, local loop, local volume) |
void | setVolume (int audioID, float volume) |
local | setVolume ( local audioID, local volume) |
void | setLoop (int audioID, bool loop) |
var | setLoop ( var audioID, var loop) |
local | setLoop ( local audioID, local loop) |
void | pause (int audioID) |
var | pause ( var audioID) |
local | pause ( local audioID) |
void | resume (int audioID) |
var | resume ( var audioID) |
local | resume ( local audioID) |
void | stop (int audioID) |
var | stop ( var audioID) |
local | stop ( local audioID) |
void | stopAll () |
float | getDuration (int audioID) |
var | getDuration ( var audioID) |
local | getDuration ( local audioID) |
float | getCurrentTime (int audioID) |
var | getCurrentTime ( var audioID) |
local | getCurrentTime ( local audioID) |
bool | setCurrentTime (int audioID, float time) |
var | setCurrentTime ( var audioID, var time) |
local | setCurrentTime ( local audioID, local time) |
void | setFinishCallback (int audioID, const std::function< void(int, const std::string &)> &callback) |
var | setFinishCallback ( var audioID, var int, var callback) |
local | setFinishCallback ( local audioID, local int, local callback) |
void | uncache (const std::string &filePath) |
void | uncacheAll () |
void | update (float dt) |
var | update ( var dt) |
local | update ( local dt) |
AudioEngineImpl () | |
~AudioEngineImpl () | |
bool | init () |
int | play2d (const std::string &fileFullPath, bool loop, float volume) |
void | setVolume (int audioID, float volume) |
void | setLoop (int audioID, bool loop) |
bool | pause (int audioID) |
bool | resume (int audioID) |
bool | stop (int audioID) |
var | stop ( var audioID) |
local | stop ( local audioID) |
void | stopAll () |
float | getDuration (int audioID) |
var | getDuration ( var audioID) |
local | getDuration ( local audioID) |
float | getCurrentTime (int audioID) |
var | getCurrentTime ( var audioID) |
local | getCurrentTime ( local audioID) |
bool | setCurrentTime (int audioID, float time) |
var | setCurrentTime ( var audioID, var time) |
local | setCurrentTime ( local audioID, local time) |
void | setFinishCallback (int audioID, const std::function< void(int, const std::string &)> &callback) |
var | setFinishCallback ( var audioID, var int, var callback) |
local | setFinishCallback ( local audioID, local int, local callback) |
void | uncache (const std::string &filePath) |
var | uncache ( var filePath) |
local | uncache ( local filePath) |
void | uncacheAll () |
void | update (float dt) |
var | update ( var dt) |
local | update ( local dt) |
AudioEngineImpl () | |
~AudioEngineImpl () | |
bool | init () |
int | play2d (const std::string &fileFullPath, bool loop, float volume) |
var | play2d ( var fileFullPath, var loop, var volume) |
local | play2d ( local fileFullPath, local loop, local volume) |
void | setVolume (int audioID, float volume) |
var | setVolume ( var audioID, var volume) |
local | setVolume ( local audioID, local volume) |
void | setLoop (int audioID, bool loop) |
var | setLoop ( var audioID, var loop) |
local | setLoop ( local audioID, local loop) |
bool | pause (int audioID) |
bool | resume (int audioID) |
var | resume ( var audioID) |
local | resume ( local audioID) |
bool | stop (int audioID) |
var | stop ( var audioID) |
local | stop ( local audioID) |
void | stopAll () |
float | getDuration (int audioID) |
float | getCurrentTime (int audioID) |
var | getCurrentTime ( var audioID) |
local | getCurrentTime ( local audioID) |
bool | setCurrentTime (int audioID, float time) |
var | setCurrentTime ( var audioID, var time) |
local | setCurrentTime ( local audioID, local time) |
void | setFinishCallback (int audioID, const std::function< void(int, const std::string &)> &callback) |
var | setFinishCallback ( var audioID, var int, var callback) |
local | setFinishCallback ( local audioID, local int, local callback) |
void | uncache (const std::string &filePath) |
void | uncacheAll () |
void | update (float dt) |
var | update ( var dt) |
local | update ( local dt) |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
local | getReferenceCount () |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
AudioEngineImpl | ( | ) |
var AudioEngineImpl | ( | ) |
local AudioEngineImpl | ( | ) |
~AudioEngineImpl | ( | ) |
var ~AudioEngineImpl | ( | ) |
local ~AudioEngineImpl | ( | ) |
AudioEngineImpl | ( | ) |
var AudioEngineImpl | ( | ) |
local AudioEngineImpl | ( | ) |
~AudioEngineImpl | ( | ) |
var ~AudioEngineImpl | ( | ) |
local ~AudioEngineImpl | ( | ) |
AudioEngineImpl | ( | ) |
var AudioEngineImpl | ( | ) |
local AudioEngineImpl | ( | ) |
~AudioEngineImpl | ( | ) |
var ~AudioEngineImpl | ( | ) |
local ~AudioEngineImpl | ( | ) |
float getCurrentTime | ( | int | audioID | ) |
var getCurrentTime | ( | var | audioID | ) |
local getCurrentTime | ( | local | audioID | ) |
float getCurrentTime | ( | int | audioID | ) |
var getCurrentTime | ( | var | audioID | ) |
local getCurrentTime | ( | local | audioID | ) |
float getCurrentTime | ( | int | audioID | ) |
var getCurrentTime | ( | var | audioID | ) |
local getCurrentTime | ( | local | audioID | ) |
float getDuration | ( | int | audioID | ) |
var getDuration | ( | var | audioID | ) |
local getDuration | ( | local | audioID | ) |
float getDuration | ( | int | audioID | ) |
var getDuration | ( | var | audioID | ) |
local getDuration | ( | local | audioID | ) |
float getDuration | ( | int | audioID | ) |
var getDuration | ( | var | audioID | ) |
local getDuration | ( | local | audioID | ) |
bool init | ( | ) |
var init | ( | ) |
local init | ( | ) |
bool init | ( | ) |
var init | ( | ) |
local init | ( | ) |
bool init | ( | ) |
var init | ( | ) |
local init | ( | ) |
bool pause | ( | int | audioID | ) |
var pause | ( | var | audioID | ) |
local pause | ( | local | audioID | ) |
bool pause | ( | int | audioID | ) |
var pause | ( | var | audioID | ) |
local pause | ( | local | audioID | ) |
void pause | ( | int | audioID | ) |
var pause | ( | var | audioID | ) |
local pause | ( | local | audioID | ) |
int play2d | ( | const std::string & | fileFullPath, |
bool | loop, | ||
float | volume | ||
) |
var play2d | ( | var | fileFullPath, |
var | loop, | ||
var | volume | ||
) |
local play2d | ( | local | fileFullPath, |
local | loop, | ||
local | volume | ||
) |
int play2d | ( | const std::string & | fileFullPath, |
bool | loop, | ||
float | volume | ||
) |
var play2d | ( | var | fileFullPath, |
var | loop, | ||
var | volume | ||
) |
local play2d | ( | local | fileFullPath, |
local | loop, | ||
local | volume | ||
) |
int play2d | ( | const std::string & | fileFullPath, |
bool | loop, | ||
float | volume | ||
) |
var play2d | ( | var | fileFullPath, |
var | loop, | ||
var | volume | ||
) |
local play2d | ( | local | fileFullPath, |
local | loop, | ||
local | volume | ||
) |
bool resume | ( | int | audioID | ) |
var resume | ( | var | audioID | ) |
local resume | ( | local | audioID | ) |
bool resume | ( | int | audioID | ) |
var resume | ( | var | audioID | ) |
local resume | ( | local | audioID | ) |
void resume | ( | int | audioID | ) |
var resume | ( | var | audioID | ) |
local resume | ( | local | audioID | ) |
bool setCurrentTime | ( | int | audioID, |
float | time | ||
) |
var setCurrentTime | ( | var | audioID, |
var | time | ||
) |
local setCurrentTime | ( | local | audioID, |
local | time | ||
) |
bool setCurrentTime | ( | int | audioID, |
float | time | ||
) |
var setCurrentTime | ( | var | audioID, |
var | time | ||
) |
local setCurrentTime | ( | local | audioID, |
local | time | ||
) |
bool setCurrentTime | ( | int | audioID, |
float | time | ||
) |
var setCurrentTime | ( | var | audioID, |
var | time | ||
) |
local setCurrentTime | ( | local | audioID, |
local | time | ||
) |
void setFinishCallback | ( | int | audioID, |
const std::function< void(int, const std::string &)> & | callback | ||
) |
var setFinishCallback | ( | var | audioID, |
var | callback | ||
) |
local setFinishCallback | ( | local | audioID, |
local | callback | ||
) |
void setFinishCallback | ( | int | audioID, |
const std::function< void(int, const std::string &)> & | callback | ||
) |
var setFinishCallback | ( | var | audioID, |
var | callback | ||
) |
local setFinishCallback | ( | local | audioID, |
local | callback | ||
) |
void setFinishCallback | ( | int | audioID, |
const std::function< void(int, const std::string &)> & | callback | ||
) |
var setFinishCallback | ( | var | audioID, |
var | callback | ||
) |
local setFinishCallback | ( | local | audioID, |
local | callback | ||
) |
void setLoop | ( | int | audioID, |
bool | loop | ||
) |
var setLoop | ( | var | audioID, |
var | loop | ||
) |
local setLoop | ( | local | audioID, |
local | loop | ||
) |
void setLoop | ( | int | audioID, |
bool | loop | ||
) |
var setLoop | ( | var | audioID, |
var | loop | ||
) |
local setLoop | ( | local | audioID, |
local | loop | ||
) |
void setLoop | ( | int | audioID, |
bool | loop | ||
) |
var setLoop | ( | var | audioID, |
var | loop | ||
) |
local setLoop | ( | local | audioID, |
local | loop | ||
) |
void setVolume | ( | int | audioID, |
float | volume | ||
) |
var setVolume | ( | var | audioID, |
var | volume | ||
) |
local setVolume | ( | local | audioID, |
local | volume | ||
) |
void setVolume | ( | int | audioID, |
float | volume | ||
) |
var setVolume | ( | var | audioID, |
var | volume | ||
) |
local setVolume | ( | local | audioID, |
local | volume | ||
) |
void setVolume | ( | int | audioID, |
float | volume | ||
) |
var setVolume | ( | var | audioID, |
var | volume | ||
) |
local setVolume | ( | local | audioID, |
local | volume | ||
) |
bool stop | ( | int | audioID | ) |
var stop | ( | var | audioID | ) |
local stop | ( | local | audioID | ) |
bool stop | ( | int | audioID | ) |
var stop | ( | var | audioID | ) |
local stop | ( | local | audioID | ) |
void stop | ( | int | audioID | ) |
var stop | ( | var | audioID | ) |
local stop | ( | local | audioID | ) |
void stopAll | ( | ) |
var stopAll | ( | ) |
local stopAll | ( | ) |
void stopAll | ( | ) |
var stopAll | ( | ) |
local stopAll | ( | ) |
void stopAll | ( | ) |
var stopAll | ( | ) |
local stopAll | ( | ) |
void uncache | ( | const std::string & | filePath | ) |
var uncache | ( | var | filePath | ) |
local uncache | ( | local | filePath | ) |
void uncache | ( | const std::string & | filePath | ) |
var uncache | ( | var | filePath | ) |
local uncache | ( | local | filePath | ) |
|
inline |
|
inline |
|
inline |
void uncacheAll | ( | ) |
var uncacheAll | ( | ) |
local uncacheAll | ( | ) |
void uncacheAll | ( | ) |
var uncacheAll | ( | ) |
local uncacheAll | ( | ) |
|
inline |
|
inline |
|
inline |
void update | ( | float | dt | ) |
var update | ( | var | dt | ) |
local update | ( | local | dt | ) |
void update | ( | float | dt | ) |
var update | ( | var | dt | ) |
local update | ( | local | dt | ) |
void update | ( | float | dt | ) |
var update | ( | var | dt | ) |
local update | ( | local | dt | ) |