summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Walker <mattgwwalker@gmail.com>2020-12-20 00:38:43 +1300
committerGitHub <noreply@github.com>2020-12-19 12:38:43 +0100
commitf063cd1b427b90907a671a7be4427f6c2290914c (patch)
tree5585b60ceb35f035f25755d766fea8e718964808
parent2ea706495cf2fa262199c0c2617230c935dc3b8b (diff)
High latency doc (#263)
-rw-r--r--sounddevice.py6
1 files changed, 6 insertions, 0 deletions
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`.