diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-08-27 21:36:15 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-08-27 21:36:15 +0200 |
commit | 7c865f5db0469842b853bd1438fb0fc97caee10c (patch) | |
tree | ed06af77c4a045bfeb1162d39b124df01fbe085b /src/modules/module-client-node/client-node.c | |
parent | b356c83d32516dd929adeb29eac975c84e4d1dfc (diff) |
io: add support for segment
Move fields from the io_position to io_segment. The segment contains
the mapping between raw clock time and stream time in various
formats. We keep an array of pending segments available in the
io_position field so clients can anticipate changes.
Make looping a flag in the segment instead of a state.
Prepare for segment masters. These will be registered clients that
are responsible for updating parts of the extended segment info.
Add namespace to some defines.
Diffstat (limited to 'src/modules/module-client-node/client-node.c')
-rw-r--r-- | src/modules/module-client-node/client-node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-client-node/client-node.c b/src/modules/module-client-node/client-node.c index fabe1495..61960a3a 100644 --- a/src/modules/module-client-node/client-node.c +++ b/src/modules/module-client-node/client-node.c @@ -880,7 +880,7 @@ static int impl_node_process(void *object) spa_log_trace_fp(this->log, "%p: send process driver:%p", this, impl->this.node->driver_node); spa_system_clock_gettime(this->data_system, CLOCK_MONOTONIC, &ts); - n->rt.activation->status = TRIGGERED; + n->rt.activation->status = PW_NODE_ACTIVATION_TRIGGERED; n->rt.activation->signal_time = SPA_TIMESPEC_TO_NSEC(&ts); if (spa_system_eventfd_write(this->data_system, this->writefd, 1) < 0) |