播报中说话会停掉声音,而且不拾音bug修复
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m56s

This commit is contained in:
libingxiang 2026-06-25 15:47:38 +08:00
parent beba6b81ce
commit 4bf7369f92

View File

@ -546,7 +546,7 @@ export function useDigitalHuman(options?: {
config.connectParams.pullAudioFromRtc = mode === "rtc"; config.connectParams.pullAudioFromRtc = mode === "rtc";
config.connectParams.pickAudioMode = config.connectParams.pickAudioMode =
mode === "btn" ? "pressButton" : "free"; mode === "btn" ? "pressButton" : "free";
config.connectParams.enableInterrupt = enableInterruptRef.value; config.connectParams.enableInterrupt = false;
} }
humanInstanceRef.value = new RealTimeHuman(config); humanInstanceRef.value = new RealTimeHuman(config);