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

Question about buffering #54

Open
Raymonk975 opened this issue Jul 17, 2016 · 1 comment
Open

Question about buffering #54

Raymonk975 opened this issue Jul 17, 2016 · 1 comment

Comments

@Raymonk975
Copy link

Hello,
i am using JACK audio on a small Windows computer.
I know JACK is intented to be low latency but in my case i would like to set a larger buffering to ease the CPU workload.
I have successfully set the buffer to 8192 samples, but it doesn't seem to work for higher values.
Is possible to allow for larger buffers?

Thank you for this very useful piece of software!

@mseeber
Copy link
Contributor

mseeber commented Jul 18, 2016

The BUFFER_SIZE_MAX is defined in "common/JackConstants.h" to 8192 samples. You would have to build jack2 yourself to change that maximum.

Furthermore, increasing the buffer size beyond this will not yield the results you seek. The overhead you are trying to reduce by increasing the buffer size is already so small, that it will not bring you any noticeable performance boost by increasing the buffer size.

Your system is simply overwhelmed by the required computation time.
You may:

  • remove clients from jack
  • upgrade your hardware
  • improve your signal processing clients to use less computational resources
  • partition your signal processing graph in a way, that allows for the workload to be split across multiple processors, if available and if possible.

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