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

Function init

lib/recorder.js:82–86  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

80 };
81
82 function init(config) {
83 sampleRate = config.sampleRate;
84 numChannels = config.numChannels;
85 initBuffers();
86 }
87
88 function record(inputBuffer) {
89 for (var channel = 0; channel < numChannels; channel++) {

Callers 2

RecorderFunction · 0.85
constructorMethod · 0.85

Calls 1

initBuffersFunction · 0.85

Tested by

no test coverage detected