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

Method isEmpty

src/platforms/wasm/audio_input_wasm.cpp.hpp:176–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176bool WasmAudioInput::isEmpty() const {
177 return mHead == mTail && !mRingBuffer[mTail].valid;
178}
179
180int WasmAudioInput::nextIndex(int index) const {
181 return (index + 1) % RING_BUFFER_SLOTS;

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected