mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
stream: rename _drive() to _trigger_process()
Should be a bit more intuitive to understand what it will do.
This commit is contained in:
parent
47fe5b550d
commit
3c97090ba0
6 changed files with 14 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue