Struct steam_audio::effect::ambisonics::decode::AmbisonicsDecode
source · [−]pub struct AmbisonicsDecode { /* private fields */ }
Implementations
sourceimpl AmbisonicsDecode
impl AmbisonicsDecode
pub fn new(
context: &Context,
audio_settings: &AudioSettings,
hrtf: &HRTF,
decode_settings: &AmbisonicsDecodeSettings
) -> Result<Self, SteamAudioError>
pub unsafe fn inner(&self) -> IPLAmbisonicsDecodeEffect
pub fn apply_to_buffer(
&self,
params: &AmbisonicsDecodeParams,
frame: AudioBufferFrame<'_>,
output_buffer: &mut AudioBuffer
) -> Result<(), SteamAudioError>
pub fn apply(
&self,
audio_settings: &AudioSettings,
params: &AmbisonicsDecodeParams,
frame: AudioBufferFrame<'_>
) -> Result<AudioBuffer, SteamAudioError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AmbisonicsDecode
impl !Send for AmbisonicsDecode
impl !Sync for AmbisonicsDecode
impl Unpin for AmbisonicsDecode
impl UnwindSafe for AmbisonicsDecode
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