Enum steam_audio_sys::ffi::IPLHRTFInterpolation
source · [−]#[repr(u32)]
pub enum IPLHRTFInterpolation {
IPL_HRTFINTERPOLATION_NEAREST,
IPL_HRTFINTERPOLATION_BILINEAR,
}
Expand description
Techniques for interpolating HRTF data. This is used when rendering a point source whose position relative to the listener is not contained in the measured HRTF data.
Variants
IPL_HRTFINTERPOLATION_NEAREST
Nearest-neighbor filtering, i.e., no interpolation. Selects the measurement location that is closest to the source’s actual location.
IPL_HRTFINTERPOLATION_BILINEAR
Bilinear filtering. Incurs a relatively high CPU overhead as compared to nearest-neighbor filtering, so use this for sounds where it has a significant benefit. Typically, bilinear filtering is most useful for wide-band noise-like sounds, such as radio static, mechanical noise, fire, etc.
Trait Implementations
sourceimpl Clone for IPLHRTFInterpolation
impl Clone for IPLHRTFInterpolation
sourcefn clone(&self) -> IPLHRTFInterpolation
fn clone(&self) -> IPLHRTFInterpolation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IPLHRTFInterpolation
impl Debug for IPLHRTFInterpolation
sourceimpl Hash for IPLHRTFInterpolation
impl Hash for IPLHRTFInterpolation
impl Copy for IPLHRTFInterpolation
impl Eq for IPLHRTFInterpolation
impl StructuralEq for IPLHRTFInterpolation
impl StructuralPartialEq for IPLHRTFInterpolation
Auto Trait Implementations
impl RefUnwindSafe for IPLHRTFInterpolation
impl Send for IPLHRTFInterpolation
impl Sync for IPLHRTFInterpolation
impl Unpin for IPLHRTFInterpolation
impl UnwindSafe for IPLHRTFInterpolation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more