2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CSTREAMAUDIOMANAGER
|
|
|
|
#define _CSTREAMAUDIOMANAGER
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-12-22 14:19:00 +00:00
|
|
|
#include "rstl/string.hpp"
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
class CStreamAudioManager {
|
|
|
|
public:
|
2022-10-09 05:37:23 +00:00
|
|
|
static void Update(float dt);
|
2022-04-10 00:17:06 +00:00
|
|
|
static void StopAll();
|
2022-10-31 16:19:28 +00:00
|
|
|
static void SetMusicVolume(uint);
|
|
|
|
static void SetSfxVolume(uint);
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2022-12-22 14:19:00 +00:00
|
|
|
static void FadeBackIn(int, float);
|
|
|
|
static void TemporaryFadeOut(int, float);
|
|
|
|
|
|
|
|
static void Start(int, const rstl::string&, int, bool, float, float);
|
|
|
|
static void Stop(int, const rstl::string&);
|
|
|
|
|
2023-01-05 17:06:10 +00:00
|
|
|
static void sub_803653f8(float);
|
|
|
|
static void sub_80365424(float);
|
|
|
|
static void sub_8036590c(float);
|
|
|
|
|
|
|
|
static void SetDefaultAudio(const rstl::string&, float, float, unsigned char);
|
|
|
|
static void SetCurrentAudio(const rstl::string&, float, float, unsigned char);
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CSTREAMAUDIOMANAGER
|