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

Diff of /linuxsampler/trunk/src/engines/sfz/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 47  namespace LinuxSampler { namespace sfz { Line 48  namespace LinuxSampler { namespace sfz {
48      AbstractEngine::Format EngineChannel::GetEngineFormat() { return AbstractEngine::SFZ; }      AbstractEngine::Format EngineChannel::GetEngineFormat() { return AbstractEngine::SFZ; }
49    
50      /** This method is not thread safe! */      /** This method is not thread safe! */
51      void EngineChannel::ResetInternal() {      void EngineChannel::ResetInternal(bool bResetEngine) {
52          CurrentKeyDimension = 0;          CurrentKeyDimension = 0;
53          EngineChannelBase<Voice, ::sfz::Region, ::sfz::Instrument>::ResetInternal();          EngineChannelBase<Voice, ::sfz::Region, ::sfz::Instrument>::ResetInternal(bResetEngine);
54          for(int i = 0; i < 128; i++) PressedKeys[i] = false;          for(int i = 0; i < 128; i++) PressedKeys[i] = false;
55      }      }
56    

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

  ViewVC Help
Powered by ViewVC