mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
stream: add more timing info
Keep track of queued data in the stream Pass delay field around to make it possible to know about the raw software read/write pointer and the hardware one. Start stream position at 0
This commit is contained in:
parent
d3c203b744
commit
0d148654c0
8 changed files with 72 additions and 21 deletions
|
|
@ -227,7 +227,8 @@ struct pw_module {
|
|||
struct pw_driver_quantum {
|
||||
uint64_t nsec; /**< time in nanoseconds */
|
||||
struct spa_fraction rate; /**< rate */
|
||||
uint32_t position; /**< current position expressed in rate */
|
||||
uint64_t position; /**< current position expressed in rate */
|
||||
uint64_t delay; /**< delay to hardware */
|
||||
uint32_t size; /**< size of one period expressed in rate */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue