#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
pub type AudioDeviceInputNode = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioDeviceNodeCreationStatus(pub i32);
impl AudioDeviceNodeCreationStatus {
pub const Success: Self = Self(0i32);
pub const DeviceNotAvailable: Self = Self(1i32);
pub const FormatNotSupported: Self = Self(2i32);
pub const UnknownFailure: Self = Self(3i32);
pub const AccessDenied: Self = Self(4i32);
}
impl ::core::marker::Copy for AudioDeviceNodeCreationStatus {}
impl ::core::clone::Clone for AudioDeviceNodeCreationStatus {
fn clone(&self) -> Self {
*self
}
}
pub type AudioDeviceOutputNode = *mut ::core::ffi::c_void;
pub type AudioFileInputNode = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioFileNodeCreationStatus(pub i32);
impl AudioFileNodeCreationStatus {
pub const Success: Self = Self(0i32);
pub const FileNotFound: Self = Self(1i32);
pub const InvalidFileType: Self = Self(2i32);
pub const FormatNotSupported: Self = Self(3i32);
pub const UnknownFailure: Self = Self(4i32);
}
impl ::core::marker::Copy for AudioFileNodeCreationStatus {}
impl ::core::clone::Clone for AudioFileNodeCreationStatus {
fn clone(&self) -> Self {
*self
}
}
pub type AudioFileOutputNode = *mut ::core::ffi::c_void;
pub type AudioFrameCompletedEventArgs = *mut ::core::ffi::c_void;
pub type AudioFrameInputNode = *mut ::core::ffi::c_void;
pub type AudioFrameOutputNode = *mut ::core::ffi::c_void;
pub type AudioGraph = *mut ::core::ffi::c_void;
pub type AudioGraphBatchUpdater = *mut ::core::ffi::c_void;
pub type AudioGraphConnection = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioGraphCreationStatus(pub i32);
impl AudioGraphCreationStatus {
pub const Success: Self = Self(0i32);
pub const DeviceNotAvailable: Self = Self(1i32);
pub const FormatNotSupported: Self = Self(2i32);
pub const UnknownFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for AudioGraphCreationStatus {}
impl ::core::clone::Clone for AudioGraphCreationStatus {
fn clone(&self) -> Self {
*self
}
}
pub type AudioGraphSettings = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioGraphUnrecoverableError(pub i32);
impl AudioGraphUnrecoverableError {
pub const None: Self = Self(0i32);
pub const AudioDeviceLost: Self = Self(1i32);
pub const AudioSessionDisconnected: Self = Self(2i32);
pub const UnknownFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for AudioGraphUnrecoverableError {}
impl ::core::clone::Clone for AudioGraphUnrecoverableError {
fn clone(&self) -> Self {
*self
}
}
pub type AudioGraphUnrecoverableErrorOccurredEventArgs = *mut ::core::ffi::c_void;
pub type AudioNodeEmitter = *mut ::core::ffi::c_void;
pub type AudioNodeEmitterConeProperties = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioNodeEmitterDecayKind(pub i32);
impl AudioNodeEmitterDecayKind {
pub const Natural: Self = Self(0i32);
pub const Custom: Self = Self(1i32);
}
impl ::core::marker::Copy for AudioNodeEmitterDecayKind {}
impl ::core::clone::Clone for AudioNodeEmitterDecayKind {
fn clone(&self) -> Self {
*self
}
}
pub type AudioNodeEmitterDecayModel = *mut ::core::ffi::c_void;
pub type AudioNodeEmitterNaturalDecayModelProperties = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioNodeEmitterSettings(pub u32);
impl AudioNodeEmitterSettings {
pub const None: Self = Self(0u32);
pub const DisableDoppler: Self = Self(1u32);
}
impl ::core::marker::Copy for AudioNodeEmitterSettings {}
impl ::core::clone::Clone for AudioNodeEmitterSettings {
fn clone(&self) -> Self {
*self
}
}
pub type AudioNodeEmitterShape = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioNodeEmitterShapeKind(pub i32);
impl AudioNodeEmitterShapeKind {
pub const Omnidirectional: Self = Self(0i32);
pub const Cone: Self = Self(1i32);
}
impl ::core::marker::Copy for AudioNodeEmitterShapeKind {}
impl ::core::clone::Clone for AudioNodeEmitterShapeKind {
fn clone(&self) -> Self {
*self
}
}
pub type AudioNodeListener = *mut ::core::ffi::c_void;
pub type AudioPlaybackConnection = *mut ::core::ffi::c_void;
pub type AudioPlaybackConnectionOpenResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioPlaybackConnectionOpenResultStatus(pub i32);
impl AudioPlaybackConnectionOpenResultStatus {
pub const Success: Self = Self(0i32);
pub const RequestTimedOut: Self = Self(1i32);
pub const DeniedBySystem: Self = Self(2i32);
pub const UnknownFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for AudioPlaybackConnectionOpenResultStatus {}
impl ::core::clone::Clone for AudioPlaybackConnectionOpenResultStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct AudioPlaybackConnectionState(pub i32);
impl AudioPlaybackConnectionState {
pub const Closed: Self = Self(0i32);
pub const Opened: Self = Self(1i32);
}
impl ::core::marker::Copy for AudioPlaybackConnectionState {}
impl ::core::clone::Clone for AudioPlaybackConnectionState {
fn clone(&self) -> Self {
*self
}
}
pub type AudioStateMonitor = *mut ::core::ffi::c_void;
pub type AudioSubmixNode = *mut ::core::ffi::c_void;
pub type CreateAudioDeviceInputNodeResult = *mut ::core::ffi::c_void;
pub type CreateAudioDeviceOutputNodeResult = *mut ::core::ffi::c_void;
pub type CreateAudioFileInputNodeResult = *mut ::core::ffi::c_void;
pub type CreateAudioFileOutputNodeResult = *mut ::core::ffi::c_void;
pub type CreateAudioGraphResult = *mut ::core::ffi::c_void;
pub type CreateMediaSourceAudioInputNodeResult = *mut ::core::ffi::c_void;
pub type EchoEffectDefinition = *mut ::core::ffi::c_void;
pub type EqualizerBand = *mut ::core::ffi::c_void;
pub type EqualizerEffectDefinition = *mut ::core::ffi::c_void;
pub type FrameInputNodeQuantumStartedEventArgs = *mut ::core::ffi::c_void;
pub type IAudioInputNode = *mut ::core::ffi::c_void;
pub type IAudioInputNode2 = *mut ::core::ffi::c_void;
pub type IAudioNode = *mut ::core::ffi::c_void;
pub type IAudioNodeWithListener = *mut ::core::ffi::c_void;
pub type LimiterEffectDefinition = *mut ::core::ffi::c_void;
pub type MediaSourceAudioInputNode = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct MediaSourceAudioInputNodeCreationStatus(pub i32);
impl MediaSourceAudioInputNodeCreationStatus {
pub const Success: Self = Self(0i32);
pub const FormatNotSupported: Self = Self(1i32);
pub const NetworkError: Self = Self(2i32);
pub const UnknownFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for MediaSourceAudioInputNodeCreationStatus {}
impl ::core::clone::Clone for MediaSourceAudioInputNodeCreationStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct MixedRealitySpatialAudioFormatPolicy(pub i32);
impl MixedRealitySpatialAudioFormatPolicy {
pub const UseMixedRealityDefaultSpatialAudioFormat: Self = Self(0i32);
pub const UseDeviceConfigurationDefaultSpatialAudioFormat: Self = Self(1i32);
}
impl ::core::marker::Copy for MixedRealitySpatialAudioFormatPolicy {}
impl ::core::clone::Clone for MixedRealitySpatialAudioFormatPolicy {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct QuantumSizeSelectionMode(pub i32);
impl QuantumSizeSelectionMode {
pub const SystemDefault: Self = Self(0i32);
pub const LowestLatency: Self = Self(1i32);
pub const ClosestToDesired: Self = Self(2i32);
}
impl ::core::marker::Copy for QuantumSizeSelectionMode {}
impl ::core::clone::Clone for QuantumSizeSelectionMode {
fn clone(&self) -> Self {
*self
}
}
pub type ReverbEffectDefinition = *mut ::core::ffi::c_void;
pub type SetDefaultSpatialAudioFormatResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct SetDefaultSpatialAudioFormatStatus(pub i32);
impl SetDefaultSpatialAudioFormatStatus {
pub const Succeeded: Self = Self(0i32);
pub const AccessDenied: Self = Self(1i32);
pub const LicenseExpired: Self = Self(2i32);
pub const LicenseNotValidForAudioEndpoint: Self = Self(3i32);
pub const NotSupportedOnAudioEndpoint: Self = Self(4i32);
pub const UnknownError: Self = Self(5i32);
}
impl ::core::marker::Copy for SetDefaultSpatialAudioFormatStatus {}
impl ::core::clone::Clone for SetDefaultSpatialAudioFormatStatus {
fn clone(&self) -> Self {
*self
}
}
pub type SpatialAudioDeviceConfiguration = *mut ::core::ffi::c_void;
pub type SpatialAudioFormatConfiguration = *mut ::core::ffi::c_void;
#[doc = "*Required features: 'Media_Audio'*"]
#[repr(transparent)]
pub struct SpatialAudioModel(pub i32);
impl SpatialAudioModel {
pub const ObjectBased: Self = Self(0i32);
pub const FoldDown: Self = Self(1i32);
}
impl ::core::marker::Copy for SpatialAudioModel {}
impl ::core::clone::Clone for SpatialAudioModel {
fn clone(&self) -> Self {
*self
}
}