[−][src]Struct libsoxr::spec::QualitySpec
QualitySpec controls the quality of the resampling. Wrapper for soxr_quality_spec_t
Implementations
impl QualitySpec
[src]
pub fn new(quality: &QualityRecipe, flags: QualityFlags) -> QualitySpec
[src]
Create a new spec from supplied recipe and flags
use libsoxr::{QualityFlags, QualityRecipe, QualitySpec, Soxr}; let spec = QualitySpec::new(&QualityRecipe::High, QualityFlags::ROLLOFF_SMALL); let soxr = Soxr::create(96000.0, 44100.0, 2, None, Some(&spec), None); assert!(soxr.is_ok());
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QualitySpec
[src]
impl !Send for QualitySpec
[src]
impl !Sync for QualitySpec
[src]
impl Unpin for QualitySpec
[src]
impl UnwindSafe for QualitySpec
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,