[Update/WIP] Config Page: Device Tab. 音量チェックができるように(Dev)

This commit is contained in:
Sakamoto Shiina
2024-09-08 13:59:12 +09:00
parent ef5eb2fb40
commit e0d9c99075
4 changed files with 136 additions and 60 deletions

View File

@@ -28,7 +28,7 @@ export const useReceiveRoutes = () => {
updateSelectedSpeakerDevice,
} = useConfig();
const { updateVolumeVariable_Mic } = useVolume();
const { updateVolumeVariable_Mic, updateVolumeVariable_Speaker } = useVolume();
const routes = {
"/controller/callback_enable_translation": updateTranslationStatus,
@@ -54,6 +54,7 @@ export const useReceiveRoutes = () => {
"/controller/callback_set_speaker_device": updateSelectedSpeakerDevice,
"/action/check_mic_threshold_energy": updateVolumeVariable_Mic,
"/action/check_speaker_threshold_energy": updateVolumeVariable_Speaker,
"/controller/callback_messagebox_send": updateSentMessageLog,