nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
lc3_file.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <zephyr/fs/fs.h>
#include <zephyr/sys/util.h>

Go to the source code of this file.

Data Structures

struct  lc3_file_header
 
struct  lc3_file_ctx
 

Functions

int lc3_header_get (struct lc3_file_ctx const *const file, struct lc3_file_header *header)
 Get the LC3 header from the file.
 
int lc3_file_frame_get (struct lc3_file_ctx *file, uint8_t *buffer, size_t buffer_size)
 Get the next LC3 frame from the file.
 
int lc3_file_open (struct lc3_file_ctx *file, const char *file_name)
 Open a LC3 file for reading.
 
int lc3_file_close (struct lc3_file_ctx *file)
 Close a LC3 file.
 
int lc3_file_init (void)
 Initialize the LC3 file module.