mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 08:59:28 +02:00
(bug 451, p2) A bit more work on what I committed yesterday.
This commit is contained in:
parent
2f043dfb0f
commit
17083dffa5
@ -234,7 +234,7 @@ bool Sequence::ConvertToSampleFormat(sampleFormat format, bool* pbChanged)
|
|||||||
{
|
{
|
||||||
SeqBlock* pOldSeqBlock = mBlock->Item(i);
|
SeqBlock* pOldSeqBlock = mBlock->Item(i);
|
||||||
mDirManager->Deref(pOldSeqBlock->f);
|
mDirManager->Deref(pOldSeqBlock->f);
|
||||||
pOldSeqBlock->f = NULL; // ...so we don't delete the file when we delete mBlock, next.
|
pOldSeqBlock->f = NULL; //vvvvv ...so we don't delete the file when we delete mBlock, next. ANSWER-ME: Right, or delete?
|
||||||
}
|
}
|
||||||
delete mBlock;
|
delete mBlock;
|
||||||
|
|
||||||
@ -247,8 +247,7 @@ bool Sequence::ConvertToSampleFormat(sampleFormat format, bool* pbChanged)
|
|||||||
*pbChanged = false; // Revert overall change flag, in case we had some partial success in the loop.
|
*pbChanged = false; // Revert overall change flag, in case we had some partial success in the loop.
|
||||||
}
|
}
|
||||||
|
|
||||||
//vvvvv bSuccess &= ConsistencyCheck(wxT("Sequence::ConvertToSampleFormat()"));
|
bSuccess &= ConsistencyCheck(wxT("Sequence::ConvertToSampleFormat()"));
|
||||||
ConsistencyCheck(wxT("Sequence::ConvertToSampleFormat()"));
|
|
||||||
|
|
||||||
return bSuccess;
|
return bSuccess;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user