Struct MusicOnDeck

Struct Documentation

struct MusicOnDeck

Music handling data structure for manual mode.

Public Functions

MusicOnDeck(const MusicOnDeck&) = delete
MusicOnDeck &operator=(const MusicOnDeck&) = delete
inline MusicOnDeck()
inline void Init(const uint64_t frameSize)
inline void predict_loop()
inline bool join()
inline ~MusicOnDeck()

Public Members

bool play = false
PreLoadedMusic loaded
std::optional<PredictBuffer<PREDICT_SIZE>> pb
FXControlPanel *fxP
uint64_t frameSZ = 0
std::optional<soundtouch::SoundTouch> st
std::optional<std::thread> worker
std::atomic<bool> flag = true