peek_next_sample
Description:
[ Version ( since = "1.18" ) ]
public virtual Sample? peek_next_sample (AggregatorPad aggregator_pad)
public virtual Sample? peek_next_sample (AggregatorPad aggregator_pad)
Use this function to determine what input buffers will be aggregated to produce the next output buffer.
This should only be called from a samples_selected handler, and can be used to precisely control aggregating parameters for a given set of input samples.
Returns:
The sample that is about to be aggregated. It may hold a Buffer or a BufferList. The contents of its info structure is subclass-dependent, and documented on a subclass basis. The buffers held by the sample are not writable. |