mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-07 18:43:08 +00:00
chore: 播放状态检测间隔上调到 500ms
This commit is contained in:
parent
359a61edcb
commit
1ad10a95d2
|
@ -43,7 +43,7 @@ export type BaseSpeakerConfig = MiServiceConfig & {
|
|||
*/
|
||||
wakeUpCommand?: ActionCommand;
|
||||
/**
|
||||
* 检测间隔(单位毫秒,默认 100 毫秒)
|
||||
* 检测间隔(单位毫秒,默认 500 毫秒)
|
||||
*/
|
||||
interval?: number;
|
||||
/**
|
||||
|
@ -65,7 +65,7 @@ export class BaseSpeaker {
|
|||
constructor(config: BaseSpeakerConfig) {
|
||||
this.config = config;
|
||||
const {
|
||||
interval = 100,
|
||||
interval = 500,
|
||||
tts = "xiaoai",
|
||||
ttsCommand = [5, 1],
|
||||
wakeUpCommand = [5, 3],
|
||||
|
|
Loading…
Reference in New Issue
Block a user