👍️[Update] Model : Deviceの変更監視処理を追加

マイク/スピーカーの別々のスレッドの処理を一つにまとめたら動いた
This commit is contained in:
misyaguziya
2024-09-14 03:09:19 +09:00
parent a40529aaa5
commit 551bc424b8
3 changed files with 48 additions and 62 deletions

View File

@@ -241,10 +241,12 @@ action_mapping = {
"download":"/action/download_whisper_weight"
},
"/controller/callback_enable_mic_automatic_selection": {
"mic":"/controller/callback_set_mic_device"
"mic":"/controller/callback_set_mic_device",
"speaker":"/controller/callback_set_speaker_device",
},
"/controller/callback_enable_speaker_automatic_selection": {
"speaker":"/controller/callback_set_speaker_device"
"mic":"/controller/callback_set_mic_device",
"speaker":"/controller/callback_set_speaker_device",
}
}