mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
buffer: remove buffer id
The buffer id is not needed/used, we use the index of the buffer in the buffer array when configuring the port.
This commit is contained in:
parent
e918f9f77c
commit
5b7ddb0105
33 changed files with 167 additions and 65 deletions
|
|
@ -716,9 +716,9 @@ again:
|
|||
if (state->ready_offset >= size) {
|
||||
spa_list_remove(&b->link);
|
||||
SPA_FLAG_SET(b->flags, BUFFER_FLAG_OUT);
|
||||
state->io->buffer_id = b->buf->id;
|
||||
spa_log_trace(state->log, "alsa-util %p: reuse buffer %u", state, b->buf->id);
|
||||
state->callbacks->reuse_buffer(state->callbacks_data, 0, b->buf->id);
|
||||
state->io->buffer_id = b->id;
|
||||
spa_log_trace(state->log, "alsa-util %p: reuse buffer %u", state, b->id);
|
||||
state->callbacks->reuse_buffer(state->callbacks_data, 0, b->id);
|
||||
state->ready_offset = 0;
|
||||
}
|
||||
written += n_frames;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue