Skip to content

function read_audiofile_header(const file_path &) audio

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

Reads the header of an audio file.

Parameters
path Path to the audio file.
Returns
Audio file header on success, or an error code on failure.

Defined at audio/decoder.hpp:179