MCPcopy Create free account
hub / github.com/PowerBroker2/DFPlayerMini_Fast / isPlaying

Method isPlaying

src/DFPlayerMini_Fast.cpp:700–708  ·  view source on GitHub ↗

/ ! @brief Determine if a track is currently playing. @return True if a track is currently playing, false if not, -1 if error. */ /

Source from the content-addressed store, hash-verified

698 */
699 /**************************************************************************/
700bool DFPlayerMini_Fast::isPlaying()
701{
702 int16_t result = query(dfplayer::GET_STATUS_);
703
704 if (result != -1)
705 return (result & 1);
706
707 return 0;
708}
709
710
711

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected