prepare for .opm support
goodbye addInstrumentFromFile hello instrumentFromFile + addInstrumentPtr these changes are required to allow loading instrument banks
This commit is contained in:
parent
44d72c2106
commit
e44d081adc
3 changed files with 49 additions and 32 deletions
|
|
@ -491,8 +491,12 @@ class DivEngine {
|
|||
// add instrument
|
||||
int addInstrument(int refChan=0);
|
||||
|
||||
// add instrument from file
|
||||
bool addInstrumentFromFile(const char* path);
|
||||
// add instrument from pointer
|
||||
int addInstrumentPtr(DivInstrument* which);
|
||||
|
||||
// get instrument from file
|
||||
// if the returned vector is empty then there was an error.
|
||||
std::vector<DivInstrument*> instrumentFromFile(const char* path);
|
||||
|
||||
// delete instrument
|
||||
void delInstrument(int index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue