End the stream.
- Returns
- The remaining output samples, so that the stream's total is resampled_length of its input
Definition at line 249 of file Resample.cpp.
250{
252 std::vector<double> out;
253 if (!impl.passthrough) {
254 out = impl.produce(
resampled_length(impl.seen, impl.from_rate, impl.to_rate));
255 }
256 impl.clear();
257 return out;
258}
std::unique_ptr< Impl > m_impl
size_t resampled_length(size_t samples, uint32_t from_rate, uint32_t to_rate) noexcept
Number of samples resample returns.
References m_impl, and MayaFlux::Kinesis::Discrete::resampled_length().
Referenced by operator=().