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

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInstrumentMapper.cpp

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

revision 969 by schoenebeck, Wed Nov 29 19:48:38 2006 UTC revision 970 by schoenebeck, Wed Dec 6 22:28:17 2006 UTC
# Line 56  namespace LinuxSampler { Line 56  namespace LinuxSampler {
56                  Entry.Volume,Entry.LoadMode)                  Entry.Volume,Entry.LoadMode)
57              );              );
58          }          }
59            if (!Entry.InstrumentFile.size())
60                throw Exception("No instrument file name given");
61          if (Entry.Volume < 0.0)          if (Entry.Volume < 0.0)
62              throw Exception("Volume may not be a negative value");              throw Exception("Volume may not be a negative value");
63          Engine* pEngine = EngineFactory::Create(Entry.EngineName);          Engine* pEngine = EngineFactory::Create(Entry.EngineName);

Legend:
Removed from v.969  
changed lines
  Added in v.970

  ViewVC Help
Powered by ViewVC