MCPcopy
hub / github.com/mattdiamond/Recorderjs / init

Method init

src/recorder.js:67–71  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

65 };
66
67 function init(config) {
68 sampleRate = config.sampleRate;
69 numChannels = config.numChannels;
70 initBuffers();
71 }
72
73 function record(inputBuffer) {
74 for (var channel = 0; channel < numChannels; channel++) {

Callers

nothing calls this directly

Calls 1

initBuffersFunction · 0.85

Tested by

no test coverage detected