Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Loaders::AudioLoader Class Reference

Loader for audio files using miniaudio's built-in decoders. More...

#include <AudioLoader.h>

Static Public Member Functions

static AudioData load (const std::filesystem::path &path)
 Decode an audio file to PCM float data.

Detailed Description

Loader for audio files using miniaudio's built-in decoders.

Supports WAV, FLAC, and MP3. Decodes to interleaved 32-bit float PCM at the configured sample rate.

Definition at line 31 of file AudioLoader.h.

Member Function Documentation

◆ load()

AudioData Engine::Assets::Loaders::AudioLoader::load ( const std::filesystem::path & path)
static

Decode an audio file to PCM float data.

Parameters
pathPath to the audio file
Returns
Decoded audio data, or empty AudioData on failure

The documentation for this class was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Audio/AudioLoader.h