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

Function makeSample_Adversarial

tests/fl/audio/adversarial.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace {
34
35static audio::Sample makeSample_Adversarial(float freq, fl::u32 timestamp, float amplitude = 16000.0f) {
36 return makeSample(freq, timestamp, amplitude);
37}
38
39// Safe NaN check that doesn't rely on isnan
40static bool isNaN(float x) {

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 1

makeSampleFunction · 0.70

Tested by

no test coverage detected