Skip to content

null-sink: Recalculate max_request and max_rewind while resuming sink

When sink is suspended for reconfiguration changing sample spec, upon resume internal thread_info max_request and max_rewind are out of date and possibly not aligned to frame size anymore.

Recalculate thread max_request and max_rewind before resuming sink.

This fixes the crash reported here https://bugs.gentoo.org/821271

Edited by Igor Kovalenko

Merge request reports