mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Remove more unnecessary casts to sampleCount
This commit is contained in:
@@ -400,7 +400,7 @@ void BenchmarkDialog::OnRun( wxCommandEvent & WXUNUSED(event))
|
||||
// as we're about to do).
|
||||
t->GetEndTime();
|
||||
|
||||
if (t->GetClipByIndex(0)->GetSequence()->GetNumSamples() != (sampleCount)nChunks * chunkSize) {
|
||||
if (t->GetClipByIndex(0)->GetSequence()->GetNumSamples() != nChunks * chunkSize) {
|
||||
Printf(wxT("Expected len %d, track len %lld.\n"), nChunks * chunkSize,
|
||||
(long long) t->GetClipByIndex(0)->GetSequence()->GetNumSamples());
|
||||
goto fail;
|
||||
@@ -437,7 +437,7 @@ void BenchmarkDialog::OnRun( wxCommandEvent & WXUNUSED(event))
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (t->GetClipByIndex(0)->GetSequence()->GetNumSamples() != (sampleCount) nChunks * chunkSize) {
|
||||
if (t->GetClipByIndex(0)->GetSequence()->GetNumSamples() != nChunks * chunkSize) {
|
||||
Printf(wxT("Trial %d\n"), z);
|
||||
Printf(wxT("Expected len %d, track len %lld.\n"), nChunks * chunkSize,
|
||||
(long long) t->GetClipByIndex(0)->GetSequence()->GetNumSamples());
|
||||
|
||||
Reference in New Issue
Block a user