nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
LC3 Streamer

LC3 streamer API for Audio applications. More...

Data Structures

struct  lc3_stream_cfg
 LC3 stream configuration structure. More...
 

Functions

int lc3_streamer_next_frame_get (const uint8_t streamer_idx, const uint8_t **const frame_buffer)
 Get the next frame for the stream.
 
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.
 
int lc3_streamer_stream_register (const char *const filename, uint8_t *const streamer_idx, const bool loop)
 Register a new stream that will be played by the LC3 streamer.
 
uint8_t lc3_streamer_num_active_streams (void)
 Get the number of active streams.
 
int lc3_streamer_file_path_get (const uint8_t streamer_idx, char *const path, const size_t path_len)
 Get the file path for a stream.
 
bool lc3_streamer_is_looping (const uint8_t streamer_idx)
 Check if a stream is configured to loop.
 
int lc3_streamer_stream_close (const uint8_t streamer_idx)
 End a stream that's playing.
 
int lc3_streamer_close_all_streams (void)
 Close all streams and drain the work queue.
 
int lc3_streamer_init (void)
 Initializes the LC3 streamer.
 

Detailed Description

LC3 streamer API for Audio applications.

This module provides LC3 audio file streaming functionality for playback from SD card storage.

The streamer integrates with LC3 File for file operations, SD Card for storage access, and Audio System for audio playback integration.