@adminforth/agent 1.43.12 → 1.43.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log
CHANGED
|
@@ -60,5 +60,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
60
60
|
custom/speech_recognition_frontend/types/
|
|
61
61
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
62
62
|
|
|
63
|
-
sent 1,664,000 bytes received
|
|
63
|
+
sent 1,664,000 bytes received 875 bytes 3,329,750.00 bytes/sec
|
|
64
64
|
total size is 1,659,985 speedup is 1.00
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { loadFile } from '@/utils';
|
|
2
|
+
|
|
1
3
|
const ctx = new AudioContext();
|
|
2
4
|
let standbySource: AudioBufferSourceNode | null = null;
|
|
3
5
|
let isAudioUnlocked = false;
|
|
@@ -37,7 +39,7 @@ export async function unlockAudio() {
|
|
|
37
39
|
|
|
38
40
|
export async function startStandByAudio() {
|
|
39
41
|
const response = await fetch(
|
|
40
|
-
|
|
42
|
+
loadFile('plugins/AdminForthAgentPlugin/agentAudio/agent-processing.mp3')
|
|
41
43
|
);
|
|
42
44
|
|
|
43
45
|
const arrayBuffer = await response.arrayBuffer();
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { loadFile } from '@/utils';
|
|
2
|
+
|
|
1
3
|
const ctx = new AudioContext();
|
|
2
4
|
let standbySource: AudioBufferSourceNode | null = null;
|
|
3
5
|
let isAudioUnlocked = false;
|
|
@@ -37,7 +39,7 @@ export async function unlockAudio() {
|
|
|
37
39
|
|
|
38
40
|
export async function startStandByAudio() {
|
|
39
41
|
const response = await fetch(
|
|
40
|
-
|
|
42
|
+
loadFile('plugins/AdminForthAgentPlugin/agentAudio/agent-processing.mp3')
|
|
41
43
|
);
|
|
42
44
|
|
|
43
45
|
const arrayBuffer = await response.arrayBuffer();
|