23 static bool IsAudioEngineEnabled();
25 static void EnableAudioEngine();
27 static void DisableAudioEngine();
32 static void SetVolume(
float fVolume);
37 static float GetVolume();
41 static void PauseCategory(
const char * strCategoryName);
44 static void ResumeCategory(
const char * strCategoryName);
47 static void StopCategory(
const char * strCategoryName);
55 static void EnableAudioBank(
const char * strBankName);
60 static void DisableAudioBank(
const char * strBankName);
67 static int LoadSoundBank(
const char* filename);
70 static int UnLoadSoundBank(
const char* filename);
77 static int LoadInMemoryWaveBank(
const char* filename);
80 static int UnLoadInMemoryWaveBank(
const char* filename);
87 static int LoadStreamWaveBank(
const char* filename);
90 static int UnLoadStreamWaveBank(
const char* filename);
94 static string GetCurrentAudioBankName();
96 static void SetAudioStereo();
98 static void SetAudio5Point1();
101 static int GetAudioFormat();
106 static void PlayBGMusic(
const char * strBGMusicName );
109 static void PauseBGMusic( );
112 static void ResumeBGMusic( );
115 static void StopBGMusic( );
117 static bool IsBGMusicEnabled();
119 static void EnableBGMusic( );
121 static void DisableBGMusic( );
124 static float GetBGMusicVolume( );
127 static void SetBGMusicVolume(
const float fVolume );
132 static void PlayDialog(
const char * strDialogName ,
const char * strScript );
134 static void SkipDialog( );
136 static void PauseDialog( );
138 static void ResumeDialog( );
140 static void StopDialog( );
142 static bool IsDialogEnabled();
144 static void EnableDialog( );
146 static void DisableDialog( );
149 static float GetDialogVolume( );
152 static void SetDialogVolume(
const float fVolume );
157 static void PlayAmbientSound(
const char * strAmbientSoundName );
160 static void PauseAmbientSound(
const char * strAmbientSoundName );
163 static void ResumeAmbientSound(
const char * strAmbientSoundName );
166 static void StopAmbientSound(
const char * strAmbientSoundName );
168 static bool IsAmbientSoundEnabled();
170 static void EnableAmbientSound( );
172 static void DisableAmbientSound( );
175 static float GetAmbientSoundVolume( );
178 static void SetAmbientSoundVolume(
const float fVolume );
183 static void PlayUISound(
const char * strUISoundName );
186 static float GetUISoundVolume( );
189 static void SetUISoundVolume(
const float fVolume );
196 static void PlayStatic3DSound(
const char * str3DSoundName,
const char * assetName,
float x,
float y,
float z);
199 static void PauseStatic3DSound(
const char * assetName );
202 static void ResumeStatic3DSound(
const char * assetName );
205 static void StopStatic3DSound(
const char * assetName );
210 static void PlayDynamic3DSound(
const char * str3DSoundName,
const char * objectName );
213 static float Get3DSoundVolume( );
216 static void Set3DSoundVolume(
const float fVolume );
222 static void PlayInteractiveSound(
const char * strInteractiveSoundName );
225 static float GetInteractiveSoundVolume( );
228 static void SetInteractiveSoundVolume(
const float fVolume );
251 static bool PlayWaveFile(
const char* szWavePath,
int nLoopCount);
252 static bool PlayWaveFile1(
const char* szWavePath);
260 static bool StopWaveFile(
const char* szWavePath,
bool bImmediateStop);
261 static bool StopWaveFile1(
const char* szWavePath);
267 static bool ReleaseWaveFile(
const char* szWavePath);
278 static const char* GetRecordingDeviceEnum();
284 static const char* GetRecordingFormatEnum();
292 static bool SetRecordingOutput(
const char* sOutputFile,
int nDeviceIndex,
int nWaveFormatIndex);
295 static bool BeginRecording();
301 static bool PauseOrResumeRecording(
int nState);
305 static bool StopRecording();
308 static bool IsRecording();
311 static bool IsRecordingPaused();
316 static const char* GetLastRecordedData(
int nTimeLength);
Audio Engine functions.
Definition: ParaScriptingAudio1.h:17
for luabind, The main drawback of this approach is that the compilation time will increase for the fi...
Definition: luaSQLite.cpp:1971