mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
node: process -> ready
Change the process callback to ready to avoid confusion with the process method and it also describes better what happened.
This commit is contained in:
parent
8ae5424359
commit
3c78036a97
13 changed files with 28 additions and 27 deletions
|
|
@ -1139,8 +1139,9 @@ static void node_on_data_fd_events(struct spa_source *source)
|
|||
if (read(this->data_source.fd, &cmd, sizeof(cmd)) != sizeof(cmd) || cmd != 1)
|
||||
spa_log_warn(this->log, "node %p: read %"PRIu64" failed %m", this, cmd);
|
||||
|
||||
spa_log_trace(this->log, "node %p: got process", this);
|
||||
this->callbacks->process(this->callbacks_data, SPA_STATUS_HAVE_BUFFER);
|
||||
spa_log_trace(this->log, "node %p: got ready", this);
|
||||
if (this->callbacks && this->callbacks->ready)
|
||||
this->callbacks->ready(this->callbacks_data, SPA_STATUS_HAVE_BUFFER);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue