![]() |
Shkyera Engine
Easy to use, game engine for Python
|
Audio asset that manages a single audio file. More...
#include <Audio.hpp>
Public Member Functions | |
Audio (const std::filesystem::path &path) | |
~Audio () | |
Audio (const Audio &)=delete | |
Audio & | operator= (const Audio &)=delete |
Audio (Audio &&other) noexcept | |
Audio & | operator= (Audio &&other) noexcept |
ma_decoder * | getDecoder () |
Private Attributes | |
std::unique_ptr< ma_decoder > | _decoder |
Internal miniaudio decoder. | |
Audio asset that manages a single audio file.
|
explicit |
path | Path to the audio file |
shkyera::Audio::~Audio | ( | ) |
|
noexcept |
ma_decoder * shkyera::Audio::getDecoder | ( | ) |
|
private |
Internal miniaudio decoder.