function create_decoder_from_header(const audiofile_header &, const audio_decoding_options &) audio¶
std::unique_ptr<audio_decoder> create_decoder_from_header(
const audiofile_header& header, const audio_decoding_options& options = { … } Creates an audio decoder from a file header.
| header | The audio file header. |
| options | Optional decoding options. |
| A unique pointer to the created decoder. |
Defined at audio/decoder.hpp:241