mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
See http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c31 and http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c32.
This commit is contained in:
@@ -423,7 +423,11 @@ void BenchmarkDialog::OnRun( wxCommandEvent &event )
|
||||
if (mEditDetail)
|
||||
Printf(wxT("Paste: %d\n"), y0 * chunkSize);
|
||||
|
||||
t->Paste(double (y0 * chunkSize), tmp);
|
||||
if (!t->Paste((double)(y0 * chunkSize), tmp))
|
||||
{
|
||||
Printf(wxT("Trial %d\nFailed on Paste.\n"), z);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (t->GetClipByIndex(0)->GetSequence()->GetNumSamples() != (sampleCount) nChunks * chunkSize) {
|
||||
Printf(wxT("Trial %d\n"), z);
|
||||
|
||||
Reference in New Issue
Block a user