Skip to content
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 skipped audio chunk #318

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

makaveli10
Copy link
Collaborator

While incrementing the timestamp offset for the audio frames if a segment is repeated n number of times we should ideally increment it by the end time of the first repitition of this segment otherwise it is possible that we include some of the audio from the next segment which is not yet transcribed and is lost forever.

This PR records the end time of the first repitition and uses that to increment the timestamp offset if the number of repititions are more than the threshold.

…f a segment

Signed-off-by: makaveli10 <vineet.suryan@collabora.com>
@makaveli10 makaveli10 force-pushed the fix_skipped_audio_chunk branch from 00346df to 182b5cb Compare January 8, 2025 13:58
@makaveli10 makaveli10 merged commit 953a88c into collabora:main Jan 13, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants