mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
|
@ -233,7 +233,7 @@ static void update_props(struct data *data)
|
|||
data->volume_accum -= M_PI_M2;
|
||||
}
|
||||
|
||||
static void on_sink_process(void *_data, int status)
|
||||
static void on_sink_ready(void *_data, int status)
|
||||
{
|
||||
struct data *data = _data;
|
||||
|
||||
|
|
@ -255,7 +255,7 @@ static const struct spa_node_callbacks sink_callbacks = {
|
|||
SPA_VERSION_NODE_CALLBACKS,
|
||||
.done = on_sink_done,
|
||||
.event = on_sink_event,
|
||||
.process = on_sink_process,
|
||||
.ready = on_sink_ready,
|
||||
.reuse_buffer = on_sink_reuse_buffer
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue