7#ifndef __SOF_SINK_API_H__
8#define __SOF_SINK_API_H__
10#include <module/audio/sink_api.h>
22void sink_init(
struct sof_sink *sink,
const struct sink_ops *ops,
23 struct sof_audio_stream_params *audio_stream_params);
bool sink_get_overrun(struct sof_sink *sink)
set of functions for retrieve audio parameters
size_t sink_get_num_of_processed_bytes(struct sof_sink *sink)
Get total number of bytes processed by the sink (meaning - 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)
Init of the API, must be called before any operation.
void sink_set_min_free_space(struct sof_sink *sink, size_t min_free_space)
set of functions for setting audio parameters
void sink_reset_num_of_processed_bytes(struct sof_sink *sink)
sets counter of total number of bytes processed to zero