chore: 播放状态检测间隔上调到 500ms

This commit is contained in:
WJG 2024-05-26 19:14:47 +08:00
parent 359a61edcb
commit 1ad10a95d2
No known key found for this signature in database
GPG Key ID: 258474EF8590014A

View File

@ -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],