/[svn]/linuxsampler/trunk/src/engines/common/MidiKeyboardManager.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/MidiKeyboardManager.h

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

revision 3705 by schoenebeck, Sun Dec 23 20:08:41 2018 UTC revision 3706 by schoenebeck, Wed Jan 8 20:39:59 2020 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-2008 Christian Schoenebeck                         *   *   Copyright (C) 2005-2020 Christian Schoenebeck                         *
7   *   Copyright (C) 2009-2010 Christian Schoenebeck and Grigor Iliev        *   *   Copyright (C) 2009-2010 Grigor Iliev                                  *
8   *                                                                         *   *                                                                         *
9   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
10   *   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 326  namespace LinuxSampler { Line 326  namespace LinuxSampler {
326                  if (!pKey->Active) { // mark as active key                  if (!pKey->Active) { // mark as active key
327                      pKey->Active = true;                      pKey->Active = true;
328                      pKey->itSelf = pActiveKeys->allocAppend();                      pKey->itSelf = pActiveKeys->allocAppend();
329                      const int iKey = pKey - &pMIDIKeyInfo[0];                      const int iKey = int( pKey - &pMIDIKeyInfo[0] );
330                      *pKey->itSelf = iKey;                      *pKey->itSelf = iKey;
331                  }                  }
332              }              }

Legend:
Removed from v.3705  
changed lines
  Added in v.3706

  ViewVC Help
Powered by ViewVC