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