Skip to content

sco-source: update clock position and duration at correct rate

P V requested to merge pvir/pipewire:sco-clock into master

The clock for sco-source may run at a different rate than the capture rate. Update its position taking this into account.

This fixes CVSD & MSBC recording from SCO source for me with gnome-sound-recorder. Other SPA plugins are not making the adjustment for clock rate in this way, so pipewire expert comments on how this should be done (if not like this) would be welcome.

Merge request reports