Skip to content

Commit

Permalink
Clarify preferred buffer size explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
dechamps committed May 14, 2024
1 parent e25d2bd commit 5837204
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ that the QA40x hardware queue is always being drained, and hopefully stays
nearly empty at all times.

At 48 kHz, the best tradeoff between reliability and latency is likely to be
1024 samples; this ensures there is always some data queued on the USB host side
to keep the QA40x hardware output queue nearly filled at all times. Smaller
buffers only make sense if you care about latency. Larger buffers will always
improve reliability and efficiency by relaxing scheduling constraints and
allowing for more data to be preloaded, but come with diminishing returns.
1024 samples; this ensures the QA40x hardware queue is always full (under the
assumption that buffer switches are instant). Smaller buffers only make sense if
you care about latency. Larger buffers will always improve reliability and
efficiency by relaxing scheduling constraints and allowing for more data to be
preloaded, but come with diminishing returns.

At higher sample rates, it is recommended to use a larger buffer size due to the
tigher buffer processing deadlines that could otherwise result in
Expand Down

0 comments on commit 5837204

Please sign in to comment.