pub struct Stream<const CH: usize> { /* private fields */ }
Expand description
Stream resampler.
Implementations
Flush audio to sink and end stream.
Pipe audio through this stream, and out to the sink.
If the sink gets full, then no more audio will be written. If there is not enough audio then the sink chooses whether or not to fill the rest of it’s buffer with silence.