mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
clarify that buffers remain alive until the remove_buffer callback returns
In order for stream buffers to be captured and then processed by other threads, pipewire needs to guarantee that the buffer will remain alive until the application is notified of its removal. In this case pipewire uses the "remove_buffer" callback to notify the application that a buffer is about to be removed, so pipewire must guarantee that it is alive up to that point.
This commit is contained in:
parent
90b11e3c49
commit
44f4845df3
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ extern "C" {
|
|||
* metadata of the buffer.
|
||||
*
|
||||
* The buffer is owned by the stream and stays alive until the
|
||||
* remove_buffer event is emitted or the stream is destroyed.
|
||||
* remove_buffer callback has returned or the stream is destroyed.
|
||||
*
|
||||
* When the buffer has been processed, call \ref pw_stream_queue_buffer()
|
||||
* to let PipeWire reuse the buffer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue