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

Read-only view of source data in a circular buffer. More...

#include <src/include/module/audio/audio_stream.h>

Data Fields

const void * buf_start
 Start address of the circular buffer.
 
const void * buf_end
 End address of the circular buffer.
 
const void * ptr
 Current read pointer within the buffer.
 

Detailed Description

Read-only view of source data in a circular buffer.

Describes a contiguous fragment of a circular buffer obtained from the source API together with the buffer boundaries needed for wrap handling. All pointers are const because the source data must not be modified.

Field Documentation

◆ buf_end

const void* cir_buf_source::buf_end

End address of the circular buffer.

◆ buf_start

const void* cir_buf_source::buf_start

Start address of the circular buffer.

◆ ptr

const void* cir_buf_source::ptr

Current read pointer within the buffer.


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