 |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
25 #ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
26 #define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
28 #include "./raylib.hpp"
29 #include "./raylib-cpp-utils.hpp"
75 return ::IsAudioDeviceReady();
82 ::SetMasterVolume(volume);
88 #endif // RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
Provides all the classes associated with raylib-cpp.
AudioDevice & Close()
Close the audio device and context.
AudioDevice & SetVolume(float volume)
Set master volume (listener).
AudioDevice & Init()
Initialize audio device and context.
~AudioDevice()
Close the audio device and context.
AudioDevice(bool lateInit=false)
Initialize audio device and context.
Audio device management functions.
bool IsReady() const
Check if audio device has been initialized successfully.