/[svn]/linuxsampler/trunk/src/engines/gig/EngineChannel.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/EngineChannel.cpp

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

revision 846 by persson, Sun Mar 19 16:38:22 2006 UTC revision 880 by schoenebeck, Tue Jun 27 22:57:37 2006 UTC
# Line 189  namespace LinuxSampler { namespace gig { Line 189  namespace LinuxSampler { namespace gig {
189          catch (RIFF::Exception e) {          catch (RIFF::Exception e) {
190              InstrumentStat = -2;              InstrumentStat = -2;
191              String msg = "gig::Engine error: Failed to load instrument, cause: " + e.Message;              String msg = "gig::Engine error: Failed to load instrument, cause: " + e.Message;
192              throw LinuxSamplerException(msg);              throw Exception(msg);
193          }          }
194          catch (InstrumentResourceManagerException e) {          catch (InstrumentResourceManagerException e) {
195              InstrumentStat = -3;              InstrumentStat = -3;
196              String msg = "gig::Engine error: Failed to load instrument, cause: " + e.Message();              String msg = "gig::Engine error: Failed to load instrument, cause: " + e.Message();
197              throw LinuxSamplerException(msg);              throw Exception(msg);
198          }          }
199          catch (...) {          catch (...) {
200              InstrumentStat = -4;              InstrumentStat = -4;
201              throw LinuxSamplerException("gig::Engine error: Failed to load instrument, cause: Unknown exception while trying to parse gig file.");              throw Exception("gig::Engine error: Failed to load instrument, cause: Unknown exception while trying to parse gig file.");
202          }          }
203    
204          // rebuild ActiveKeyGroups map with key groups of current instrument          // rebuild ActiveKeyGroups map with key groups of current instrument
# Line 215  namespace LinuxSampler { namespace gig { Line 215  namespace LinuxSampler { namespace gig {
215          }          }
216          catch (AudioOutputException e) {          catch (AudioOutputException e) {
217              String msg = "Audio output device unable to provide 2 audio channels, cause: " + e.Message();              String msg = "Audio output device unable to provide 2 audio channels, cause: " + e.Message();
218              throw LinuxSamplerException(msg);              throw Exception(msg);
219          }          }
220    
221          if (pEngine) pEngine->Enable();          if (pEngine) pEngine->Enable();

Legend:
Removed from v.846  
changed lines
  Added in v.880

  ViewVC Help
Powered by ViewVC