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

Method getKeyName

src/fl/audio/detector/key.cpp.hpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void Key::getKeyName(char* buffer, size_t bufferSize) const {
66 if (bufferSize < 8) return; // Need space for "C# min\0"
67 const char* root = getRootName();
68 const char* quality = getQuality();
69 fl::snprintf(buffer, bufferSize, "%s %s", root, quality);
70}
71
72//------------------------------------------------------------------------------
73// KeyDetector implementation

Callers

nothing calls this directly

Calls 1

snprintfFunction · 0.85

Tested by

no test coverage detected