Re-exports§
pub use rubato;pub use audioadapter_buffers;
Structs§
- Interleaved
- Use interleaved output packets for a
PacketResampler. - Last
Packet Info - Options for processes the last packet in a resampler.
- Packet
Resampler - A wrapper around rubato’s
Resamplerthat accepts inputs of any size and sends resampled output packets to a given closure. - Resampler
Config - The configuration for a
PacketResampleror aResamplercreate withresampler_from_quality. - Resampling
Channel Config - Additional options for a resampling channel.
- Resampling
Cons - The consumer end of a realtime-safe spsc channel for sending samples across streams.
- Resampling
Prod - The producer end of a realtime-safe spsc channel for sending samples across streams.
- Sequential
- Use de-interleaved output packets for a
PacketResampler.
Enums§
- Push
Status - The status of pushing samples to
ResamplingProd::pushandResamplingProd::push_interleaved. - Read
Status - The status of reading data from
ResamplingCons::readandResamplingCons::read_interleaved. - Resample
Quality - The quality of the resampling algorithm used for a
PacketResampleror aResamplercreated withresampler_from_quality.
Traits§
- Packet
Resampler Buffer - The type of output buffer to use for a
PacketResampler. - Sample
- The trait governing a single sample.
Functions§
- extend_
from_ adapter_ channel - Extend the given Vec with the contents of a channel from the given
Adapter. - resampler_
from_ quality - Create a new
Resamplerwith the given settings. - resampling_
channel - Create a new realtime-safe spsc channel for sending samples across streams.
- resampling_
channel_ custom - Create a new realtime-safe spsc channel for sending samples across streams using the custom resampler.