untested saving code and memory leak fix

This commit is contained in:
tildearrow 2021-12-15 14:15:44 -05:00
parent 2879b5e4d0
commit ebb28d912b
12 changed files with 363 additions and 107 deletions

View file

@ -2,6 +2,7 @@
#define _ENGINE_H
#include "song.h"
#include "dispatch.h"
#include "safeWriter.h"
#include "../audio/taAudio.h"
#include "blip_buf.h"
#include <mutex>
@ -104,7 +105,7 @@ class DivEngine {
// load a .dmf.
bool load(void* f, size_t length);
// save as .dmf.
bool save(FILE* f);
SafeWriter* save();
// play
void play();