sof
sof copied to clipboard
pipeline 2.0 - introduce abstract audio_buffer api
This PR introduces an abstract struct sof_audio_buffer which should become a base abstract class for all buffer types in pipeline 2.0 PR should be neutral for all functionality
On the generic pipeline code there MUST NOT be any other usage of buffers but:
- sof_audio_buffer for maintenance operations
- sof_sink
- sof_source
(with obvious exception for buffer creation - see concept of "buffer factory)
this PR change usage of DP_queue (renamed to ring_buffer) to match the above request