mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
spa: use clock info
Use the port clock io area to get timing info and use this as the time in the graph when we wake up.
This commit is contained in:
parent
2b1b356455
commit
d3c203b744
10 changed files with 134 additions and 15 deletions
|
|
@ -290,6 +290,7 @@ struct pw_node {
|
|||
struct pw_loop *data_loop; /**< the data loop for this node */
|
||||
|
||||
struct {
|
||||
struct spa_io_clock *clock; /**< io area of the clock or NULL */
|
||||
struct pw_driver_quantum *quantum;
|
||||
struct spa_graph *driver;
|
||||
struct spa_graph_node root;
|
||||
|
|
@ -355,6 +356,7 @@ struct pw_port {
|
|||
|
||||
struct {
|
||||
struct spa_io_buffers io; /**< io area of the port */
|
||||
struct spa_io_clock clock; /**< io area of the clock */
|
||||
struct spa_graph_port port; /**< this graph port, linked to mix_port */
|
||||
struct spa_graph_port mix_port; /**< port from the mixer */
|
||||
struct spa_graph_node mix_node; /**< mixer node */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue