30 |
|
|
31 |
#ifdef CONFIG_LIBGIG |
#ifdef CONFIG_LIBGIG |
32 |
#include "gig.h" |
#include "gig.h" |
|
#else |
|
|
#define QSAMPLER_INSTRUMENT_MAX 8 |
|
33 |
#endif |
#endif |
34 |
|
|
35 |
|
#define QSAMPLER_INSTRUMENT_MAX 8 |
36 |
|
|
37 |
|
|
38 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
39 |
// qsamplerChannel - Sampler channel structure. |
// qsamplerChannel - Sampler channel structure. |
475 |
delete pRiff; |
delete pRiff; |
476 |
} |
} |
477 |
else |
else |
478 |
#else |
#endif |
479 |
for (int iInstrumentNr = 0; iInstrumentNr < QSAMPLER_INSTRUMENT_MAX; iInstrumentNr++) |
for (int iInstrumentNr = 0; iInstrumentNr < QSAMPLER_INSTRUMENT_MAX; iInstrumentNr++) |
480 |
instlist.append(sInstrumentName + " [" + QString::number(iInstrumentNr) + "]"); |
instlist.append(sInstrumentName + " [" + QString::number(iInstrumentNr) + "]"); |
|
#endif |
|
481 |
} |
} |
482 |
else instlist.append(sInstrumentName); |
else instlist.append(sInstrumentName); |
483 |
|
|
510 |
delete pRiff; |
delete pRiff; |
511 |
} |
} |
512 |
else |
else |
|
#else |
|
|
sInstrumentName += " [" + QString::number(iInstrumentNr) + "]"; |
|
513 |
#endif |
#endif |
514 |
|
sInstrumentName += " [" + QString::number(iInstrumentNr) + "]"; |
515 |
} |
} |
516 |
|
|
517 |
return sInstrumentName; |
return sInstrumentName; |