Continue the stream with more input.
- Returns
- The output samples that are complete, possibly none
Definition at line 234 of file Resample.cpp.
235{
237 if (impl.passthrough) {
238 impl.seen += src.size();
239 return { src.begin(), src.end() };
240 }
241 impl.history.insert(impl.history.end(), src.begin(), src.end());
242 impl.seen += src.size();
243
244 auto out = impl.produce(impl.ready_end());
245 impl.trim();
246 return out;
247}
std::unique_ptr< Impl > m_impl
References m_impl, push(), and Resampler().
Referenced by operator=(), and push().