Skip to main content

engage/generated/root/
akaudioformat.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akaudioformat-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akaudioformat/AkAudioFormat.md"))]
11    #[::unity::class(namespace = "", name = "AkAudioFormat")]
12    #[parent(crate::system::object::Object)]
13    pub struct AkAudioFormat {
14        #[offset(16)]
15        #[rename(name = "swigCPtr")]
16        pub swig_c_ptr: ::unity::IntPtr,
17        #[offset(24)]
18        #[rename(name = "swigCMemOwn")]
19        pub swig_c_mem_own: bool,
20    }
21}
22
23#[cfg(feature = "root-akaudioformat-types")]
24pub use __types::*;
25
26#[cfg(feature = "root-akaudioformat")]
27impl AkAudioFormat {
28    #[doc = "`getCPtr(crate::root::akaudioformat::AkAudioFormat)` overload"]
29    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akaudioformat::AkAudioFormat>) -> ::unity::IntPtr {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2bcdad0usize)as*mut u8, ::unity::IntPtr;
32(crate::root::akaudioformat::AkAudioFormat)::core::convert::Into::into(obj))
33        }
34    }
35}
36
37#[cfg(feature = "root-akaudioformat")]
38pub trait IAkAudioFormatMethods: IAkAudioFormat {
39    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
40    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
41        unsafe {
42            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x2bcda90usize)as*mut u8,();
44(AkAudioFormat)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
45        }
46    }
47    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
48    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
49        unsafe {
50            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            {
52                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
53                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
54                    panic!(
55                        "unity: virtual slot {}
56 out of range (vtable len {}
57) on the runtime class behind {}
58 (method `{}
59`)",
60                        5usize,
61                        __vt.len(),
62                        <AkAudioFormat as ::unity::ClassIdentity>::NAME,
63                        "setCPtr",
64                    )
65                });
66                let __inner: extern "C" fn(AkAudioFormat, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
67                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
68                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
69            }
70        }
71    }
72    #[doc = "`Finalize()` overload"]
73    fn finalize(self) -> () {
74        unsafe {
75            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76            {
77                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
78                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
79                    panic!(
80                        "unity: virtual slot {}
81 out of range (vtable len {}
82) on the runtime class behind {}
83 (method `{}
84`)",
85                        1usize,
86                        __vt.len(),
87                        <AkAudioFormat as ::unity::ClassIdentity>::NAME,
88                        "Finalize",
89                    )
90                });
91                let __inner: extern "C" fn(AkAudioFormat, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
92                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
93                __inner(__receiver, __mi)
94            }
95        }
96    }
97    #[doc = "`Dispose()` overload"]
98    fn dispose(self) -> () {
99        unsafe {
100            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101            {
102                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
103                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
104                    panic!(
105                        "unity: virtual slot {}
106 out of range (vtable len {}
107) on the runtime class behind {}
108 (method `{}
109`)",
110                        6usize,
111                        __vt.len(),
112                        <AkAudioFormat as ::unity::ClassIdentity>::NAME,
113                        "Dispose",
114                    )
115                });
116                let __inner: extern "C" fn(AkAudioFormat, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
117                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
118                __inner(__receiver, __mi)
119            }
120        }
121    }
122    #[doc = "`set_uSampleRate(u32)` overload"]
123    fn set_u_sample_rate(self, value: impl ::core::convert::Into<u32>) -> () {
124        unsafe {
125            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126            ::unity::il2cpp_call!((::unity::module_base()+0x2bcdd60usize)as*mut u8,();
127(AkAudioFormat)__receiver,(u32)::core::convert::Into::into(value))
128        }
129    }
130    #[doc = "`get_uSampleRate()` overload"]
131    fn get_u_sample_rate(self) -> u32 {
132        unsafe {
133            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x2bcdde0usize)as*mut u8,u32;
135(AkAudioFormat)__receiver)
136        }
137    }
138    #[doc = "`set_channelConfig(crate::root::akchannelconfig::AkChannelConfig)` overload"]
139    fn set_channel_config(self, value: impl ::core::convert::Into<crate::root::akchannelconfig::AkChannelConfig>) -> () {
140        unsafe {
141            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x2bcde50usize)as*mut u8,();
143(AkAudioFormat)__receiver,(crate::root::akchannelconfig::AkChannelConfig)::core::convert::Into::into(value))
144        }
145    }
146    #[doc = "`get_channelConfig()` overload"]
147    fn get_channel_config(self) -> crate::root::akchannelconfig::AkChannelConfig {
148        unsafe {
149            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150            ::unity::il2cpp_call!((::unity::module_base()+0x2bcdee0usize)as*mut u8,crate::root::akchannelconfig::AkChannelConfig;
151(AkAudioFormat)__receiver)
152        }
153    }
154    #[doc = "`set_uBitsPerSample(u32)` overload"]
155    fn set_u_bits_per_sample(self, value: impl ::core::convert::Into<u32>) -> () {
156        unsafe {
157            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158            ::unity::il2cpp_call!((::unity::module_base()+0x2bcdfc0usize)as*mut u8,();
159(AkAudioFormat)__receiver,(u32)::core::convert::Into::into(value))
160        }
161    }
162    #[doc = "`get_uBitsPerSample()` overload"]
163    fn get_u_bits_per_sample(self) -> u32 {
164        unsafe {
165            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166            ::unity::il2cpp_call!((::unity::module_base()+0x2bce040usize)as*mut u8,u32;
167(AkAudioFormat)__receiver)
168        }
169    }
170    #[doc = "`set_uBlockAlign(u32)` overload"]
171    fn set_u_block_align(self, value: impl ::core::convert::Into<u32>) -> () {
172        unsafe {
173            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            ::unity::il2cpp_call!((::unity::module_base()+0x2bce0b0usize)as*mut u8,();
175(AkAudioFormat)__receiver,(u32)::core::convert::Into::into(value))
176        }
177    }
178    #[doc = "`get_uBlockAlign()` overload"]
179    fn get_u_block_align(self) -> u32 {
180        unsafe {
181            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182            ::unity::il2cpp_call!((::unity::module_base()+0x2bce130usize)as*mut u8,u32;
183(AkAudioFormat)__receiver)
184        }
185    }
186    #[doc = "`set_uTypeID(u32)` overload"]
187    fn set_u_type_id(self, value: impl ::core::convert::Into<u32>) -> () {
188        unsafe {
189            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190            ::unity::il2cpp_call!((::unity::module_base()+0x2bce1a0usize)as*mut u8,();
191(AkAudioFormat)__receiver,(u32)::core::convert::Into::into(value))
192        }
193    }
194    #[doc = "`get_uTypeID()` overload"]
195    fn get_u_type_id(self) -> u32 {
196        unsafe {
197            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198            ::unity::il2cpp_call!((::unity::module_base()+0x2bce220usize)as*mut u8,u32;
199(AkAudioFormat)__receiver)
200        }
201    }
202    #[doc = "`set_uInterleaveID(u32)` overload"]
203    fn set_u_interleave_id(self, value: impl ::core::convert::Into<u32>) -> () {
204        unsafe {
205            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206            ::unity::il2cpp_call!((::unity::module_base()+0x2bce290usize)as*mut u8,();
207(AkAudioFormat)__receiver,(u32)::core::convert::Into::into(value))
208        }
209    }
210    #[doc = "`get_uInterleaveID()` overload"]
211    fn get_u_interleave_id(self) -> u32 {
212        unsafe {
213            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214            ::unity::il2cpp_call!((::unity::module_base()+0x2bce310usize)as*mut u8,u32;
215(AkAudioFormat)__receiver)
216        }
217    }
218    #[doc = "`GetNumChannels()` overload"]
219    fn get_num_channels(self) -> u32 {
220        unsafe {
221            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222            ::unity::il2cpp_call!((::unity::module_base()+0x2bce380usize)as*mut u8,u32;
223(AkAudioFormat)__receiver)
224        }
225    }
226    #[doc = "`GetBitsPerSample()` overload"]
227    fn get_bits_per_sample(self) -> u32 {
228        unsafe {
229            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230            ::unity::il2cpp_call!((::unity::module_base()+0x2bce3f0usize)as*mut u8,u32;
231(AkAudioFormat)__receiver)
232        }
233    }
234    #[doc = "`GetBlockAlign()` overload"]
235    fn get_block_align(self) -> u32 {
236        unsafe {
237            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238            ::unity::il2cpp_call!((::unity::module_base()+0x2bce460usize)as*mut u8,u32;
239(AkAudioFormat)__receiver)
240        }
241    }
242    #[doc = "`GetTypeID()` overload"]
243    fn get_type_id(self) -> u32 {
244        unsafe {
245            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
246            ::unity::il2cpp_call!((::unity::module_base()+0x2bce4d0usize)as*mut u8,u32;
247(AkAudioFormat)__receiver)
248        }
249    }
250    #[doc = "`GetInterleaveID()` overload"]
251    fn get_interleave_id(self) -> u32 {
252        unsafe {
253            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
254            ::unity::il2cpp_call!((::unity::module_base()+0x2bce540usize)as*mut u8,u32;
255(AkAudioFormat)__receiver)
256        }
257    }
258    #[doc = "`SetAll(u32, crate::root::akchannelconfig::AkChannelConfig, u32, u32, u32, u32)` overload"]
259    fn set_all(
260        self,
261        in_u_sample_rate: impl ::core::convert::Into<u32>,
262        in_channel_config: impl ::core::convert::Into<crate::root::akchannelconfig::AkChannelConfig>,
263        in_u_bits_per_sample: impl ::core::convert::Into<u32>,
264        in_u_block_align: impl ::core::convert::Into<u32>,
265        in_u_type_id: impl ::core::convert::Into<u32>,
266        in_u_interleave_id: impl ::core::convert::Into<u32>,
267    ) -> () {
268        unsafe {
269            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270            ::unity::il2cpp_call!((::unity::module_base()+0x2bce5b0usize)as*mut u8,();
271(AkAudioFormat)__receiver,(u32)::core::convert::Into::into(in_u_sample_rate),(crate::root::akchannelconfig::AkChannelConfig)::core::convert::Into::into(in_channel_config),(u32)::core::convert::Into::into(in_u_bits_per_sample),(u32)::core::convert::Into::into(in_u_block_align),(u32)::core::convert::Into::into(in_u_type_id),(u32)::core::convert::Into::into(in_u_interleave_id))
272        }
273    }
274    #[doc = "`IsChannelConfigSupported()` overload"]
275    fn is_channel_config_supported(self) -> bool {
276        unsafe {
277            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278            ::unity::il2cpp_call!((::unity::module_base()+0x2bce680usize)as*mut u8,bool;
279(AkAudioFormat)__receiver)
280        }
281    }
282    #[doc = "`.ctor()` overload"]
283    fn ctor_2(self) -> () {
284        unsafe {
285            let __receiver = <AkAudioFormat as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286            ::unity::il2cpp_call!((::unity::module_base()+0x2bce6f0usize)as*mut u8,();
287(AkAudioFormat)__receiver)
288        }
289    }
290}
291
292#[cfg(feature = "root-akaudioformat")]
293impl<__T: IAkAudioFormat> IAkAudioFormatMethods for __T {}
294
295#[cfg(feature = "root-akaudioformat")]
296impl AkAudioFormat {
297    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
298        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
299    }
300
301    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
302        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
303    }
304
305    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
306        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
307    }
308
309    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
310        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
311    }
312
313    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
314        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
315    }
316
317    pub fn set_u_sample_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
318        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
319    }
320
321    pub fn get_u_sample_rate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
322        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
323    }
324
325    pub fn set_channel_config_method_info() -> &'static ::unity::il2cpp::MethodInfo {
326        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
327    }
328
329    pub fn get_channel_config_method_info() -> &'static ::unity::il2cpp::MethodInfo {
330        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
331    }
332
333    pub fn set_u_bits_per_sample_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
335    }
336
337    pub fn get_u_bits_per_sample_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
339    }
340
341    pub fn set_u_block_align_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
343    }
344
345    pub fn get_u_block_align_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
347    }
348
349    pub fn set_u_type_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
351    }
352
353    pub fn get_u_type_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
355    }
356
357    pub fn set_u_interleave_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
359    }
360
361    pub fn get_u_interleave_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
363    }
364
365    pub fn get_num_channels_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
367    }
368
369    pub fn get_bits_per_sample_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
371    }
372
373    pub fn get_block_align_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
375    }
376
377    pub fn get_type_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
379    }
380
381    pub fn get_interleave_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
383    }
384
385    pub fn set_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
387    }
388
389    pub fn is_channel_config_supported_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
391    }
392
393    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
395    }
396}
397
398#[cfg(feature = "root-akaudioformat")]
399impl AkAudioFormat {
400    #[doc = "Direct (non-virtual) call to `AkAudioFormat`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
401    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
402        let __mi = Self::set_c_ptr_method_info();
403        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
404        __inner(this.into(), c_ptr, ::core::option::Option::None)
405    }
406
407    #[doc = "Direct (non-virtual) call to `AkAudioFormat`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
408    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
409        let __mi = Self::finalize_method_info();
410        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
411        __inner(this.into(), ::core::option::Option::None)
412    }
413
414    #[doc = "Direct (non-virtual) call to `AkAudioFormat`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
415    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
416        let __mi = Self::dispose_method_info();
417        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
418        __inner(this.into(), ::core::option::Option::None)
419    }
420}
421
422#[cfg(feature = "root-akaudioformat")]
423impl AkAudioFormat {
424    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
425    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
426        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
427            panic!(
428                "{}
429::{}
430 failed to instantiate",
431                ::core::stringify!(AkAudioFormat),
432                ::core::stringify!(new),
433            )
434        });
435        <Self as IAkAudioFormatMethods>::ctor(this, c_ptr, c_memory_own);
436        this
437    }
438
439    #[doc = "`.ctor()` — no args"]
440    pub fn new_2() -> Self {
441        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
442            panic!(
443                "{}
444::{}
445 failed to instantiate",
446                ::core::stringify!(AkAudioFormat),
447                ::core::stringify!(new_2),
448            )
449        });
450        <Self as IAkAudioFormatMethods>::ctor_2(this);
451        this
452    }
453}
454
455#[cfg(feature = "root-akaudioformat")]
456#[doc(hidden)]
457pub mod prelude {
458    pub use super::{AkAudioFormat, IAkAudioFormat, IAkAudioFormatMethods};
459    pub use crate::system::object::IObject;
460    #[cfg(feature = "system-object")]
461    pub use crate::system::object::IObjectMethods;
462}