]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type AudioCaptureEffectsManager = *mut ::core::ffi::c_void; |
2 | pub type AudioEffect = *mut ::core::ffi::c_void; | |
3 | pub type AudioEffectDefinition = *mut ::core::ffi::c_void; | |
04454e1e | 4 | #[doc = "*Required features: `\"Media_Effects\"`*"] |
5e7ed085 FG |
5 | #[repr(transparent)] |
6 | pub struct AudioEffectType(pub i32); | |
7 | impl AudioEffectType { | |
8 | pub const Other: Self = Self(0i32); | |
9 | pub const AcousticEchoCancellation: Self = Self(1i32); | |
10 | pub const NoiseSuppression: Self = Self(2i32); | |
11 | pub const AutomaticGainControl: Self = Self(3i32); | |
12 | pub const BeamForming: Self = Self(4i32); | |
13 | pub const ConstantToneRemoval: Self = Self(5i32); | |
14 | pub const Equalizer: Self = Self(6i32); | |
15 | pub const LoudnessEqualizer: Self = Self(7i32); | |
16 | pub const BassBoost: Self = Self(8i32); | |
17 | pub const VirtualSurround: Self = Self(9i32); | |
18 | pub const VirtualHeadphones: Self = Self(10i32); | |
19 | pub const SpeakerFill: Self = Self(11i32); | |
20 | pub const RoomCorrection: Self = Self(12i32); | |
21 | pub const BassManagement: Self = Self(13i32); | |
22 | pub const EnvironmentalEffects: Self = Self(14i32); | |
23 | pub const SpeakerProtection: Self = Self(15i32); | |
24 | pub const SpeakerCompensation: Self = Self(16i32); | |
25 | pub const DynamicRangeCompression: Self = Self(17i32); | |
26 | pub const FarFieldBeamForming: Self = Self(18i32); | |
27 | pub const DeepNoiseSuppression: Self = Self(19i32); | |
28 | } | |
29 | impl ::core::marker::Copy for AudioEffectType {} | |
30 | impl ::core::clone::Clone for AudioEffectType { | |
31 | fn clone(&self) -> Self { | |
32 | *self | |
33 | } | |
34 | } | |
35 | pub type AudioRenderEffectsManager = *mut ::core::ffi::c_void; | |
36 | pub type CompositeVideoFrameContext = *mut ::core::ffi::c_void; | |
37 | pub type IAudioEffectDefinition = *mut ::core::ffi::c_void; | |
38 | pub type IBasicAudioEffect = *mut ::core::ffi::c_void; | |
39 | pub type IBasicVideoEffect = *mut ::core::ffi::c_void; | |
40 | pub type IVideoCompositor = *mut ::core::ffi::c_void; | |
41 | pub type IVideoCompositorDefinition = *mut ::core::ffi::c_void; | |
42 | pub type IVideoEffectDefinition = *mut ::core::ffi::c_void; | |
04454e1e | 43 | #[doc = "*Required features: `\"Media_Effects\"`*"] |
5e7ed085 FG |
44 | #[repr(transparent)] |
45 | pub struct MediaEffectClosedReason(pub i32); | |
46 | impl MediaEffectClosedReason { | |
47 | pub const Done: Self = Self(0i32); | |
48 | pub const UnknownError: Self = Self(1i32); | |
49 | pub const UnsupportedEncodingFormat: Self = Self(2i32); | |
50 | pub const EffectCurrentlyUnloaded: Self = Self(3i32); | |
51 | } | |
52 | impl ::core::marker::Copy for MediaEffectClosedReason {} | |
53 | impl ::core::clone::Clone for MediaEffectClosedReason { | |
54 | fn clone(&self) -> Self { | |
55 | *self | |
56 | } | |
57 | } | |
04454e1e | 58 | #[doc = "*Required features: `\"Media_Effects\"`*"] |
5e7ed085 FG |
59 | #[repr(transparent)] |
60 | pub struct MediaMemoryTypes(pub i32); | |
61 | impl MediaMemoryTypes { | |
62 | pub const Gpu: Self = Self(0i32); | |
63 | pub const Cpu: Self = Self(1i32); | |
64 | pub const GpuAndCpu: Self = Self(2i32); | |
65 | } | |
66 | impl ::core::marker::Copy for MediaMemoryTypes {} | |
67 | impl ::core::clone::Clone for MediaMemoryTypes { | |
68 | fn clone(&self) -> Self { | |
69 | *self | |
70 | } | |
71 | } | |
72 | pub type ProcessAudioFrameContext = *mut ::core::ffi::c_void; | |
73 | pub type ProcessVideoFrameContext = *mut ::core::ffi::c_void; | |
74 | pub type SlowMotionEffectDefinition = *mut ::core::ffi::c_void; | |
75 | pub type VideoCompositorDefinition = *mut ::core::ffi::c_void; | |
76 | pub type VideoEffectDefinition = *mut ::core::ffi::c_void; | |
77 | pub type VideoTransformEffectDefinition = *mut ::core::ffi::c_void; | |
78 | pub type VideoTransformSphericalProjection = *mut ::core::ffi::c_void; |