-
Notifications
You must be signed in to change notification settings - Fork 191
Smaller audio buffers config option #308
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
base: master
Are you sure you want to change the base?
Conversation
adf66cb
to
98e9cc7
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
parameter hence allowing for differently sized bufers to be used (for instance with audio input)
Memory usage change @ 8c1a6e7
Click for full report table
Click for full report CSV
|
Alright, I think this looks good. Just like other configuration, the output buffer can be configured with: #define MOZZI_OUTPUT_BUFFER_SIZE 16 // from 256 to 1, in power of two should work Reducing the buffer size allows to save some ram space, which can be critical in some cases, but it also has a greater chance to run into buffer underflow. It also should reduce the latency. This option does not have an effect on all mode/platform combination. If the option is not applyable, Mozzi does not block the compilation but returns a warning. Will give me a bit of time to work on personal projects with this version, see if any unforecasted bug appears. @Meebleeps in case you have transitioned to Mozzi2, you are very welcome to try :) |
Memory usage change @ fd6dfae
Click for full report table
Click for full report CSV
|
In response to #281 .
This allows to configure
#MOZZI_BUFFER_SIZE
from the previous default value of 256 to smaller values, reducing the latency.Status: in progress
Tasks: