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

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

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

revision 879 by schoenebeck, Wed Jul 20 21:43:23 2005 UTC revision 880 by schoenebeck, Tue Jun 27 22:57:37 2006 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 Christian Schoenebeck                              *   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   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 30  namespace LinuxSampler { Line 30  namespace LinuxSampler {
30          bSolo = false;          bSolo = false;
31      }      }
32    
33      void EngineChannel::SetMute(int state) throw (LinuxSamplerException) {      void EngineChannel::SetMute(int state) throw (Exception) {
34          if(iMute == state) return;          if(iMute == state) return;
35          if(state < -1 || state > 1)          if(state < -1 || state > 1)
36              throw LinuxSamplerException("Invalid Mute state: " + ToString(state));              throw Exception("Invalid Mute state: " + ToString(state));
37    
38          iMute = state;          iMute = state;
39    

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

  ViewVC Help
Powered by ViewVC