Skip to main content

IAkAudioFormatMethods

Trait IAkAudioFormatMethods 

Source
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§

Source

fn ctor(self, c_ptr: impl Into<IntPtr>, c_memory_own: impl Into<bool>)

.ctor(::unity::IntPtr, bool) overload

Source

fn set_c_ptr(self, c_ptr: impl Into<IntPtr>)

setCPtr(::unity::IntPtr) overload

Source

fn finalize(self)

Finalize() overload

Source

fn dispose(self)

Dispose() overload

Source

fn set_u_sample_rate(self, value: impl Into<u32>)

set_uSampleRate(u32) overload

Source

fn get_u_sample_rate(self) -> u32

get_uSampleRate() overload

Source

fn set_channel_config(self, value: impl Into<AkChannelConfig>)

set_channelConfig(crate::root::akchannelconfig::AkChannelConfig) overload

Source

fn get_channel_config(self) -> AkChannelConfig

get_channelConfig() overload

Source

fn set_u_bits_per_sample(self, value: impl Into<u32>)

set_uBitsPerSample(u32) overload

Source

fn get_u_bits_per_sample(self) -> u32

get_uBitsPerSample() overload

Source

fn set_u_block_align(self, value: impl Into<u32>)

set_uBlockAlign(u32) overload

Source

fn get_u_block_align(self) -> u32

get_uBlockAlign() overload

Source

fn set_u_type_id(self, value: impl Into<u32>)

set_uTypeID(u32) overload

Source

fn get_u_type_id(self) -> u32

get_uTypeID() overload

Source

fn set_u_interleave_id(self, value: impl Into<u32>)

set_uInterleaveID(u32) overload

Source

fn get_u_interleave_id(self) -> u32

get_uInterleaveID() overload

Source

fn get_num_channels(self) -> u32

GetNumChannels() overload

Source

fn get_bits_per_sample(self) -> u32

GetBitsPerSample() overload

Source

fn get_block_align(self) -> u32

GetBlockAlign() overload

Source

fn get_type_id(self) -> u32

GetTypeID() overload

Source

fn get_interleave_id(self) -> u32

GetInterleaveID() overload

Source

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

Source

fn is_channel_config_supported(self) -> bool

IsChannelConfigSupported() overload

Source

fn ctor_2(self)

.ctor() 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§

Source§

impl<__T: IAkAudioFormat> IAkAudioFormatMethods for __T

Available on crate feature root-akaudioformat only.