GUI: prepare a better new song thingy
This commit is contained in:
parent
8843315256
commit
d94e0ec3e7
4 changed files with 489 additions and 46 deletions
|
|
@ -534,7 +534,7 @@ void DivEngine::renderSamples() {
|
|||
qsoundMemLen=memPos+256;
|
||||
}
|
||||
|
||||
void DivEngine::createNew(int* description) {
|
||||
void DivEngine::createNew(const int* description) {
|
||||
quitDispatch();
|
||||
isBusy.lock();
|
||||
song.unload();
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ class DivEngine {
|
|||
DivWavetable* getWave(int index);
|
||||
DivSample* getSample(int index);
|
||||
// start fresh
|
||||
void createNew(int* description);
|
||||
void createNew(const int* description);
|
||||
// load a file.
|
||||
bool load(unsigned char* f, size_t length);
|
||||
// save as .dmf.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue