From 669c8c8988ab5489ba735816071388fe38c4c8f1 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Wed, 1 Sep 2021 16:36:34 +0300 Subject: Audio: add separate buffer for player comments like on PS2 to fix overflow, add ped comments debug to debug menu --- src/audio/sampman.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/audio/sampman.h') diff --git a/src/audio/sampman.h b/src/audio/sampman.h index 2b1cdfbc..dadaf24d 100644 --- a/src/audio/sampman.h +++ b/src/audio/sampman.h @@ -204,6 +204,11 @@ public: bool8 LoadSampleBank (uint8 nBank); void UnloadSampleBank (uint8 nBank); bool8 IsSampleBankLoaded(uint8 nBank); + +#if defined (GTA_PS2) || defined (FIX_BUGS) + bool8 IsMissionAudioLoaded(uint8 nSlot, uint32 nSample); + bool8 LoadMissionAudio (uint8 nSlot, uint32 nSample); +#endif bool8 IsPedCommentLoaded(uint32 nComment); bool8 LoadPedComment (uint32 nComment); -- cgit v1.2.3