Browse Source
audio: Interpolate system manager sample count using host sink sample info
audio: Interpolate system manager sample count using host sink sample info
This avoids the need to stall if the host sink sporadically misses the deadline, in such a case the previous implementation would report them samples as being played on-time, causing the guest to send more samples and leading to a gradual buildup.pull/15/merge
4 changed files with 39 additions and 3 deletions
-
3src/audio_core/device/device_session.cpp
-
1src/audio_core/renderer/system_manager.cpp
-
21src/audio_core/sink/sink_stream.cpp
-
17src/audio_core/sink/sink_stream.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue