Trait windows::Win32::Media::Audio::ISpatialAudioClient_Impl
pub trait ISpatialAudioClient_Impl: Sized {
// Required methods
fn GetStaticObjectPosition(
&self,
type: AudioObjectType,
x: *mut f32,
y: *mut f32,
z: *mut f32,
) -> Result<()>;
fn GetNativeStaticObjectTypeMask(&self) -> Result<AudioObjectType>;
fn GetMaxDynamicObjectCount(&self) -> Result<u32>;
fn GetSupportedAudioObjectFormatEnumerator(
&self,
) -> Result<IAudioFormatEnumerator>;
fn GetMaxFrameCount(&self, objectformat: *const WAVEFORMATEX) -> Result<u32>;
fn IsAudioObjectFormatSupported(
&self,
objectformat: *const WAVEFORMATEX,
) -> Result<()>;
fn IsSpatialAudioStreamAvailable(
&self,
streamuuid: *const GUID,
auxiliaryinfo: *const PROPVARIANT,
) -> Result<()>;
fn ActivateSpatialAudioStream(
&self,
activationparams: *const PROPVARIANT,
riid: *const GUID,
stream: *mut *mut c_void,
) -> Result<()>;
}
Required Methods§
fn GetStaticObjectPosition( &self, type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32, ) -> Result<()>
fn GetNativeStaticObjectTypeMask(&self) -> Result<AudioObjectType>
fn GetMaxDynamicObjectCount(&self) -> Result<u32>
fn GetSupportedAudioObjectFormatEnumerator( &self, ) -> Result<IAudioFormatEnumerator>
fn GetMaxFrameCount(&self, objectformat: *const WAVEFORMATEX) -> Result<u32>
fn IsAudioObjectFormatSupported( &self, objectformat: *const WAVEFORMATEX, ) -> Result<()>
fn IsSpatialAudioStreamAvailable( &self, streamuuid: *const GUID, auxiliaryinfo: *const PROPVARIANT, ) -> Result<()>
fn ActivateSpatialAudioStream( &self, activationparams: *const PROPVARIANT, riid: *const GUID, stream: *mut *mut c_void, ) -> Result<()>
Object Safety§
This trait is not object safe.