prepare for adding wavetable from file

This commit is contained in:
tildearrow 2022-01-11 16:25:55 -05:00
parent d6f97e0c48
commit 69b56e6d4c
2 changed files with 10 additions and 0 deletions

View File

@ -2535,6 +2535,13 @@ int DivEngine::addWave() {
return waveCount;
}
bool DivEngine::addWaveFromFile(const char* path) {
isBusy.lock();
// TODO
isBusy.unlock();
return true;
}
void DivEngine::delWave(int index) {
isBusy.lock();
if (index>=0 && index<(int)song.wave.size()) {

View File

@ -325,6 +325,9 @@ class DivEngine {
// add wavetable
int addWave();
// add wavetable from file
bool addWaveFromFile(const char* path);
// delete wavetable
void delWave(int index);