2024-04-20 13:39:19 -03:00
|
|
|
#ifndef XNA_SOUND_SOUNDENGINE_HPP
|
|
|
|
#define XNA_SOUND_SOUNDENGINE_HPP
|
|
|
|
|
|
|
|
#include "../default.hpp"
|
|
|
|
|
|
|
|
namespace xna {
|
2024-05-24 15:05:06 -03:00
|
|
|
class AudioEngine {
|
2024-05-27 21:12:46 -03:00
|
|
|
public:
|
|
|
|
static bool Reset();
|
|
|
|
static bool Resume();
|
|
|
|
static bool Suspend();
|
|
|
|
static bool Update();
|
|
|
|
static void DefaultSampleRate(int value);
|
|
|
|
static void MasterVolume(float value);
|
|
|
|
static void MasteringLimit(int limit, int loudness);
|
|
|
|
static void Reverb(AudioReverb value);
|
|
|
|
|
|
|
|
static void Initialize();
|
2024-05-24 15:05:06 -03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct PlatformImplementation;
|
2024-05-27 21:12:46 -03:00
|
|
|
inline static uptr<PlatformImplementation> impl = nullptr;
|
|
|
|
|
|
|
|
private:
|
|
|
|
AudioEngine();
|
|
|
|
AudioEngine(AudioEngine&);
|
|
|
|
AudioEngine(AudioEngine&&);
|
2024-04-20 13:39:19 -03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|