diff --git a/AudioDevice.py b/AudioDevice.py index 8d89ffc..fe5128a 100644 --- a/AudioDevice.py +++ b/AudioDevice.py @@ -18,7 +18,7 @@ class AudioDevice(object): self.bufL = [] self.bufIdx = -1 self.srate = 0 - self.ch_cnt = 1 + self.ch_cnt = 2 def setup( self, **kwargs ): @@ -63,11 +63,11 @@ class AudioDevice(object): } return d - + def get_port_list( self, inFl ): devLabelL = str(sd.query_devices()).split("\n") - + portL = [] for i,dev in enumerate(sd.query_devices()): isInputFl = dev['max_input_channels'] > 0