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

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

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

revision 2218 by iliev, Thu Jul 28 08:05:57 2011 UTC revision 2311 by persson, Sat Feb 11 11:08:09 2012 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2011 Grigor Iliev                                       *   *   Copyright (C) 2011 - 2012 Grigor Iliev                                *
6   *                                                                         *   *                                                                         *
7   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
8   *   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 54  namespace LinuxSampler { namespace sf2 { Line 54  namespace LinuxSampler { namespace sf2 {
54              pVoice->pRegion->GetEG1Decay(pVoice->pPresetRegion),              pVoice->pRegion->GetEG1Decay(pVoice->pPresetRegion),
55              sustain,              sustain,
56              pVoice->pRegion->GetEG1Release(pVoice->pPresetRegion),              pVoice->pRegion->GetEG1Release(pVoice->pPresetRegion),
57              pVoice->GetSampleRate() / CONFIG_DEFAULT_SUBFRAGMENT_SIZE              pVoice->GetSampleRate() / CONFIG_DEFAULT_SUBFRAGMENT_SIZE,
58                false
59          );          );
60      }      }
61            
# Line 103  namespace LinuxSampler { namespace sf2 { Line 104  namespace LinuxSampler { namespace sf2 {
104              pVoice->pRegion->GetEG2Decay(pVoice->pPresetRegion),              pVoice->pRegion->GetEG2Decay(pVoice->pPresetRegion),
105              uint(1000 - pVoice->pRegion->GetEG2Sustain(pVoice->pPresetRegion)),              uint(1000 - pVoice->pRegion->GetEG2Sustain(pVoice->pPresetRegion)),
106              pVoice->pRegion->GetEG2Release(pVoice->pPresetRegion),              pVoice->pRegion->GetEG2Release(pVoice->pPresetRegion),
107              pVoice->GetSampleRate() / CONFIG_DEFAULT_SUBFRAGMENT_SIZE              pVoice->GetSampleRate() / CONFIG_DEFAULT_SUBFRAGMENT_SIZE,
108                true
109          );          );
110      }      }
111            

Legend:
Removed from v.2218  
changed lines
  Added in v.2311

  ViewVC Help
Powered by ViewVC