fix: 长按阈值调回 1s

This commit is contained in:
Alvin Young 2026-06-11 14:22:21 +08:00
parent 072a571a89
commit 1bb0d3895b

View File

@ -20,7 +20,7 @@ class ConfigManager;
* STT
*
* 1. CapsLock
* 2. 3s CapsLock
* 2. 1s CapsLock
* 3. CapsLock
* 4. < CapsLock
*/
@ -44,7 +44,7 @@ public:
/** @brief 是否正在录音 */
bool isRecording() const { return recording_; }
/** @brief 长按阈值(毫秒),默认 3000ms */
/** @brief 长按阈值(毫秒),默认 1000ms */
void setLongPressThreshold(int ms) { longPressThreshold_ = ms; }
int longPressThreshold() const { return longPressThreshold_; }