]> git.sesse.net Git - nageru/commitdiff
Remove an assert that no longer holds.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 21 Feb 2017 16:48:58 +0000 (17:48 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 21 Feb 2017 16:48:58 +0000 (17:48 +0100)
resampling_queue.cpp

index 7286d5cba535ebad5b757bc3ed1c2d2399d6d528..24811ebe5bbab43fa7cd68471c4ca69f82e673e8 100644 (file)
@@ -148,8 +148,6 @@ bool ResamplingQueue::get_output_samples(steady_clock::time_point ts, float *sam
                if (rcorr < 0.95) rcorr = 0.95;
                assert(!isnan(rcorr));
                vresampler.set_rratio(rcorr);
-       } else {
-               assert(rate_adjustment_policy == DO_NOT_ADJUST_RATE);
        }
 
        // Finally actually resample, producing exactly <num_samples> output samples.