From 63e5faef1155af66af12e6bff3a087c0200abc14 Mon Sep 17 00:00:00 2001 From: Roman Masanin <36927roma@gmail.com> Date: Fri, 2 Oct 2020 03:55:26 +0300 Subject: rewieved some audio functions --- src/audio/AudioManager.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/audio/AudioManager.h') diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 07e5bc81..5aa507d1 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -250,14 +250,14 @@ public: void CalculateDistance(bool &condition, float dist); //done bool CheckForAnAudioFileOnCD() const; - void ClearActiveSamples(); - void ClearMissionAudio(uint8 slot); + void ClearActiveSamples(); //done + void ClearMissionAudio(uint8 slot); //done void ClearRequestedQueue(); - int32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, - float speedMultiplier) const; + uint32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, + float speedMultiplier) const; //done int32 ComputePan(float, CVector *); uint8 ComputeVolume(uint8 emittingVolume, float soundIntensity, float distance) const; - int32 CreateEntity(eAudioType type, void *entity); + int32 CreateEntity(eAudioType type, void *entity); //done void DestroyAllGameCreatedEntities(); void DestroyEntity(int32 id); @@ -311,7 +311,7 @@ public: void PreloadMissionAudio(uint8 slot, Const char *name); void PreTerminateGameSpecificShutdown(); //done /// processX - main logic of adding new sounds - void ProcessActiveQueues(); + void ProcessActiveQueues(); //done bool ProcessAirBrakes(cVehicleParams *params); bool ProcessBoatEngine(cVehicleParams *params); bool ProcessBoatMovingOverWater(cVehicleParams *params); -- cgit v1.2.3