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 ("Sync: Filename change"); DEBUG_V (String("New FileName: ") + FileName); DEBUG_V (String("Old FileName: ") + p_Parent->GetFileName ());
DEBUG_V ("Duplicate or older sync msg");
DEBUG_V (String (" ESPS millis: ") + String (millis())); DEBUG_V (String ("ESPS StartingTimeMS: ") + String (p_Parent->FileControl[CurrentFile].StartingTimeMS)); DEBUG_V (String (" old FPP ElapsedMS: ") + String (uint(p_Parent->SyncControl.LastRcvdElapsedSeconds) * 1000)); DEBUG_V (String (" FPP ElapsedMS: ") + String (uint(ElapsedSeconds) * 1000)); DEBUG_V (String (" ESPS ElapsedMS: ") + String ((millis() - p_Parent->FileControl[CurrentFile].StartingTimeMS))); DEBUG_V (String (" NumPollsSinceSync: ") + String (p_Parent->FileControl[CurrentFile].NumPollsSinceSync));
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 ("Large Setp Adjustment");
DEBUG_V("go back a frame");
DEBUG_V("go forward a frame");
DEBUG_V (String ("ESPS StartingTimeMS: ") + String (p_Parent->FileControl[CurrentFile].StartingTimeMS)); DEBUG_V (String ("ElapsedPlayTimeMS: ") + String (p_Parent->FileControl[CurrentFile].ElapsedPlayTimeMS));
DEBUG_END;
Implements fsm_PlayFile_state.