MCPcopy Create free account
hub / github.com/FastLED/FastLED / createSample_SignalConditioner

Function createSample_SignalConditioner

tests/fl/audio/signal_conditioner.hpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace {
13
14static audio::Sample createSample_SignalConditioner(const vector<i16>& samples, u32 timestamp = 0) {
15 audio::SampleImplPtr impl = fl::make_shared<audio::SampleImpl>();
16 impl->assign(samples.begin(), samples.end(), timestamp);
17 return audio::Sample(impl);
18}
19
20} // anonymous namespace
21

Callers 1

Calls 4

SampleClass · 0.50
assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected