Skip to content

v2.8-rc1

@jxstelter jxstelter tagged this 07 Dec 19:54
This patch prevents division by zero, when
source_get_frame_bytes() routine returns 0.

This change fixes issue https://github.com/thesofproject/sof/issues/8414.
The problem happens due to race condition during pipeline pause operation.
The exact failure mechanism require additional debug, but checking
frame_bytes value before division prevents exceptions.

Signed-off-by: Jaroslaw Stelter <[email protected]>
(cherry picked from commit d467eee4ca227b234ca4966933474d0c9a7574c3)
Signed-off-by: Kai Vehmanen <[email protected]>
Assets 2
Loading