602 |
if (isInstrumentFile(sInstrumentFile)) { |
if (isInstrumentFile(sInstrumentFile)) { |
603 |
#ifdef CONFIG_LIBGIG |
#ifdef CONFIG_LIBGIG |
604 |
if (bInstrumentNames) { |
if (bInstrumentNames) { |
605 |
RIFF::File *pRiff = new RIFF::File(sInstrumentFile); |
RIFF::File *pRiff = new RIFF::File(sInstrumentFile.latin1()); |
606 |
gig::File *pGig = new gig::File(pRiff); |
gig::File *pGig = new gig::File(pRiff); |
607 |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
608 |
while (pInstrument) { |
while (pInstrument) { |
633 |
sInstrumentName = QFileInfo(sInstrumentFile).fileName(); |
sInstrumentName = QFileInfo(sInstrumentFile).fileName(); |
634 |
#ifdef CONFIG_LIBGIG |
#ifdef CONFIG_LIBGIG |
635 |
if (bInstrumentNames) { |
if (bInstrumentNames) { |
636 |
RIFF::File *pRiff = new RIFF::File(sInstrumentFile); |
RIFF::File *pRiff = new RIFF::File(sInstrumentFile.latin1()); |
637 |
gig::File *pGig = new gig::File(pRiff); |
gig::File *pGig = new gig::File(pRiff); |
638 |
int iIndex = 0; |
int iIndex = 0; |
639 |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
669 |
return QObject::tr("(No instrument)"); |
return QObject::tr("(No instrument)"); |
670 |
} |
} |
671 |
|
|
672 |
|
QString qsamplerChannel::loadingInstrument (void) { |
673 |
|
return QObject::tr("(Loading instrument...)"); |
674 |
|
} |
675 |
|
|
676 |
|
|
677 |
// end of qsamplerChannel.cpp |
// end of qsamplerChannel.cpp |