👍️[Update] Controller : 文言を修正
ENERGYを削除
This commit is contained in:
@@ -7,11 +7,11 @@ export const useSpeakerThreshold = () => {
|
||||
const { updateEnableAutomaticSpeakerThreshold, currentEnableAutomaticSpeakerThreshold, pendingEnableAutomaticSpeakerThreshold } = useStore_EnableAutomaticSpeakerThreshold();
|
||||
|
||||
const getSpeakerThreshold = () => {
|
||||
asyncStdoutToPython("/get/data/speaker_energy_threshold");
|
||||
asyncStdoutToPython("/get/data/speaker_threshold");
|
||||
};
|
||||
|
||||
const setSpeakerThreshold = (speaker_threshold) => {
|
||||
asyncStdoutToPython("/set/data/speaker_energy_threshold", speaker_threshold);
|
||||
asyncStdoutToPython("/set/data/speaker_threshold", speaker_threshold);
|
||||
};
|
||||
|
||||
const getEnableAutomaticSpeakerThreshold = () => {
|
||||
|
||||
@@ -155,8 +155,8 @@ export const useReceiveRoutes = () => {
|
||||
|
||||
"/get/data/mic_threshold": updateMicThreshold,
|
||||
"/set/data/mic_threshold": updateMicThreshold,
|
||||
"/get/data/speaker_energy_threshold": updateSpeakerThreshold,
|
||||
"/set/data/speaker_energy_threshold": updateSpeakerThreshold,
|
||||
"/get/data/speaker_threshold": updateSpeakerThreshold,
|
||||
"/set/data/speaker_threshold": updateSpeakerThreshold,
|
||||
|
||||
"/get/data/mic_automatic_threshold": updateEnableAutomaticMicThreshold,
|
||||
"/set/enable/mic_automatic_threshold": updateEnableAutomaticMicThreshold,
|
||||
|
||||
Reference in New Issue
Block a user