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

@ -624,7 +624,7 @@ static void a2dp_on_timeout(struct spa_source *source)
this->range->min_size = this->threshold * this->frame_size;
this->range->max_size = this->write_samples * this->frame_size;
}
this->callbacks->process(this->callbacks_data, SPA_STATUS_NEED_BUFFER);
this->callbacks->ready(this->callbacks_data, SPA_STATUS_NEED_BUFFER);
}
flush_data(this, now_time);
}