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-04-20 13:39:19 -03:00
|
|
|
public:
|
2024-05-24 15:05:06 -03:00
|
|
|
AudioEngine();
|
|
|
|
~AudioEngine();
|
|
|
|
bool Reset();
|
|
|
|
bool Resume();
|
|
|
|
bool Suspend();
|
|
|
|
bool Update();
|
|
|
|
void DefaultSampleRate(int value);
|
|
|
|
void MasterVolume(float value);
|
|
|
|
void MasteringLimit(int limit, int loudness);
|
|
|
|
void Reverb(AudioReverb value);
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct PlatformImplementation;
|
|
|
|
uptr<PlatformImplementation> impl = nullptr;
|
2024-04-20 13:39:19 -03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|