pub enum ResampleQuality {
Low,
High,
}
Expand description
The quality of the resampling algorithm used for a FixedResampler
.
Variants§
Low
Decent quality, fast performance, low latency
This is recommended for most realtime applications where low latency is desired.
Internally this uses the [FastFixedIn
] resampler from rubato with
linear interpolation.
High
Great quality, medium performance, high latency
This is recommended for most non-realtime applications where higher latency is not an issue.
Note, this resampler type adds a significant amount of latency (in the hundreds of frames), so prefer to use the “Low” option if low latency is desired.
If the fft-resampler
feature is not enabled, then this will fall
back to “Low”.
Internally this uses the [FftFixedIn
] resampler from rubato with
a chunk size of 1024
and 2
sub-chunks.
Trait Implementations§
Source§impl Clone for ResampleQuality
impl Clone for ResampleQuality
Source§fn clone(&self) -> ResampleQuality
fn clone(&self) -> ResampleQuality
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more