function from_error_code(std::error_code) audio¶
audiofile_error from_error_code(std::error_code ec) Converts a standard error code to an audiofile_error.
This function maps a given std::error_code to the corresponding audiofile_error enumeration value.
| ec | The standard error code to convert. |
| The corresponding audiofile_error value. |
Defined at audio/io.hpp:64