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