19 |
|
|
20 |
*****************************************************************************/ |
*****************************************************************************/ |
21 |
|
|
22 |
|
#include "qsamplerUtilities.h" |
23 |
#include "qsamplerAbout.h" |
#include "qsamplerAbout.h" |
24 |
#include "qsamplerChannel.h" |
#include "qsamplerChannel.h" |
25 |
|
|
203 |
if (m_iInstrumentStatus == 100 && m_sInstrumentFile == sInstrumentFile && m_iInstrumentNr == iInstrumentNr) |
if (m_iInstrumentStatus == 100 && m_sInstrumentFile == sInstrumentFile && m_iInstrumentNr == iInstrumentNr) |
204 |
return true; |
return true; |
205 |
|
|
206 |
if (::lscp_load_instrument_non_modal(pMainForm->client(), sInstrumentFile.latin1(), iInstrumentNr, m_iChannelID) != LSCP_OK) { |
if ( |
207 |
|
::lscp_load_instrument_non_modal( |
208 |
|
pMainForm->client(), |
209 |
|
lscpEscapePath(sInstrumentFile).latin1(), |
210 |
|
iInstrumentNr, m_iChannelID |
211 |
|
) != LSCP_OK |
212 |
|
) { |
213 |
appendMessagesClient("lscp_load_instrument"); |
appendMessagesClient("lscp_load_instrument"); |
214 |
return false; |
return false; |
215 |
} |
} |