Sound Open Firmware
Loading...
Searching...
No Matches
sof_audio_buffer Struct Reference

Base class for all audio buffers. More...

#include <src/include/sof/audio/audio_buffer.h>

Collaboration diagram for sof_audio_buffer:

Data Fields

 CORE_CHECK_STRUCT_FIELD
 
uint32_t buffer_type
 Type of the buffer (BUFFER_TYPE_*)
 
bool is_shared
 Buffer structure is shared between 2 cores.
 
struct sof_audio_stream_params * audio_stream_params
 Pointer to effective runtime stream parameters.
 
struct sof_source _source_api
 Source API interface handler.
 
struct sof_sink _sink_api
 Sink API interface handler.
 
const struct audio_buffer_ops * ops
 Virtual methods table.
 
bool walking
 Indicates if the buffer is being walked in pipeline graph.
 
struct mod_alloc_ctx * alloc
 Allocation context.
 

Detailed Description

Base class for all audio buffers.

All audio buffers must inherit from it.

Field Documentation

◆ _sink_api

struct sof_sink sof_audio_buffer::_sink_api

Sink API interface handler.

◆ _source_api

struct sof_source sof_audio_buffer::_source_api

Source API interface handler.

◆ alloc

struct mod_alloc_ctx* sof_audio_buffer::alloc

Allocation context.

◆ audio_stream_params

struct sof_audio_stream_params* sof_audio_buffer::audio_stream_params

Pointer to effective runtime stream parameters.

◆ buffer_type

uint32_t sof_audio_buffer::buffer_type

Type of the buffer (BUFFER_TYPE_*)

◆ CORE_CHECK_STRUCT_FIELD

sof_audio_buffer::CORE_CHECK_STRUCT_FIELD

◆ is_shared

bool sof_audio_buffer::is_shared

Buffer structure is shared between 2 cores.

◆ ops

const struct audio_buffer_ops* sof_audio_buffer::ops

Virtual methods table.

◆ walking

bool sof_audio_buffer::walking

Indicates if the buffer is being walked in pipeline graph.


The documentation for this struct was generated from the following file: