Struct ReverbProperties

Source
pub struct ReverbProperties {
Show 20 fields pub instance: i32, pub environment: i32, pub env_diffusion: f32, pub room: i32, pub room_HF: i32, pub room_LF: i32, pub decay_time: f32, pub decay_HF_ratio: f32, pub decay_LF_ratio: f32, pub reflections: i32, pub reflections_delay: f32, pub reverb: i32, pub reverb_delay: f32, pub modulation_time: f32, pub modulation_depth: f32, pub HF_reference: f32, pub LF_reference: f32, pub diffusion: f32, pub density: f32, pub flags: u32,
}
Expand description

Structure defining a reverb environment.

Fields§

§instance: i32

[w] Min: 0 - Max: 3 - Default: 0 - Environment Instance. (SUPPORTED:SFX(4 instances) and Wii (3 instances))

§environment: i32

[r/w] Min: -1 - Max: 25 - Default: -1 - Sets all listener properties. -1 = OFF. (SUPPORTED:SFX(-1 only)/PSP)

§env_diffusion: f32

[r/w] Min: 0.0 - Max: 1.0 - Default: 1.0 - Environment diffusion (SUPPORTED:WII)

§room: i32

[r/w] Min: -10000 - Max: 0 - Default: -1000 - Room effect level (at mid frequencies) (SUPPORTED:SFX/WII/PSP)

§room_HF: i32

[r/w] Min: -10000 - Max: 0 - Default: -100 - Relative room effect level at high frequencies (SUPPORTED:SFX)

§room_LF: i32

[r/w] Min: -10000 - Max: 0 Default: 0 - Relative room effect level at low frequencies (SUPPORTED:SFX)

§decay_time: f32

[r/w] Min: 0.1 - Max: 20.0 - Default: 1.49 - Reverberation decay time at mid frequencies (SUPPORTED:SFX/WII)

§decay_HF_ratio: f32

[r/w] Min: 0.1 - Max: 2.0 - Default: 0.83 - High-frequency to mid-frequency decay time ratio (SUPPORTED:SFX)

§decay_LF_ratio: f32

[r/w] Min: 0.1 - Max: 2.0 - Default: 1.0 - Low-frequency to mid-frequency decay time ratio (SUPPORTED:—)

§reflections: i32

[r/w] Min: -10000 - Max: 1000 - Default: -2602 - Early reflections level relative to room effect (SUPPORTED:SFX/WII)

§reflections_delay: f32

[r/w] Min: 0.0 - Max: 0.3 - Default: 0.007 - Initial reflection delay time (SUPPORTED:SFX)

§reverb: i32

[r/w] Min: -10000 - Max: 2000 - Default: 200 - Late reverberation level relative to room effect (SUPPORTED:SFX)

§reverb_delay: f32

[r/w] Min: 0.0 - Max: 0.1 - Default: 0.011 - Late reverberation delay time relative to initial reflection (SUPPORTED:SFX/WII)

§modulation_time: f32

[r/w] Min: 0.04 - Max: 4.0 - Default: 0.25 - Modulation time (SUPPORTED:—)

§modulation_depth: f32

[r/w] Min: 0.0 - Max: 1.0 - Default: 0.0 - Modulation depth (SUPPORTED:WII)

§HF_reference: f32

[r/w] Min: 20.0 - Max: 20000.0 - Default: 5000.0 - Reference high frequency (hz) (SUPPORTED:SFX)

§LF_reference: f32

[r/w] Min: 20.0 - Max: 1000.0 - Default: 250.0 - Reference low frequency (hz) (SUPPORTED:SFX)

§diffusion: f32

[r/w] Min: 0.0 - Max: 100.0 - Default: 100.0 - Value that controls the echo density in the late reverberation decay. (SUPPORTED:SFX)

§density: f32

[r/w] Min: 0.0 - Max: 100.0 - Default: 100.0 - Value that controls the modal density in the late reverberation decay (SUPPORTED:SFX)

§flags: u32

[r/w] FMOD_REVERB_FLAGS - modifies the behavior of above properties (SUPPORTED:WII)

Trait Implementations§

Source§

impl Clone for ReverbProperties

Source§

fn clone(&self) -> ReverbProperties

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for ReverbProperties

Source§

fn default() -> ReverbProperties

Returns the “default value” for a type. Read more
Source§

impl Copy for ReverbProperties

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.