| Index: chrome/browser/resources/whispernet_proxy/js/init.js
|
| diff --git a/chrome/browser/resources/whispernet_proxy/js/init.js b/chrome/browser/resources/whispernet_proxy/js/init.js
|
| index a5b11c9faebdad44d4ffd25d98e195d7c0ed7b6d..997498c8923e9c2378424b577e68dbe96968e329 100644
|
| --- a/chrome/browser/resources/whispernet_proxy/js/init.js
|
| +++ b/chrome/browser/resources/whispernet_proxy/js/init.js
|
| @@ -50,11 +50,12 @@ function encodeTokenRequest(token, audible) {
|
|
|
| /**
|
| * Sends a request to whispernet to decode samples.
|
| + * @param {string} type Type of decoding to perform.
|
| * @param {ArrayBuffer} samples Array of samples to decode.
|
| */
|
| -function decodeSamplesRequest(samples) {
|
| +function decodeSamplesRequest(type, samples) {
|
| if (whisperDecoder) {
|
| - whisperDecoder.processSamples(samples);
|
| + whisperDecoder.processSamples(type, samples);
|
| } else {
|
| console.error('decodeSamplesRequest: Whisper not initialized!');
|
| }
|
|
|