pub struct ISpatialAudioObjectForHrtf(/* private fields */);Implementations§
Source§impl ISpatialAudioObjectForHrtf
impl ISpatialAudioObjectForHrtf
pub unsafe fn GetBuffer( &self, buffer: *mut *mut u8, bufferlength: *mut u32, ) -> HRESULT
pub unsafe fn SetEndOfStream(&self, framecount: u32) -> HRESULT
pub unsafe fn IsActive(&self, isactive: *mut BOOL) -> HRESULT
pub unsafe fn GetAudioObjectType( &self, audioobjecttype: *mut AudioObjectType, ) -> HRESULT
pub unsafe fn SetPosition(&self, x: f32, y: f32, z: f32) -> HRESULT
pub unsafe fn SetGain(&self, gain: f32) -> HRESULT
pub unsafe fn SetOrientation(&self, orientation: *const *const f32) -> HRESULT
pub unsafe fn SetEnvironment( &self, environment: SpatialAudioHrtfEnvironmentType, ) -> HRESULT
pub unsafe fn SetDistanceDecay( &self, distancedecay: *mut SpatialAudioHrtfDistanceDecay, ) -> HRESULT
pub unsafe fn SetDirectivity( &self, directivity: *mut SpatialAudioHrtfDirectivityUnion, ) -> HRESULT
Trait Implementations§
Source§impl Clone for ISpatialAudioObjectForHrtf
impl Clone for ISpatialAudioObjectForHrtf
Source§fn clone(&self) -> ISpatialAudioObjectForHrtf
fn clone(&self) -> ISpatialAudioObjectForHrtf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ISpatialAudioObjectForHrtf
impl Debug for ISpatialAudioObjectForHrtf
Source§impl From<&ISpatialAudioObjectForHrtf> for ISpatialAudioObjectBase
impl From<&ISpatialAudioObjectForHrtf> for ISpatialAudioObjectBase
Source§fn from(value: &ISpatialAudioObjectForHrtf) -> Self
fn from(value: &ISpatialAudioObjectForHrtf) -> Self
Converts to this type from the input type.
Source§impl From<&ISpatialAudioObjectForHrtf> for IUnknown
impl From<&ISpatialAudioObjectForHrtf> for IUnknown
Source§fn from(value: &ISpatialAudioObjectForHrtf) -> Self
fn from(value: &ISpatialAudioObjectForHrtf) -> Self
Converts to this type from the input type.
Source§impl From<ISpatialAudioObjectForHrtf> for ISpatialAudioObjectBase
impl From<ISpatialAudioObjectForHrtf> for ISpatialAudioObjectBase
Source§fn from(value: ISpatialAudioObjectForHrtf) -> Self
fn from(value: ISpatialAudioObjectForHrtf) -> Self
Converts to this type from the input type.
Source§impl From<ISpatialAudioObjectForHrtf> for IUnknown
impl From<ISpatialAudioObjectForHrtf> for IUnknown
Source§fn from(value: ISpatialAudioObjectForHrtf) -> Self
fn from(value: ISpatialAudioObjectForHrtf) -> Self
Converts to this type from the input type.
Source§impl Interface for ISpatialAudioObjectForHrtf
impl Interface for ISpatialAudioObjectForHrtf
const IID: Guid
type Vtable = ISpatialAudioObjectForHrtf_abi
Source§impl<'a> IntoParam<'a, ISpatialAudioObjectBase> for &'a ISpatialAudioObjectForHrtf
impl<'a> IntoParam<'a, ISpatialAudioObjectBase> for &'a ISpatialAudioObjectForHrtf
fn into_param(self) -> Param<'a, ISpatialAudioObjectBase>
Source§impl<'a> IntoParam<'a, ISpatialAudioObjectBase> for ISpatialAudioObjectForHrtf
impl<'a> IntoParam<'a, ISpatialAudioObjectBase> for ISpatialAudioObjectForHrtf
fn into_param(self) -> Param<'a, ISpatialAudioObjectBase>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a ISpatialAudioObjectForHrtf
impl<'a> IntoParam<'a, IUnknown> for &'a ISpatialAudioObjectForHrtf
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for ISpatialAudioObjectForHrtf
impl<'a> IntoParam<'a, IUnknown> for ISpatialAudioObjectForHrtf
fn into_param(self) -> Param<'a, IUnknown>
impl Eq for ISpatialAudioObjectForHrtf
impl StructuralPartialEq for ISpatialAudioObjectForHrtf
Auto Trait Implementations§
impl Freeze for ISpatialAudioObjectForHrtf
impl RefUnwindSafe for ISpatialAudioObjectForHrtf
impl !Send for ISpatialAudioObjectForHrtf
impl !Sync for ISpatialAudioObjectForHrtf
impl Unpin for ISpatialAudioObjectForHrtf
impl UnwindSafe for ISpatialAudioObjectForHrtf
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more