* @param {Float32Array} samples * @returns {string}
(samples)
| 177 | * @returns {string} |
| 178 | */ |
| 179 | process(samples) { |
| 180 | try { |
| 181 | const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); |
| 182 | const ptr0 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc); |
| 183 | const len0 = WASM_VECTOR_LEN; |
| 184 | wasm.wasmdecoder_process(retptr, this.__wbg_ptr, ptr0, len0); |
| 185 | var r0 = getInt32Memory0()[retptr / 4 + 0]; |
| 186 | var r1 = getInt32Memory0()[retptr / 4 + 1]; |
| 187 | var v2 = getCachedStringFromWasm0(r0, r1); |
| 188 | if (r0 !== 0) { wasm.__wbindgen_free(r0, r1, 1); } |
| 189 | return v2; |
| 190 | } finally { |
| 191 | wasm.__wbindgen_add_to_stack_pointer(16); |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | async function __wbg_load(module, imports) { |
nothing calls this directly
no test coverage detected