707 |
appendMessagesClient("lscp_edit_channel_instrument"); |
appendMessagesClient("lscp_edit_channel_instrument"); |
708 |
appendMessagesError(QObject::tr( |
appendMessagesError(QObject::tr( |
709 |
"Could not launch an appropriate instrument editor " |
"Could not launch an appropriate instrument editor " |
710 |
"for the given instrument!\n" |
"for the given instrument!\n\n" |
711 |
"Make sure you have an appropriate " |
"Make sure you have an appropriate " |
712 |
"instrument editor like 'gigedit' installed\n" |
"instrument editor like 'gigedit' installed " |
713 |
"and that it placed its mandatory DLL file " |
"and that it placed its mandatory DLL file " |
714 |
"into the sampler's plugin directory.") |
"into the sampler's plugin directory.") |
715 |
); |
); |
724 |
|
|
725 |
appendMessagesError(QObject::tr( |
appendMessagesError(QObject::tr( |
726 |
"Sorry, QSampler was compiled for a version of liblscp " |
"Sorry, QSampler was compiled for a version of liblscp " |
727 |
"which lacks this feature.\n" |
"which lacks this feature.\n\n" |
728 |
"You may want to update liblscp and recompile QSampler afterwards.") |
"You may want to update liblscp and recompile QSampler afterwards.") |
729 |
); |
); |
730 |
|
|
835 |
RIFF::File *pRiff |
RIFF::File *pRiff |
836 |
= new RIFF::File(sInstrumentFile.toUtf8().constData()); |
= new RIFF::File(sInstrumentFile.toUtf8().constData()); |
837 |
gig::File *pGig = new gig::File(pRiff); |
gig::File *pGig = new gig::File(pRiff); |
838 |
|
#if HAVE_LIBGIG_SETAUTOLOAD |
839 |
|
// prevent sleepy response time on large .gig files |
840 |
|
pGig->SetAutoLoad(false); |
841 |
|
#endif |
842 |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
843 |
while (pInstrument) { |
while (pInstrument) { |
844 |
instlist.append((pInstrument->pInfo)->Name.c_str()); |
instlist.append((pInstrument->pInfo)->Name.c_str()); |
871 |
RIFF::File *pRiff |
RIFF::File *pRiff |
872 |
= new RIFF::File(sInstrumentFile.toUtf8().constData()); |
= new RIFF::File(sInstrumentFile.toUtf8().constData()); |
873 |
gig::File *pGig = new gig::File(pRiff); |
gig::File *pGig = new gig::File(pRiff); |
874 |
|
#if HAVE_LIBGIG_SETAUTOLOAD |
875 |
|
// prevent sleepy response time on large .gig files |
876 |
|
pGig->SetAutoLoad(false); |
877 |
|
#endif |
878 |
int iIndex = 0; |
int iIndex = 0; |
879 |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
gig::Instrument *pInstrument = pGig->GetFirstInstrument(); |
880 |
while (pInstrument) { |
while (pInstrument) { |