/[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 1039 by iliev, Sun Dec 17 22:35:01 2006 UTC revision 1040 by schoenebeck, Wed Feb 7 15:41:31 2007 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2006 Christian Schoenebeck                              *   *   Copyright (C) 2006 - 2007 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This library is free software; you can redistribute it and/or modify  *   *   This library is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 73  namespace LinuxSampler { Line 73  namespace LinuxSampler {
73          midiMapsMutex.Unlock();          midiMapsMutex.Unlock();
74          if (!Entry.InstrumentFile.size())          if (!Entry.InstrumentFile.size())
75              throw Exception("No instrument file name given");              throw Exception("No instrument file name given");
76            // TODO: an easy one - we should check here if given file exists and throw an exception if it doesn't
77          if (Entry.Volume < 0.0)          if (Entry.Volume < 0.0)
78              throw Exception("Volume may not be a negative value");              throw Exception("Volume may not be a negative value");
79          Engine* pEngine = EngineFactory::Create(Entry.EngineName);          Engine* pEngine = EngineFactory::Create(Entry.EngineName);

Legend:
Removed from v.1039  
changed lines
  Added in v.1040

  ViewVC Help
Powered by ViewVC