Go to the source code of this file.
◆ ring_buffer_create()
| struct ring_buffer * ring_buffer_create |
( |
struct comp_dev * | dev, |
|
|
size_t | min_available, |
|
|
size_t | min_free_space, |
|
|
bool | is_shared, |
|
|
uint32_t | id ) |
- Parameters
-
| dev | pointer to the DP module device structure |
| min_available | minimum data available in queue required by the module using ring_buffer's source api |
| min_free_space | minimum buffer space in queue required by the module using ring_buffer's sink api |
| is_shared | indicates if the buffer will be shared between cores |
| id | a stream ID, accessible later by sink_get_id/source_get_id |