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

Functions

bool InitAudio ()
 Initialize Sound Engine. More...
 
void Audio_SetMasterVolume (float volume)
 Change the [audio engine] global volume. More...
 
void CloseAudio ()
 Close Sound Engine and free allocated resources. More...
 

Function Documentation

◆ Audio_SetMasterVolume()

void Audio_SetMasterVolume ( float  volume)

Change the [audio engine] global volume.

Parameters
volumeAudio volume from [0.0f -> 1.f]
Version
  • 0.0.3
    Returns
    void

◆ CloseAudio()

void CloseAudio ( )

Close Sound Engine and free allocated resources.

Version
0.0.3
Returns
void

◆ InitAudio()

bool InitAudio ( )

Initialize Sound Engine.

  • mini-audio backend
Version
0.0.3
Returns
bool