diff --git a/NoiseGatev2.py b/NoiseGatev2.py index 9602b35..c65d304 100644 --- a/NoiseGatev2.py +++ b/NoiseGatev2.py @@ -11,12 +11,12 @@ from pprint import pformat voice_connection = None LOGGER = logging.getLogger("Discord_Radio_Bot.NoiseGateV2") -DEFAULT = 48000 +DEFAULT = 0 # noinspection PyUnresolvedReferences class AudioStream: - def __init__(self, _channels: int = 2, _sample_rate: int = DEFAULT, _frames_per_buffer: int = 1024, + def __init__(self, _channels: int = 2, _sample_rate: int = 48000, _frames_per_buffer: int = 1024, _device_index: int = None, _init_on_startup: bool = True): self.sd_kwargs = { 'dtype': 'int16',