diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-11-03 14:25:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-11-03 14:25:54 +0000 |
commit | 975e44f92480f8ce170637d6b58b48a06e34ca7c (patch) | |
tree | 11b00236fe62ab2b93e03382264f2b8c14ea9e11 /libs/ardour/utils.cc | |
parent | d2d243ad08cb9588411ea85c8d08f1d19f427dc3 (diff) |
new tape tracks ended up with non-destructive sources, fixed
git-svn-id: svn://localhost/ardour2/trunk@1067 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index 6cbb8e0c44..f346f2a8a6 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -291,7 +291,7 @@ compute_equal_power_fades (nframes_t nframes, float* in, float* out) const float pan_law_attenuation = -3.0f; const float scale = 2.0f - 4.0f * powf (10.0f,pan_law_attenuation/20.0f); - for (unsigned long n = 0; n < nframes; ++n) { + for (nframes_t n = 0; n < nframes; ++n) { float inVal = in[n]; float outVal = 1 - inVal; out[n] = outVal * (scale * outVal + 1.0f - scale); |