FastLED 3.9.15
Loading...
Searching...
No Matches

◆ framesRemaining()

i32 fl::video::PixelStream::framesRemaining ( ) const

Definition at line 167 of file pixel_stream.cpp.hpp.

167 {
168 if (mbytesPerFrame == 0)
169 return 0;
170 i32 bytes_left = bytesRemaining();
171 if (bytes_left <= 0) {
172 return 0;
173 }
174 return bytes_left / mbytesPerFrame;
175}

References bytesRemaining(), and mbytesPerFrame.

Referenced by readFrame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: