Skip to content

Commit

Permalink
Remove use of deprecated speech.set_microphone action (talonhub#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson authored Mar 9, 2023
1 parent e2abb64 commit 7f63136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/microphone_selection/microphone_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def microphone_selection_hide():
def microphone_select(index: int):
"""Selects a micropohone"""
if 1 <= index and index <= len(microphone_device_list):
actions.speech.set_microphone(microphone_device_list[index - 1])
actions.sound.set_microphone(microphone_device_list[index - 1])
app.notify(f"Activating microphone: {microphone_device_list[index - 1]}")
gui.hide()

Expand Down

0 comments on commit 7f63136

Please sign in to comment.