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

buffer not being flushed when the input buffer size is less than set buffer_size in AudioToTextXForm Module #335

Open
kushaljain-apra opened this issue Mar 1, 2024 · 0 comments · May be fixed by #336
Assignees

Comments

@kushaljain-apra
Copy link
Collaborator

Describe the bug
In AudioToTextXForm module, the buffer is not being flushed when the input buffer size is less than set buffer_size which creates a problem for the next frames.

To Reproduce
Create a test in audiototextxform_tests with filereader and audiototextxform module. Use the pcm file used by other tests and set the buffer size to 160000. Run the pipeline twice and check the buffer size for each iteration. In first iteration it is 157600 and in the second its doubled to 315200 indicating that the previous buffer is not flushed.

Expected behavior
Buffer should get flushed before the next frame is read.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. chrome, safari]
  • Cuda Version [e.g. 22]
  • Architecture [e.g. x86_64, arm64]

Additional context
Add any other context about the problem here.

Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

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 a pull request may close this issue.

1 participant