Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Method Usage #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# IDE settings
.vscode

# Windows image file caches
Thumbs.db
ehthumbs.db
Expand Down
4 changes: 2 additions & 2 deletions python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,8 +838,8 @@ def __init__(self, callback_func):
self.devices = []

#for each audio device, add to list of devices
for i in range(0,self.numdevices):
device_info = py_audio.get_device_info_by_host_api_device_index(0,i)
for i in range(0, self.numdevices):
device_info = py_audio.get_device_info_by_index(i)
if device_info["maxInputChannels"] > 1:
self.devices.append(device_info)

Expand Down