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

Silence causes excessive processing time #2

Open
0m-ax opened this issue Mar 1, 2019 · 1 comment
Open

Silence causes excessive processing time #2

0m-ax opened this issue Mar 1, 2019 · 1 comment

Comments

@0m-ax
Copy link

0m-ax commented Mar 1, 2019

If the audio source is completely silent then it can take up to 20ms to process a single packet of data, thus causing the audio output to become delayed. This is caused by SlidingWindowMax. It can be fixed by reducing SAMPLES_WINDOW to 0.5 the frequency but this does not seem like a very elegant solution.

@chrvadala
Copy link
Owner

chrvadala commented Mar 4, 2019

Could you attach a sample on 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

No branches or pull requests

2 participants