/[svn]/linuxsampler/trunk/src/drivers/Plugin.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/Plugin.cpp

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

revision 1881 by iliev, Mon Feb 16 17:56:50 2009 UTC revision 1882 by iliev, Wed Apr 1 15:21:13 2009 UTC
# Line 205  namespace LinuxSampler { Line 205  namespace LinuxSampler {
205              EngineChannel* engine_channel = channel->GetEngineChannel();              EngineChannel* engine_channel = channel->GetEngineChannel();
206              engine_channel->Volume(volume);              engine_channel->Volume(volume);
207              if (!filename.empty() && index != -1) {              if (!filename.empty() && index != -1) {
208                  engine_channel->PrepareLoadInstrument(filename.c_str(), index);                  InstrumentManager::instrument_id_t id;
209                  engine_channel->LoadInstrument();                  id.FileName = filename;
210                    id.Index    = index;
211                    InstrumentManager::LoadInstrumentInBackground(id, engine_channel);
212              }              }
213              if (solo) engine_channel->SetSolo(solo);              if (solo) engine_channel->SetSolo(solo);
214              if (mute) engine_channel->SetMute(1);              if (mute) engine_channel->SetMute(1);

Legend:
Removed from v.1881  
changed lines
  Added in v.1882

  ViewVC Help
Powered by ViewVC