22 std::span<const std::uint8_t> bytes);
30 std::span<const std::uint8_t> bytes,
Definition analyzer_provider.hpp:12
std::optional< AudioFileData > decode_wav(std::span< const std::uint8_t > bytes, WavDecodeLimits limits={})
Decode a complete in-memory RIFF/WAVE file into deinterleaved float channels.
std::optional< AudioFileInfo > inspect_wav(std::span< const std::uint8_t > bytes)
Inspect a complete in-memory RIFF/WAVE file without decoding its samples.
Resource ceilings checked before the decoder allocates output storage.
Definition wav_decoder.hpp:14
std::uint64_t max_frames
Definition wav_decoder.hpp:15
std::uint64_t max_output_bytes
Definition wav_decoder.hpp:17
std::uint32_t max_channels
Definition wav_decoder.hpp:16