diff options
| -rw-r--r-- | sounddevice.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sounddevice.py b/sounddevice.py index d12bcf9..1b85da9 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -592,6 +592,9 @@ def stop(ignore_errors=True): """ if _last_callback: + # Calling stop() before close() is necessary for older PortAudio + # versions, see issue #87: + _last_callback.stream.stop(ignore_errors) _last_callback.stream.close(ignore_errors) |
