pub trait IAkAudioFormatMethods: IAkAudioFormat {
Show 24 methods
// Provided methods
fn ctor(self, c_ptr: impl Into<IntPtr>, c_memory_own: impl Into<bool>) { ... }
fn set_c_ptr(self, c_ptr: impl Into<IntPtr>) { ... }
fn finalize(self) { ... }
fn dispose(self) { ... }
fn set_u_sample_rate(self, value: impl Into<u32>) { ... }
fn get_u_sample_rate(self) -> u32 { ... }
fn set_channel_config(self, value: impl Into<AkChannelConfig>) { ... }
fn get_channel_config(self) -> AkChannelConfig { ... }
fn set_u_bits_per_sample(self, value: impl Into<u32>) { ... }
fn get_u_bits_per_sample(self) -> u32 { ... }
fn set_u_block_align(self, value: impl Into<u32>) { ... }
fn get_u_block_align(self) -> u32 { ... }
fn set_u_type_id(self, value: impl Into<u32>) { ... }
fn get_u_type_id(self) -> u32 { ... }
fn set_u_interleave_id(self, value: impl Into<u32>) { ... }
fn get_u_interleave_id(self) -> u32 { ... }
fn get_num_channels(self) -> u32 { ... }
fn get_bits_per_sample(self) -> u32 { ... }
fn get_block_align(self) -> u32 { ... }
fn get_type_id(self) -> u32 { ... }
fn get_interleave_id(self) -> u32 { ... }
fn set_all(
self,
in_u_sample_rate: impl Into<u32>,
in_channel_config: impl Into<AkChannelConfig>,
in_u_bits_per_sample: impl Into<u32>,
in_u_block_align: impl Into<u32>,
in_u_type_id: impl Into<u32>,
in_u_interleave_id: impl Into<u32>,
) { ... }
fn is_channel_config_supported(self) -> bool { ... }
fn ctor_2(self) { ... }
}Provided Methods§
Sourcefn ctor(self, c_ptr: impl Into<IntPtr>, c_memory_own: impl Into<bool>)
fn ctor(self, c_ptr: impl Into<IntPtr>, c_memory_own: impl Into<bool>)
.ctor(::unity::IntPtr, bool) overload
Sourcefn set_u_sample_rate(self, value: impl Into<u32>)
fn set_u_sample_rate(self, value: impl Into<u32>)
set_uSampleRate(u32) overload
Sourcefn get_u_sample_rate(self) -> u32
fn get_u_sample_rate(self) -> u32
get_uSampleRate() overload
Sourcefn set_channel_config(self, value: impl Into<AkChannelConfig>)
fn set_channel_config(self, value: impl Into<AkChannelConfig>)
set_channelConfig(crate::root::akchannelconfig::AkChannelConfig) overload
Sourcefn get_channel_config(self) -> AkChannelConfig
fn get_channel_config(self) -> AkChannelConfig
get_channelConfig() overload
Sourcefn set_u_bits_per_sample(self, value: impl Into<u32>)
fn set_u_bits_per_sample(self, value: impl Into<u32>)
set_uBitsPerSample(u32) overload
Sourcefn get_u_bits_per_sample(self) -> u32
fn get_u_bits_per_sample(self) -> u32
get_uBitsPerSample() overload
Sourcefn set_u_block_align(self, value: impl Into<u32>)
fn set_u_block_align(self, value: impl Into<u32>)
set_uBlockAlign(u32) overload
Sourcefn get_u_block_align(self) -> u32
fn get_u_block_align(self) -> u32
get_uBlockAlign() overload
Sourcefn set_u_type_id(self, value: impl Into<u32>)
fn set_u_type_id(self, value: impl Into<u32>)
set_uTypeID(u32) overload
Sourcefn get_u_type_id(self) -> u32
fn get_u_type_id(self) -> u32
get_uTypeID() overload
Sourcefn set_u_interleave_id(self, value: impl Into<u32>)
fn set_u_interleave_id(self, value: impl Into<u32>)
set_uInterleaveID(u32) overload
Sourcefn get_u_interleave_id(self) -> u32
fn get_u_interleave_id(self) -> u32
get_uInterleaveID() overload
Sourcefn get_num_channels(self) -> u32
fn get_num_channels(self) -> u32
GetNumChannels() overload
Sourcefn get_bits_per_sample(self) -> u32
fn get_bits_per_sample(self) -> u32
GetBitsPerSample() overload
Sourcefn get_block_align(self) -> u32
fn get_block_align(self) -> u32
GetBlockAlign() overload
Sourcefn get_type_id(self) -> u32
fn get_type_id(self) -> u32
GetTypeID() overload
Sourcefn get_interleave_id(self) -> u32
fn get_interleave_id(self) -> u32
GetInterleaveID() overload
Sourcefn set_all(
self,
in_u_sample_rate: impl Into<u32>,
in_channel_config: impl Into<AkChannelConfig>,
in_u_bits_per_sample: impl Into<u32>,
in_u_block_align: impl Into<u32>,
in_u_type_id: impl Into<u32>,
in_u_interleave_id: impl Into<u32>,
)
fn set_all( self, in_u_sample_rate: impl Into<u32>, in_channel_config: impl Into<AkChannelConfig>, in_u_bits_per_sample: impl Into<u32>, in_u_block_align: impl Into<u32>, in_u_type_id: impl Into<u32>, in_u_interleave_id: impl Into<u32>, )
SetAll(u32, crate::root::akchannelconfig::AkChannelConfig, u32, u32, u32, u32) overload
Sourcefn is_channel_config_supported(self) -> bool
fn is_channel_config_supported(self) -> bool
IsChannelConfigSupported() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IAkAudioFormat> IAkAudioFormatMethods for __T
root-akaudioformat only.