Skip to content

function read_audiofile_header(const std::string &) audio

inline expected<audiofile_header, std::error_code> read_audiofile_header(
    const std::string& path)

Creates an audio decoder from a file header.

Parameters
header Audio file header.
options Optional decoding options.
Returns
Unique pointer to the created decoder.

Defined at audio/decoder.hpp:221