mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
jack: Improve transport BBT handling
The bar can start from 0 in JACK. Add bar_start_tick and ticks_per_beat to the io_segment_bar so that we can losslesly store the complete jack BBT values. See #4314
This commit is contained in:
parent
b34a97017d
commit
5bed12569d
2 changed files with 32 additions and 27 deletions
|
|
@ -191,7 +191,9 @@ struct spa_io_segment_bar {
|
|||
float signature_denom; /**< time signature denominator */
|
||||
double bpm; /**< beats per minute */
|
||||
double beat; /**< current beat in segment */
|
||||
uint32_t padding[8];
|
||||
double bar_start_tick;
|
||||
double ticks_per_beat;
|
||||
uint32_t padding[4];
|
||||
};
|
||||
|
||||
/** video frame segment */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue