Sound Open Firmware
Loading...
Searching...
No Matches

Audio sink API helpers and stream configuration. More...

Include dependency graph for sink_api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sink_init (struct sof_sink *sink, const struct sink_ops *ops, struct sof_audio_stream_params *audio_stream_params)
 Initialize sink API structure before any operation.
 
size_t sink_get_num_of_processed_bytes (struct sof_sink *sink)
 Get total number of bytes processed by the sink (committed by sink_commit_buffer()).
 
void sink_reset_num_of_processed_bytes (struct sof_sink *sink)
 Reset counter of total processed bytes to zero.
 
bool sink_get_overrun (struct sof_sink *sink)
 Check if buffer overrun is permitted on sink stream.
 
void sink_set_min_free_space (struct sof_sink *sink, size_t min_free_space)
 Set minimum free space required in sink buffer.
 

Detailed Description

Audio sink API helpers and stream configuration.