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

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

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

revision 2870 by persson, Sat Oct 1 08:23:02 2011 UTC revision 2871 by schoenebeck, Sun Apr 10 18:22:23 2016 UTC
# Line 4  Line 4 
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-2009 Christian Schoenebeck                         *   *   Copyright (C) 2005-2009 Christian Schoenebeck                         *
7   *   Copyright (C) 2009-2011 Grigor Iliev                                  *   *   Copyright (C) 2009 - 2012 Christian Schoenebeck and Grigor Iliev      *
8     *   Copyright (C) 2012 - 2016 Christian Schoenebeck and Andreas Persson   *
9   *                                                                         *   *                                                                         *
10   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
11   *   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 45  namespace LinuxSampler { namespace sf2 { Line 46  namespace LinuxSampler { namespace sf2 {
46      AbstractEngine::Format EngineChannel::GetEngineFormat() { return AbstractEngine::SF2; }      AbstractEngine::Format EngineChannel::GetEngineFormat() { return AbstractEngine::SF2; }
47    
48      /** This method is not thread safe! */      /** This method is not thread safe! */
49      void EngineChannel::ResetInternal() {      void EngineChannel::ResetInternal(bool bResetEngine) {
50          CurrentKeyDimension = 0;          CurrentKeyDimension = 0;
51          EngineChannelBase<Voice, ::sf2::Region, ::sf2::Preset>::ResetInternal();          EngineChannelBase<Voice, ::sf2::Region, ::sf2::Preset>::ResetInternal(bResetEngine);
52          for(int i = 0; i < 128; i++) PressedKeys[i] = false;          for(int i = 0; i < 128; i++) PressedKeys[i] = false;
53      }      }
54    

Legend:
Removed from v.2870  
changed lines
  Added in v.2871

  ViewVC Help
Powered by ViewVC