1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-04 22:49:07 +02:00

(bug 451) Remove uncertain comment. Call WaveClip::ConvertToSampleFormat() instead of Sequence::ConvertToSampleFormat(), so it does MarkChanged() and an assert on the result from Sequence::ConvertToSampleFormat().

This commit is contained in:
v.audacity 2011-11-22 05:10:54 +00:00
parent 6f768cb889
commit 3bcb940843

View File

@ -1246,9 +1246,8 @@ bool WaveClip::Paste(double t0, WaveClip* other)
{
// In debug mode, fail because that's probably a bad call to this method.
// In release, adjust the source to match the destination, so we don't do a bad paste.
// Conversion probably should have been done earlier than here.
wxASSERT(false);
pastedClip->mSequence->ConvertToSampleFormat(mSequence->GetSampleFormat());
pastedClip->ConvertToSampleFormat(mSequence->GetSampleFormat());
}
bool result = false;