Skip to main content

Crate fixed_resample

Crate fixed_resample 

Source

Re-exports§

pub use rubato;
pub use audioadapter_buffers;

Structs§

Interleaved
Use interleaved output packets for a PacketResampler.
LastPacketInfo
Options for processes the last packet in a resampler.
PacketResampler
A wrapper around rubato’s Resampler that accepts inputs of any size and sends resampled output packets to a given closure.
ResamplerConfig
The configuration for a PacketResampler or a Resampler create with resampler_from_quality.
ResamplingChannelConfig
Additional options for a resampling channel.
ResamplingCons
The consumer end of a realtime-safe spsc channel for sending samples across streams.
ResamplingProd
The producer end of a realtime-safe spsc channel for sending samples across streams.
Sequential
Use de-interleaved output packets for a PacketResampler.

Enums§

PushStatus
The status of pushing samples to ResamplingProd::push and ResamplingProd::push_interleaved.
ReadStatus
The status of reading data from ResamplingCons::read and ResamplingCons::read_interleaved.
ResampleQuality
The quality of the resampling algorithm used for a PacketResampler or a Resampler created with resampler_from_quality.

Traits§

PacketResamplerBuffer
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 Resampler with 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.