mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
Improve padding
Write out 0 while padding to make sure all memory is initialized Remove the fd from the loop before destroying the node.
This commit is contained in:
parent
a1dad30fd1
commit
905743dac6
8 changed files with 81 additions and 78 deletions
|
|
@ -241,8 +241,10 @@ send_clock_update (PinosNode *this)
|
|||
cu.ticks = 0;
|
||||
cu.monotonic_time = 0;
|
||||
}
|
||||
cu.offset = 0;
|
||||
cu.scale = (1 << 16) | 1;
|
||||
cu.state = SPA_CLOCK_STATE_RUNNING;
|
||||
cu.latency = 0;
|
||||
|
||||
if ((res = spa_node_send_command (this->node, &cu.command)) < 0)
|
||||
pinos_log_debug ("got error %d", res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue