This directory contains the core audio buffer management.
Buffers connect the output of one component to the input of the next in an audio pipeline graph. They implement circular (ring) buffer semantics and handle cache coherency for DSP memory.
graph LR
CompA[Component A / Producer] -->|Write| Buf[Ring Buffer]
Buf -->|Read| CompB[Component B / Consumer]
- CMakeLists.txt: Includes the base core buffer source files (
audio_buffer.c,comp_buffer.c). When theCONFIG_PIPELINE_2_0feature flag is enabled, it additionally compilesring_buffer.c. - Topology (.conf): Derived from
tools/topology/topology2/include/components/buffer.conf, defining thebufferwidget object. Key parameters includesize(automatically computed),periods,channels, andcaps(capabilities likedai,host,pass,comp). Defaults to UUID92:4c:54:42:92:8e:41:4e:b6:79:34:51:9f:1c:1d:28.
