Struct windows::Win32::Media::MediaFoundation::IMFSpatialAudioObjectBuffer
pub struct IMFSpatialAudioObjectBuffer(/* private fields */);
Implementations§
§impl IMFSpatialAudioObjectBuffer
impl IMFSpatialAudioObjectBuffer
pub unsafe fn Lock( &self, ppbbuffer: *mut *mut u8, pcbmaxlength: Option<*mut u32>, pcbcurrentlength: Option<*mut u32> ) -> Result<()>
pub unsafe fn Unlock(&self) -> Result<()>
pub unsafe fn GetCurrentLength(&self) -> Result<u32>
pub unsafe fn SetCurrentLength(&self, cbcurrentlength: u32) -> Result<()>
pub unsafe fn GetMaxLength(&self) -> Result<u32>
pub unsafe fn SetID(&self, u32id: u32) -> Result<()>
pub unsafe fn GetID(&self) -> Result<u32>
pub unsafe fn SetType(&self, type: AudioObjectType) -> Result<()>
pub unsafe fn GetType(&self) -> Result<AudioObjectType>
pub unsafe fn GetMetadataItems(&self) -> Result<ISpatialAudioMetadataItems>
Trait Implementations§
§impl Clone for IMFSpatialAudioObjectBuffer
impl Clone for IMFSpatialAudioObjectBuffer
§fn clone(&self) -> IMFSpatialAudioObjectBuffer
fn clone(&self) -> IMFSpatialAudioObjectBuffer
Returns a copy 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 more§impl Debug for IMFSpatialAudioObjectBuffer
impl Debug for IMFSpatialAudioObjectBuffer
§impl From<&IMFSpatialAudioObjectBuffer> for &IMFMediaBuffer
impl From<&IMFSpatialAudioObjectBuffer> for &IMFMediaBuffer
§fn from(value: &IMFSpatialAudioObjectBuffer) -> Self
fn from(value: &IMFSpatialAudioObjectBuffer) -> Self
Converts to this type from the input type.
§impl From<&IMFSpatialAudioObjectBuffer> for &IUnknown
impl From<&IMFSpatialAudioObjectBuffer> for &IUnknown
§fn from(value: &IMFSpatialAudioObjectBuffer) -> Self
fn from(value: &IMFSpatialAudioObjectBuffer) -> Self
Converts to this type from the input type.
§impl From<IMFSpatialAudioObjectBuffer> for IMFMediaBuffer
impl From<IMFSpatialAudioObjectBuffer> for IMFMediaBuffer
§fn from(value: IMFSpatialAudioObjectBuffer) -> Self
fn from(value: IMFSpatialAudioObjectBuffer) -> Self
Converts to this type from the input type.
§impl From<IMFSpatialAudioObjectBuffer> for IUnknown
impl From<IMFSpatialAudioObjectBuffer> for IUnknown
§fn from(value: IMFSpatialAudioObjectBuffer) -> Self
fn from(value: IMFSpatialAudioObjectBuffer) -> Self
Converts to this type from the input type.
§impl Interface for IMFSpatialAudioObjectBuffer
impl Interface for IMFSpatialAudioObjectBuffer
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IMFSpatialAudioObjectBuffer
impl PartialEq for IMFSpatialAudioObjectBuffer
§fn eq(&self, other: &IMFSpatialAudioObjectBuffer) -> bool
fn eq(&self, other: &IMFSpatialAudioObjectBuffer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFSpatialAudioObjectBuffer
impl StructuralPartialEq for IMFSpatialAudioObjectBuffer
Auto Trait Implementations§
impl RefUnwindSafe for IMFSpatialAudioObjectBuffer
impl !Send for IMFSpatialAudioObjectBuffer
impl !Sync for IMFSpatialAudioObjectBuffer
impl Unpin for IMFSpatialAudioObjectBuffer
impl UnwindSafe for IMFSpatialAudioObjectBuffer
Blanket Implementations§
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