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:
Wim Taymans 2019-02-14 17:04:59 +01:00
parent 8ae5424359
commit 3c78036a97
13 changed files with 28 additions and 27 deletions

View file

@ -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
};