Typo
This commit is contained in:
@@ -7,11 +7,11 @@ from threading import Thread
|
||||
sound_buffer = []
|
||||
|
||||
|
||||
class AudioSteam(Thread):
|
||||
class AudioStream(Thread):
|
||||
def __init__(self, _channels: int = 1, _sample_rate: int = 48000, _frames_per_buffer: int = 2048,
|
||||
_input_device_index: int = None, _output_device_index: int = None, _input: bool = True,
|
||||
_output: bool = True):
|
||||
super(AudioSteam, self).__init__()
|
||||
super(AudioStream, self).__init__()
|
||||
self.paInstance_kwargs = {
|
||||
'format': pyaudio.paFloat32,
|
||||
'channels': _channels,
|
||||
@@ -91,7 +91,7 @@ class AudioSteam(Thread):
|
||||
self.paInstance.get_device_info_by_host_api_device_index(0, i).get('name'))
|
||||
|
||||
|
||||
class NoiseGate(AudioSteam):
|
||||
class NoiseGate(AudioStream):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user