Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Functions | Variables
audio_manager.h File Reference
#include "engine_sys.h"
#include "core/engine.h"
#include "core/audio/ember_audio.h"

Go to the source code of this file.

Classes

class  AudioManager
 AudioManager class. More...
 

Functions

bool init_audio_engine ()
 Initialize the Miniaudio audio engine. More...
 
void close_audio_engine ()
 Close the Miniaudio audio engine. More...
 

Variables

constexpr int NUM_CHANNELS = 2
 
constexpr int SAMPLE_RATE = 48000
 

Function Documentation

◆ close_audio_engine()

void close_audio_engine ( )

Close the Miniaudio audio engine.

Version
0.0.1

◆ init_audio_engine()

bool init_audio_engine ( )

Initialize the Miniaudio audio engine.

Version
0.0.1

Variable Documentation

◆ NUM_CHANNELS

constexpr int NUM_CHANNELS = 2
constexpr

◆ SAMPLE_RATE

constexpr int SAMPLE_RATE = 48000
constexpr