Skip to content

Conversation

@singalsu
Copy link
Collaborator

Workaround, not yet root cause fix for start of streaming. The divide by zero would happen in source_get_data_frames_available() right after this addition.

Workaround, not yet root cause fix for start of streaming. The
divide by zero would happen in source_get_data_frames_available()
right after this addition.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@keqiaozhang
Copy link
Collaborator

SOFCI TEST

s2 = cd->src.stage2;

/* Workaround for a pipeline issue in beginning of processing */
if (!source_get_frame_bytes(source))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@singalsu lets take the real fix, the WA is just hiding the issue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, it looks like SSP copier is clearing the source parameters in copy start.

@btian1
Copy link
Contributor

btian1 commented Aug 21, 2023

what's the issue link for this zero case?

@singalsu
Copy link
Collaborator Author

Closing this #8084 fixes the root cause.

@singalsu singalsu closed this Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants