diff options
| -rw-r--r-- | sounddevice.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sounddevice.py b/sounddevice.py index 08ce34c..2a89fc5 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -1180,6 +1180,8 @@ class _StreamBase(object): active """ + if self.closed: + return True return _check(_lib.Pa_IsStreamStopped(self._ptr)) == 1 @property |
