Parent Directory | Revision Log | Patch
revision 783 by persson, Sun Oct 2 14:40:52 2005 UTC | revision 796 by persson, Sun Oct 30 08:35:13 2005 UTC | |
---|---|---|
# | Line 32 namespace LinuxSampler { namespace gig { | Line 32 namespace LinuxSampler { namespace gig { |
32 | } | } |
33 | ||
34 | void EGADSR::CalculateFadeOutCoeff(float FadeOutTime, float SampleRate) { | void EGADSR::CalculateFadeOutCoeff(float FadeOutTime, float SampleRate) { |
35 | const float killSteps = FadeOutTime * SampleRate; | const float killSteps = FadeOutTime * SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE; |
36 | FadeOutCoeff = -1.0f / killSteps; | FadeOutCoeff = -1.0f / killSteps; |
37 | } | } |
38 |
|
ViewVC Help | |
Powered by ViewVC |