Merge from master #5

Merged
logan merged 65 commits from master into NoiseGateV2 2022-02-27 21:47:09 -05:00
Showing only changes of commit 002288d632 - Show all commits

View File

@@ -30,8 +30,15 @@ class PCMStream:
def clean_up(self):
if self.stream is not None:
self.stream.stop()
self.stream.close()
try:
self.stream.stop()
except Exception as e:
print(f"Error on Stop: '{e}'")
try:
self.stream.close()
except Exception as e:
print(f"Error on Close: '{e}'")
class DeviceNotFoundError(Exception):