Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Oct 30, 2023
1 parent 8f5c12f commit 8bd86a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/python/koala_demo_mic.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import contextlib
import math
import struct
import sys
import wave

from pvkoala import create, KoalaActivationLimitError
Expand Down Expand Up @@ -45,7 +44,7 @@ def main():
args = parser.parse_args()

if args.show_audio_devices:
for index, name in enumerate(PvRecorder.get_audio_devices()):
for index, name in enumerate(PvRecorder.get_available_devices()):
print('Device #%d: %s' % (index, name))
return

Expand Down

0 comments on commit 8bd86a7

Please sign in to comment.