mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-05 06:59: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:
parent
6f768cb889
commit
3bcb940843
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user