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

Function makeSilence

tests/fl/audio/test_helpers.hpp:67–69  ·  view source on GitHub ↗

Generate silence

Source from the content-addressed store, hash-verified

65
66/// Generate silence
67inline audio::Sample makeSilence(u32 timestamp, size count = 512) {
68 return makeSample(static_cast<i16>(0), timestamp, count);
69}
70
71/// Generate white noise
72inline vector<i16> generateNoise(size count, i16 amplitude) {

Callers

nothing calls this directly

Calls 1

makeSampleFunction · 0.70

Tested by

no test coverage detected