Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 1948 - Buffer sizes below 20 ms (30 ms with MME) can cause clicky playback
Buffer sizes below 20 ms (30 ms with MME) can cause clicky playback
Status: RESOLVED NOT-A-BUG
Product: Audacity
Classification: Unclassified
Component: Audio IO
2.3.0
Per OS Other
: P5 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-26 09:29 UTC by Peter Sampson
Modified: 2019-08-04 17:49 UTC (History)
6 users (show)

See Also:
Steps To Reproduce:
1) reduce Buffer size to less than 20 ms (or 30 ms with Windows MME) 2) use various forms of playback 3) observe clicky playback
Release Note:
Group: Playback and Recording *Using a latency buffer size (set in Devices preferences) of less than 20 ms (or 30 ms if you are using Windows MME host) can cause clicky playback.
First Git SHA:
Group: ---
Workaround:
Do not use a buffer size of less than 20 ms (or 30 ms if using MME default host on Windows)
Closed: 2019-08-04 00:00:00
petersampsonaudacity: Must‑Test‑All‑OS+
petersampsonaudacity: Regression-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sampson 2018-08-26 09:29:23 UTC
Low values for buffer sizes can cause clicky playback with all forms of playback.

The sweetspot appears to be 20 ms for WASAPI and WDS on Windows and on Mac.  With MME host on windows sub 30 ms buffer size can cause clicketty playback.

(I do sometimes seem to be able to avoid clicketies on WASAPI with ultra-low buffer sizes - but this is not consistent).

Made P4 as we do not want to Release Note this for 2.3.0

-------------------------------------------

A possible solution:
a) Make 20 ms the minimum buffer setting

b) Add a warning in the app for settings od 20-30 ms that clicky playback may result.

c) document the buffer size recommendations in the Manual - DONE for 2.3.0 on the Devices Preferences page.
Comment 1 Peter Sampson 2018-08-26 09:45:35 UTC
This is a residual of Bug #1932
Comment 2 Peter Sampson 2018-08-29 10:57:24 UTC
Elevated to P3 - we should Release Note this (I added one here)
Comment 3 James Crook 2019-07-31 06:38:03 UTC
Demoting to P5.  It may even be NOT-A-BUG.

30ms is not the default.
If a user reduces the buffer size they jolly well should already know it is a trade off.  If a user sets a buffer of 20ms and the PC is not fast enough to keep up - well - we can't fix that.  So this is just a 'bug' that can never be fixed, and so clogging up the bug tracker.

This information is already clearly shown on the Devices_Preferences manual page which is linked to from the preference page.  Perhaps this 'bug' could motivate improvements to the https://wiki.audacityteam.org/wiki/Proposal_Smart_Help proposal.
Comment 4 Steve Daulton 2019-07-31 06:49:28 UTC
(In reply to James Crook from comment #3)
I'd say "Not a Bug", but perhaps our documentation is not sufficiently clear.

Anyone that is familiar with ASIO or Jack will be well aware that reducing the size of audio buffers can reduce latency, but go too far and there will be dropouts. Users that are not familiar with ASIO or Jack probably will not know that, so our documentation must make it clear.
Comment 5 James Crook 2019-08-04 17:49:18 UTC
Originally tracked because it was thought to be a residual, but actually is OK behaviour.