stream: rename _drive() to _trigger_process()

Should be a bit more intuitive to understand what it will do.
This commit is contained in:
Wim Taymans 2021-08-06 15:32:21 +02:00
parent 47fe5b550d
commit 3c97090ba0
6 changed files with 14 additions and 13 deletions

View file

@ -284,7 +284,7 @@ on_stream_io_changed(void *_data, uint32_t id, void *area, uint32_t size)
static void on_timeout(void *userdata, uint64_t expirations)
{
struct data *data = userdata;
pw_stream_drive(data->stream);
pw_stream_trigger_process(data->stream);
}
/* Be notified when the stream param changes. We're only looking at the

View file

@ -181,7 +181,7 @@ static void on_timeout(void *userdata, uint64_t expirations)
{
struct data *data = userdata;
pw_log_trace("timeout");
pw_stream_drive(data->stream);
pw_stream_trigger_process(data->stream);
}
/* when the stream is STREAMING, start the timer at 40ms intervals

View file

@ -185,7 +185,7 @@ static void on_timeout(void *userdata, uint64_t expirations)
{
struct data *data = userdata;
pw_log_trace("timeout");
pw_stream_drive(data->stream);
pw_stream_trigger_process(data->stream);
}
/* when the stream is STREAMING, start the timer at 40ms intervals

View file

@ -178,7 +178,7 @@ static void on_timeout(void *userdata, uint64_t expirations)
{
struct data *data = userdata;
pw_log_trace("timeout");
pw_stream_drive(data->stream);
pw_stream_trigger_process(data->stream);
}
static void on_stream_state_changed(void *_data, enum pw_stream_state old, enum pw_stream_state state,