mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
prepare for adding wavetable from file
This commit is contained in:
parent
d6f97e0c48
commit
69b56e6d4c
2 changed files with 10 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue