2022-06-19 14:07:40 +02:00
|
|
|
#pragma once
|
2022-06-17 03:31:17 +02:00
|
|
|
|
|
|
|
struct App {
|
2022-06-19 14:07:40 +02:00
|
|
|
void virtual init() = 0;
|
|
|
|
void virtual deinit() = 0;
|
|
|
|
void virtual loop() = 0;
|
2022-06-17 03:31:17 +02:00
|
|
|
};
|
|
|
|
|
2022-06-19 14:07:40 +02:00
|
|
|
struct BeatDetectApp : public App {
|
|
|
|
void init();
|
|
|
|
void deinit();
|
|
|
|
void loop();
|
|
|
|
};
|
|
|
|
|
2022-06-20 20:27:03 +02:00
|
|
|
|
2022-06-19 14:07:40 +02:00
|
|
|
struct VuMeterApp: public App {
|
|
|
|
void init();
|
|
|
|
void deinit();
|
|
|
|
void loop();
|
|
|
|
};
|
|
|
|
|
|
|
|
struct FFTTestApp: public App {
|
|
|
|
void init();
|
|
|
|
void deinit();
|
|
|
|
void loop();
|
2022-06-19 23:31:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct FackelApp: public App {
|
|
|
|
void init();
|
|
|
|
void deinit();
|
|
|
|
void loop();
|
2022-06-27 01:53:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct ImageDisplayApp: public App {
|
|
|
|
void init();
|
|
|
|
void deinit();
|
|
|
|
void loop();
|
2022-06-19 14:07:40 +02:00
|
|
|
};
|