nRF Connect SDK API 2.8.99
|
bool lc3_streamer_file_compatible_check | ( | const char *const | filename, |
const struct lc3_stream_cfg *const | cfg ) |
Verify that the LC3 header matches the stream configuration.
Verifies that the file is valid and can be used by the LC3 streamer. Since there is no standard header for LC3 files, the header might be different than what is defined in the struct lc3_file_header.
[in] | filename | Name of the file to verify. |
[in] | cfg | Stream configuration to compare against. |
true | Success. |
false | Header is not matching the configuration. |