1#ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
2#define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
5#include "./raylib-cpp-utils.hpp"
6#include "./RaylibException.hpp"
57 return ::IsAudioDeviceReady();
66 ::SetMasterVolume(volume);
Audio device management functions.
void Close()
Close the audio device and context.
AudioDevice & SetVolume(float volume)
Set master volume (listener).
bool IsReady() const
Check if audio device has been initialized successfully.
void Init()
Initialize audio device and context.
~AudioDevice()
Close the audio device and context.
AudioDevice(bool lateInit=false)
Initialize audio device and context.
Exception used for most raylib-related exceptions.