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.
| header | Audio file header. |
| options | Optional decoding options. |
| Unique pointer to the created decoder. |
Defined at audio/decoder.hpp:221