nCine::AudioLoaderWav class

Audio loader for the WAVE (.wav) format.

Base classes

class IAudioLoader
Interface for an audio loader.

Constructors, destructors, conversion operators

AudioLoaderWav(std::unique_ptr<Death::IO::Stream> fileHandle) explicit
AudioLoaderWav(const AudioLoaderWav&) deleted

Public functions

auto operator=(const AudioLoaderWav&) -> AudioLoaderWav& deleted
auto createReader() -> std::unique_ptr<IAudioReader> override
Creates the audio reader matching this loader.

Constants

static const std::uint32_t HeaderSize
Size of the RIFF WAVE header in bytes.