13#ifndef __SOF_SINK_API_H__
14#define __SOF_SINK_API_H__
bool sink_get_overrun(struct sof_sink *sink)
Check if buffer overrun is permitted on sink stream.
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_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.
void sink_set_min_free_space(struct sof_sink *sink, size_t min_free_space)
Set minimum free space required in sink buffer.
void sink_reset_num_of_processed_bytes(struct sof_sink *sink)
Reset counter of total processed bytes to zero.
Sink audio endpoint API for module output buffers.
this is a definition of internals of sink API
Definition sink_api.h:69
set of parameters describing audio stream this structure is shared between audio_stream....
Definition audio_stream.h:49
internals of sink API.
Definition sink_api.h:141