nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ lc3_streamer_file_compatible_check()

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.

Parameters
[in]filenameName of the file to verify.
[in]cfgStream configuration to compare against.
Return values
trueSuccess.
falseHeader is not matching the configuration.