-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Division by Zero Error in audioOffsetMs Calculation #857
Conversation
any updates on this ? |
The linter error'd out... (Looking at why the pipeline results aren't showing up) |
typo fixed from != to !==
I updated the code accordingly |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Pipeline is failing because of ADO config. Manual build 149400 passed |
Quick question |
We generally release every couple months. The current release (1.41) should go live in the next day. |
This pull request addresses a potential division by zero error in the calculation of audioOffsetMs within the ServiceRecognizerBase.ts file. The fix ensures that if this.privAverageBytesPerMs is zero, audioOffsetMs is set to zero instead of attempting to perform the division.
UAT Tracker ID : 304110
Changes Made:
Code Changes:
Tested Scenario: