pyaudio -> sounddevice
This commit is contained in:
@@ -204,7 +204,7 @@ class ToplevelWindowConfig(customtkinter.CTkToplevel):
|
||||
self.label_input_mic_device.grid(row=0, column=0, columnspan=1, padx=5, pady=5, sticky="nsw")
|
||||
self.optionmenu_input_mic_device = customtkinter.CTkOptionMenu(
|
||||
self.tabview_config.tab("Transcription"),
|
||||
values=list(self.parent.vr.input_device_dict.keys()),
|
||||
values=[device["name"] for device in self.parent.vr.search_input_device()],
|
||||
command=self.optionmenu_input_mic_device_callback,
|
||||
font=customtkinter.CTkFont(family=self.parent.FONT_FAMILY),
|
||||
variable=customtkinter.StringVar(value=self.parent.CHOICE_MIC_DEVICE)
|
||||
@@ -277,7 +277,7 @@ class ToplevelWindowConfig(customtkinter.CTkToplevel):
|
||||
self.label_input_speaker_device.grid(row=4, column=0, columnspan=1, padx=5, pady=5, sticky="nsw")
|
||||
self.optionmenu_input_speaker_device = customtkinter.CTkOptionMenu(
|
||||
self.tabview_config.tab("Transcription"),
|
||||
values=list(self.parent.vr.input_device_dict.keys()),
|
||||
values=[device["name"] for device in self.parent.vr.search_output_device()],
|
||||
# command=self.optionmenu_input_speaker_device_callback,
|
||||
font=customtkinter.CTkFont(family=self.parent.FONT_FAMILY),
|
||||
variable=customtkinter.StringVar(value=self.parent.CHOICE_SPEAKER_DEVICE),
|
||||
|
||||
Reference in New Issue
Block a user