Enum rubato::ResampleError [−][src]
pub enum ResampleError {
BadRatioUpdate,
SyncNotAdjustable,
WrongNumberOfChannels {
expected: usize,
actual: usize,
},
WrongNumberOfFrames {
channel: usize,
expected: usize,
actual: usize,
},
}
Expand description
The error type used by rubato
.
Variants
Error raised when Resample::set_resample_ratio is called with a ratio that deviates for more than 10% of the original.
Error raised when trying to adjust a synchronous resampler.
Error raised when the number of channels doesn’t match expected.
Error raised when the number of frames in a single channel doesn’t match the expected.