fixing ui stuff

This commit is contained in:
Joren de Graaf
2026-10-09 19:10:42 +02:00
parent dad0001df1
commit 2b0bbdd201
12 changed files with 175 additions and 27 deletions
@@ -22,6 +22,8 @@ public:
uint64_t triggeredMs = 0);
bool readMeta(const String& filename, BoomEventMeta& meta) const;
bool remove(const String& filename);
bool discard(const String& filename);
int clearAll(); // Returns removed recordings, or -1 if a deletion failed.
bool exists(const String& filename) const;
size_t fileSize(const String& filename) const;
String absolutePath(const String& filename) const;
@@ -32,6 +34,7 @@ private:
bool ready_ = false;
int count_ = 0;
bool ensureQueueDir();
bool removeFiles(const String& filename);
String makeFilename(const char* triggerType);
bool writeWavFile(const char* path, const int16_t* samples, size_t sampleCount);
bool validWav(const String& filename, uint32_t samples) const;