Skip to content

Function read_audiofile_header

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.

Fully qualified name: kfr::read_audiofile_header(const file_path &)

Declared at audio/decoder.hpp:176

Function read_audiofile_header

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.

Fully qualified name: kfr::read_audiofile_header(const std::string &)

Declared at audio/decoder.hpp:218

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.