Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
wav_decoder.hpp File Reference
#include <pulp/audio/audio_file.hpp>
#include <cstdint>
#include <optional>
#include <span>

Go to the source code of this file.

Classes

struct  pulp::audio::WavDecodeLimits
 Resource ceilings checked before the decoder allocates output storage. More...

Namespaces

namespace  pulp
namespace  pulp::audio

Functions

std::optional< AudioFileInfo > pulp::audio::inspect_wav (std::span< const std::uint8_t > bytes)
 Inspect a complete in-memory RIFF/WAVE file without decoding its samples.
std::optional< AudioFileData > pulp::audio::decode_wav (std::span< const std::uint8_t > bytes, WavDecodeLimits limits={})
 Decode a complete in-memory RIFF/WAVE file into deinterleaved float channels.