ESPixelStick Firmware
Firmware for the ESPixelStick
|
#include <InputFPPRemotePlayFileFsm.hpp>
Classes | |
struct | SparseRange |
Public Member Functions | |
fsm_PlayFile_state_PlayingFile () | |
virtual | ~fsm_PlayFile_state_PlayingFile () |
virtual IRAM_ATTR bool | Poll () |
virtual void | Init (c_InputFPPRemotePlayFile *Parent) |
virtual void | GetStateName (String &sName) |
virtual void | Start (String &FileName, float SecondsElapsed, uint32_t RemainingPlayCount) |
virtual void | Stop (void) |
virtual bool | Sync (String &FileName, float SecondsElapsed) |
![]() | |
fsm_PlayFile_state () | |
virtual | ~fsm_PlayFile_state () |
void | GetDriverName (String &Name) |
Additional Inherited Members | |
![]() | |
c_InputFPPRemotePlayFile * | p_Parent = nullptr |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements fsm_PlayFile_state.
|
virtual |
|
virtual |
DEBUG_START; DEBUG_V("fsm_PlayFile_state_PlayingFile::Poll");
DEBUG_V (String ("LastPlayedFrameId: ") + String (CurrentFrame));
DEBUG_V (String ("keep waiting"));
DEBUG_V (String (" MaxBytesToRead: ") + String (MaxBytesToRead));
DEBUG_V (String (" FilePosition: ") + String (FilePosition)); DEBUG_V (String (" AdjustedFilePosition: ") + String (uint32_t(AdjustedFilePosition), HEX)); DEBUG_V (String (" CurrentDestination: ") + String (uint32_t(CurrentDestination), HEX)); DEBUG_V (String (" ActualBytesToRead: ") + String (ActualBytesToRead));
DEBUG_END;
Implements fsm_PlayFile_state.
|
virtual |
|
virtual |
Implements fsm_PlayFile_state.
|
virtual |
DEBUG_START; DEBUG_V("fsm_PlayFile_state_PlayingFile::Sync");
DEBUG_V ("Duplicate or older sync msg");
DEBUG_V (String ("old LastRcvdElapsedSeconds: ") + String (p_Parent->SyncControl.LastRcvdElapsedSeconds));
DEBUG_V (String ("new LastRcvdElapsedSeconds: ") + String (p_Parent->SyncControl.LastRcvdElapsedSeconds)); DEBUG_V (String (" ElapsedPlayTimeMS: ") + String (p_Parent->FileControl.ElapsedPlayTimeMS));
DEBUG_V ("No Need to adjust the time");
DEBUG_V ("Need to adjust the start time"); DEBUG_V (String ("ElapsedPlayTimeMS: ") + String (p_Parent->FileControl.ElapsedPlayTimeMS));
DEBUG_V (String (" CurrentFrame: ") + String (CurrentFrame)); DEBUG_V (String (" TargetFrameId: ") + String (TargetFrameId)); DEBUG_V (String (" FrameDiff: ") + String (FrameDiff));
DEBUG_V ("Large Setp Adjustment");
DEBUG_V("go back a frame");
DEBUG_V("go forward a frame");
DEBUG_V (String ("ElapsedPlayTimeMS: ") + String (p_Parent->FileControl[CurrentFile].ElapsedPlayTimeMS));
DEBUG_END;
Implements fsm_PlayFile_state.