MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / onRecord

Function onRecord

Ports/JavaScriptPort/src/main/webapp/js/fontmetrics.js:2384–2387  ·  view source on GitHub ↗
(numChannels, sampleRate)

Source from the content-addressed store, hash-verified

2382 var onAudioProcess = config.onAudioProcess || function(sampleRate, numChannels, floatSamples){};
2383 var _onRecord = config.onRecord || function(numChannels, sampleRate){};
2384 var onRecord = function(numChannels, sampleRate) {
2385 console.log("firing onRecord callback", numChannels, sampleRate);
2386 _onRecord(numChannels, sampleRate);
2387 };
2388 var pendingGetUserMedia = false;
2389 console.log("AudioUnit config", config);
2390 function interleave(e) {

Callers 2

setupAudioProcessingFunction · 0.85
recordFunction · 0.85

Calls 1

logMethod · 0.65

Tested by

no test coverage detected