MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ push()

std::vector< double > MayaFlux::Kinesis::Discrete::Resampler::push ( std::span< const double > src)
nodiscard

Continue the stream with more input.

Returns
The output samples that are complete, possibly none

Definition at line 234 of file Resample.cpp.

235{
236 auto& impl = *m_impl;
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}

References m_impl, push(), and Resampler().

Referenced by operator=(), and push().

Here is the call graph for this function:
Here is the caller graph for this function: