From f063cd1b427b90907a671a7be4427f6c2290914c Mon Sep 17 00:00:00 2001 From: Matthew Walker Date: Sun, 20 Dec 2020 00:38:43 +1300 Subject: High latency doc (#263) --- sounddevice.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sounddevice.py b/sounddevice.py index e84687a..9f03ac3 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -1638,6 +1638,12 @@ class Stream(InputStream, OutputStream): next practical value -- i.e. to provide an equal or higher latency wherever possible. Actual latency values for an open stream may be retrieved using the `latency` attribute. + + .. note:: Specifying the desired latency as 'high' does + not guarantee a stable audio stream. For reference, by + default Audacity specifies a desired latency of 100ms and + achieves robust performance. + extra_settings : settings object or pair thereof, optional This can be used for host-API-specific input/output settings. See `default.extra_settings`. -- cgit v1.2.3