summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sounddevice.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/sounddevice.py b/sounddevice.py
index b4f505f..a5190b9 100644
--- a/sounddevice.py
+++ b/sounddevice.py
@@ -459,7 +459,6 @@ def wait():
get_status
"""
- global _last_callback
if _last_callback:
return _last_callback.wait()
@@ -473,7 +472,6 @@ def stop(ignore_errors=True):
:class:`RawInputStream`, :class:`RawOutputStream`.
"""
- global _last_callback
if _last_callback:
_last_callback.stream.close(ignore_errors)