diff options
Diffstat (limited to 'src/audio/DMAudio.h')
-rw-r--r-- | src/audio/DMAudio.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index bb95f303..e7d3a23b 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -7,6 +7,9 @@ #define AEHANDLE_IS_FAILED(h) ((h)<0) #define AEHANDLE_IS_OK(h) ((h)>=0) +#define NO_AUDIO_PROVIDER -3 +#define AUDIO_PROVIDER_NOT_DETERMINED -99 + class cAudioScriptObject; class CEntity; @@ -77,12 +80,12 @@ public: void PlayPreloadedCutSceneMusic(void); void StopCutSceneMusic(void); - void PreloadMissionAudio(Const char *missionAudio); - uint8 GetMissionAudioLoadingStatus(void); - void SetMissionAudioLocation(float x, float y, float z); - void PlayLoadedMissionAudio(void); - bool IsMissionAudioSampleFinished(void); - void ClearMissionAudio(void); + void PreloadMissionAudio(uint8 slot, Const char *missionAudio); + uint8 GetMissionAudioLoadingStatus(uint8 slot); + void SetMissionAudioLocation(uint8 slot, float x, float y, float z); + void PlayLoadedMissionAudio(uint8 slot); + bool IsMissionAudioSampleFinished(uint8 slot); + void ClearMissionAudio(uint8 slot); uint8 GetRadioInCar(void); void SetRadioInCar(uint32 radio); |