mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-04 14:19:30 +02:00
more detail in comment
This commit is contained in:
parent
a7a6c2b557
commit
644d0b5355
@ -1764,8 +1764,9 @@ void WaveTrack::GetEnvelopeValues(double *buffer, int bufferLen,
|
|||||||
|
|
||||||
// This check prevents problem cited in http://bugzilla.audacityteam.org/show_bug.cgi?id=528#c11,
|
// This check prevents problem cited in http://bugzilla.audacityteam.org/show_bug.cgi?id=528#c11,
|
||||||
// Gale's cross_fade_out project, which was already corrupted by bug 528.
|
// Gale's cross_fade_out project, which was already corrupted by bug 528.
|
||||||
//vvvvv Should really be checked earlier, in reading the project, but that needs much more debugging, and
|
//vvv Should really be checked earlier, in reading the project, and/or determining bufferLen
|
||||||
// this prevents the previous write past the buffer end, in clip->GetEnvelope() call.
|
// passed in. But that needs much more debugging, and this conditional prevents the previous
|
||||||
|
// write past the buffer end, in clip->GetEnvelope() call.
|
||||||
if (nClipLen < rlen)
|
if (nClipLen < rlen)
|
||||||
rlen = nClipLen;
|
rlen = nClipLen;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user