@scalable-vector-audio/sva-wasm 0.7.6 → 0.7.8
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/package.json +1 -1
- package/sva_wasm.d.ts +2 -2
- package/sva_wasm.js +30 -30
- package/sva_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/sva_wasm.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export class Composition {
|
|
|
32
32
|
set_prune_policy(policy: string): void;
|
|
33
33
|
/**
|
|
34
34
|
* `target` block by block, through this store. `options`: `rate`, `bits`, `until`, `cache`,
|
|
35
|
-
* `live`.
|
|
35
|
+
* `live`, `channels`.
|
|
36
36
|
*/
|
|
37
37
|
stream(target: string, block: number, options: any): Promise<Stream>;
|
|
38
38
|
/**
|
|
@@ -190,7 +190,7 @@ export interface InitOutput {
|
|
|
190
190
|
readonly stream_work: (a: number) => [number, number, number];
|
|
191
191
|
readonly wasm_bindgen__convert__closures_____invoke__h76bd71bceeca2b95: (a: number, b: number, c: any, d: any) => void;
|
|
192
192
|
readonly wasm_bindgen__convert__closures_____invoke__hd55bb211d6a08150: (a: number, b: number, c: any) => [number, number];
|
|
193
|
-
readonly
|
|
193
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0b378cff48a90795: (a: number, b: number) => any;
|
|
194
194
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
195
195
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
196
196
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/sva_wasm.js
CHANGED
|
@@ -182,7 +182,7 @@ export class Composition {
|
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* `target` block by block, through this store. `options`: `rate`, `bits`, `until`, `cache`,
|
|
185
|
-
* `live`.
|
|
185
|
+
* `live`, `channels`.
|
|
186
186
|
* @param {string} target
|
|
187
187
|
* @param {number} block
|
|
188
188
|
* @param {any} options
|
|
@@ -576,7 +576,7 @@ function __wbg_get_imports() {
|
|
|
576
576
|
__wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
|
|
577
577
|
arg0._wbg_cb_unref();
|
|
578
578
|
},
|
|
579
|
-
|
|
579
|
+
__wbg_arrayBuffer_ed0fc02b47259251: function(arg0) {
|
|
580
580
|
const ret = arg0.arrayBuffer();
|
|
581
581
|
return ret;
|
|
582
582
|
},
|
|
@@ -588,7 +588,7 @@ function __wbg_get_imports() {
|
|
|
588
588
|
const ret = arg0.call(arg1, arg2);
|
|
589
589
|
return ret;
|
|
590
590
|
}, arguments); },
|
|
591
|
-
|
|
591
|
+
__wbg_close_6c081589a833e036: function(arg0) {
|
|
592
592
|
const ret = arg0.close();
|
|
593
593
|
return ret;
|
|
594
594
|
},
|
|
@@ -596,7 +596,7 @@ function __wbg_get_imports() {
|
|
|
596
596
|
const ret = Composition.__wrap(arg0);
|
|
597
597
|
return ret;
|
|
598
598
|
},
|
|
599
|
-
|
|
599
|
+
__wbg_createWritable_0bfb9955e666dc67: function(arg0) {
|
|
600
600
|
const ret = arg0.createWritable();
|
|
601
601
|
return ret;
|
|
602
602
|
},
|
|
@@ -608,15 +608,15 @@ function __wbg_get_imports() {
|
|
|
608
608
|
const ret = Array.from(arg0);
|
|
609
609
|
return ret;
|
|
610
610
|
},
|
|
611
|
-
|
|
611
|
+
__wbg_getDirectoryHandle_e48497d7e6489bff: function(arg0, arg1, arg2, arg3) {
|
|
612
612
|
const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
613
613
|
return ret;
|
|
614
614
|
},
|
|
615
|
-
|
|
615
|
+
__wbg_getFileHandle_e25fbdb9810ee2ba: function(arg0, arg1, arg2, arg3) {
|
|
616
616
|
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
617
617
|
return ret;
|
|
618
618
|
},
|
|
619
|
-
|
|
619
|
+
__wbg_getFile_7150d09112e56285: function(arg0) {
|
|
620
620
|
const ret = arg0.getFile();
|
|
621
621
|
return ret;
|
|
622
622
|
},
|
|
@@ -646,7 +646,7 @@ function __wbg_get_imports() {
|
|
|
646
646
|
const ret = Array.isArray(arg0);
|
|
647
647
|
return ret;
|
|
648
648
|
},
|
|
649
|
-
|
|
649
|
+
__wbg_keys_0cf090f77c2b2e97: function(arg0) {
|
|
650
650
|
const ret = arg0.keys();
|
|
651
651
|
return ret;
|
|
652
652
|
},
|
|
@@ -662,11 +662,11 @@ function __wbg_get_imports() {
|
|
|
662
662
|
const ret = arg0.length;
|
|
663
663
|
return ret;
|
|
664
664
|
},
|
|
665
|
-
|
|
665
|
+
__wbg_move_a08cdc60d2ec93fd: function(arg0, arg1, arg2, arg3) {
|
|
666
666
|
const ret = arg0.move(arg1, getStringFromWasm0(arg2, arg3));
|
|
667
667
|
return ret;
|
|
668
668
|
},
|
|
669
|
-
|
|
669
|
+
__wbg_name_71c3006a1b1be14c: function(arg0, arg1) {
|
|
670
670
|
const ret = arg1.name;
|
|
671
671
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
672
672
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -695,14 +695,14 @@ function __wbg_get_imports() {
|
|
|
695
695
|
state0.a = 0;
|
|
696
696
|
}
|
|
697
697
|
},
|
|
698
|
-
__wbg_new_a8497237be663bd1: function(arg0, arg1) {
|
|
699
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
700
|
-
return ret;
|
|
701
|
-
},
|
|
702
698
|
__wbg_new_bebc3f4757acf305: function() {
|
|
703
699
|
const ret = new Object();
|
|
704
700
|
return ret;
|
|
705
701
|
},
|
|
702
|
+
__wbg_new_f1bc8fe7339085d3: function(arg0, arg1) {
|
|
703
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
704
|
+
return ret;
|
|
705
|
+
},
|
|
706
706
|
__wbg_new_from_slice_4ee02165f9de919e: function(arg0, arg1) {
|
|
707
707
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
708
708
|
return ret;
|
|
@@ -725,18 +725,18 @@ function __wbg_get_imports() {
|
|
|
725
725
|
state0.a = 0;
|
|
726
726
|
}
|
|
727
727
|
},
|
|
728
|
-
|
|
728
|
+
__wbg_next_bc1e641458a00fca: function(arg0) {
|
|
729
729
|
const ret = arg0.next();
|
|
730
730
|
return ret;
|
|
731
731
|
},
|
|
732
|
-
|
|
732
|
+
__wbg_parse_4aff54b60acfa526: function() { return handleError(function (arg0, arg1) {
|
|
733
733
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
734
734
|
return ret;
|
|
735
735
|
}, arguments); },
|
|
736
736
|
__wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
|
|
737
737
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
738
738
|
},
|
|
739
|
-
|
|
739
|
+
__wbg_query_b729c18d2bbb5c09: function(arg0) {
|
|
740
740
|
const ret = arg0.query();
|
|
741
741
|
return ret;
|
|
742
742
|
},
|
|
@@ -751,11 +751,11 @@ function __wbg_get_imports() {
|
|
|
751
751
|
const ret = Math.random();
|
|
752
752
|
return ret;
|
|
753
753
|
},
|
|
754
|
-
|
|
754
|
+
__wbg_removeEntry_0059246a91f9ae88: function(arg0, arg1, arg2) {
|
|
755
755
|
const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2));
|
|
756
756
|
return ret;
|
|
757
757
|
},
|
|
758
|
-
|
|
758
|
+
__wbg_removeEntry_849a552a2cf5a02e: function(arg0, arg1, arg2, arg3) {
|
|
759
759
|
const ret = arg0.removeEntry(getStringFromWasm0(arg1, arg2), arg3);
|
|
760
760
|
return ret;
|
|
761
761
|
},
|
|
@@ -763,7 +763,7 @@ function __wbg_get_imports() {
|
|
|
763
763
|
const ret = Rendering.__wrap(arg0);
|
|
764
764
|
return ret;
|
|
765
765
|
},
|
|
766
|
-
|
|
766
|
+
__wbg_request_5302d75023e3c01e: function(arg0, arg1, arg2, arg3) {
|
|
767
767
|
const ret = arg0.request(getStringFromWasm0(arg1, arg2), arg3);
|
|
768
768
|
return ret;
|
|
769
769
|
},
|
|
@@ -778,17 +778,17 @@ function __wbg_get_imports() {
|
|
|
778
778
|
__wbg_set_c41f8dbc07a2190f: function(arg0, arg1, arg2) {
|
|
779
779
|
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
780
780
|
},
|
|
781
|
-
|
|
781
|
+
__wbg_set_name_6677ad217e2f283b: function(arg0, arg1, arg2) {
|
|
782
782
|
arg0.name = getStringFromWasm0(arg1, arg2);
|
|
783
783
|
},
|
|
784
|
-
|
|
784
|
+
__wbg_set_refusal_0099e1cb8eaf6e8f: function(arg0, arg1) {
|
|
785
785
|
arg0.refusal = arg1;
|
|
786
786
|
},
|
|
787
|
-
|
|
787
|
+
__wbg_size_901248edb0f46fff: function(arg0) {
|
|
788
788
|
const ret = arg0.size;
|
|
789
789
|
return ret;
|
|
790
790
|
},
|
|
791
|
-
|
|
791
|
+
__wbg_slice_7c5a37a2d4425735: function(arg0, arg1, arg2) {
|
|
792
792
|
const ret = arg0.slice(arg1, arg2);
|
|
793
793
|
return ret;
|
|
794
794
|
},
|
|
@@ -824,21 +824,21 @@ function __wbg_get_imports() {
|
|
|
824
824
|
const ret = arg0.then(arg1);
|
|
825
825
|
return ret;
|
|
826
826
|
},
|
|
827
|
-
|
|
827
|
+
__wbg_warn_4693fb2055cb5040: function(arg0, arg1) {
|
|
828
828
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
829
829
|
},
|
|
830
|
-
|
|
830
|
+
__wbg_write_84c06b7ae2a2469f: function(arg0, arg1) {
|
|
831
831
|
const ret = arg0.write(arg1);
|
|
832
832
|
return ret;
|
|
833
833
|
},
|
|
834
834
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
835
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
835
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 535, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
836
836
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd55bb211d6a08150);
|
|
837
837
|
return ret;
|
|
838
838
|
},
|
|
839
839
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
840
840
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 92, ret: NamedExternref("Promise<any>"), inner_ret: Some(NamedExternref("Promise<any>")) }, mutable: true }) -> Externref`.
|
|
841
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
841
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0b378cff48a90795);
|
|
842
842
|
return ret;
|
|
843
843
|
},
|
|
844
844
|
__wbindgen_generic_0000000000000003: function(arg0) {
|
|
@@ -867,8 +867,8 @@ function __wbg_get_imports() {
|
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
869
|
|
|
870
|
-
function
|
|
871
|
-
const ret = wasm.
|
|
870
|
+
function wasm_bindgen__convert__closures_____invoke__h0b378cff48a90795(arg0, arg1) {
|
|
871
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h0b378cff48a90795(arg0, arg1);
|
|
872
872
|
return ret;
|
|
873
873
|
}
|
|
874
874
|
|
package/sva_wasm_bg.wasm
CHANGED
|
Binary file
|