/[svn]/qsampler/trunk/src/qsamplerInstrument.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerInstrument.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1461 by schoenebeck, Sun Oct 28 23:30:36 2007 UTC revision 1499 by capela, Tue Nov 20 16:48:04 2007 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
5       Copyright (C) 2007, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 19  Line 20 
20    
21  *****************************************************************************/  *****************************************************************************/
22    
 #include "qsamplerUtilities.h"  
23  #include "qsamplerAbout.h"  #include "qsamplerAbout.h"
24  #include "qsamplerInstrument.h"  #include "qsamplerInstrument.h"
25    #include "qsamplerUtilities.h"
26    
27  #include "qsamplerMainForm.h"  #include "qsamplerMainForm.h"
28    
29    
30  using namespace QSampler;  using namespace QSampler;
31    
32  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
# Line 192  bool qsamplerInstrument::mapInstrument ( Line 194  bool qsamplerInstrument::mapInstrument (
194          }          }
195    
196          if (::lscp_map_midi_instrument(pMainForm->client(), &instr,          if (::lscp_map_midi_instrument(pMainForm->client(), &instr,
197                          m_sEngineName.latin1(),                          m_sEngineName.toUtf8().constData(),
198                          qsamplerUtilities::lscpEscapePath(m_sInstrumentFile).latin1(),                          qsamplerUtilities::lscpEscapePath(
199                                    m_sInstrumentFile).toUtf8().constData(),
200                          m_iInstrumentNr,                          m_iInstrumentNr,
201                          m_fVolume,                          m_fVolume,
202                          load_mode,                          load_mode,
203                          m_sName.latin1()) != LSCP_OK) {                          m_sName.toUtf8().constData()) != LSCP_OK) {
204                  pMainForm->appendMessagesClient("lscp_map_midi_instrument");                  pMainForm->appendMessagesClient("lscp_map_midi_instrument");
205                  return false;                  return false;
206          }          }

Legend:
Removed from v.1461  
changed lines
  Added in v.1499

  ViewVC Help
Powered by ViewVC