@vkontakte/calls-audio-effects 1.4.2-dev.cbbd651d.0 → 1.5.0
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/audio-effects.cjs.js +5 -5403
- package/audio-effects.esm.js +5 -5393
- package/package.json +2 -2
- package/processor/WorkerAudioProcessor.d.ts +2 -0
- package/utils/WasmMemoryReport.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/calls-audio-effects",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"author": "vk.com",
|
|
5
5
|
"description": "Audio effects library for video calls based on the vk.com platform",
|
|
6
6
|
"homepage": "https://vk.com",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"**/*.d.ts"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@vkontakte/audio-processing": "0.0.10
|
|
17
|
+
"@vkontakte/audio-processing": "0.0.10",
|
|
18
18
|
"onnxruntime-web": "^1.26.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -3,6 +3,7 @@ import { AudioProcessor, AudioProcessorParams } from './AudioProcessor';
|
|
|
3
3
|
export interface WorkerAudioProcessorParams extends AudioProcessorParams {
|
|
4
4
|
workerFunctionString: string;
|
|
5
5
|
workerArgs: unknown[];
|
|
6
|
+
workerName?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const enum WorkerResponseType {
|
|
8
9
|
INIT = "init",
|
|
@@ -28,6 +29,7 @@ export declare abstract class WorkerAudioProcessor extends AudioProcessor {
|
|
|
28
29
|
* @param {string} params.workletName - Зарегистрированное имя ворклета.
|
|
29
30
|
* @param {Function} params.workerFunction - Функция воркера.
|
|
30
31
|
* @param {*[]} params.workerArgs - Параметры для передачи в функцию воркера при его инциализации.
|
|
32
|
+
* @param {string} [params.workerName] - Имя воркера, под которым он виден в DevTools.
|
|
31
33
|
*/
|
|
32
34
|
init(params: WorkerAudioProcessorParams): Promise<void>;
|
|
33
35
|
resume(): void;
|