1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00
This commit is contained in:
v.audacity
2012-07-19 23:48:27 +00:00
parent 6f50a64050
commit 90858b2e99

View File

@@ -41,7 +41,12 @@ Track :: ~Track() {
i != point.end(); i != point.end();
++i) { ++i) {
TrackPoint *tp = (*i); TrackPoint *tp = (*i);
if(tp) tp->destroy(); if(tp) {
if(tp->owner == this) {
tp->owner = NULL;
}
tp->destroy();
}
} }
} }
@@ -243,7 +248,7 @@ void Track :: synth(float *out,
{ {
float m0, m1; float m0, m1;
float w0, w1; float w0, w1;
float dw; // unused float dw;
float ph0, ph1; float ph0, ph1;
bool bTailStart; bool bTailStart;
bool bTailEnd; bool bTailEnd;