1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
use crate::internal_prelude::*;
#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)]
pub struct GlobalFdnReverb(pub(crate) Handle);
impl GlobalFdnReverb {
pub fn new(context: &Context) -> Result<GlobalFdnReverb> {
wrap_constructor(|ud, cb| {
let mut h = Default::default();
check_error(unsafe {
syz_createGlobalFdnReverb(
&mut h as *mut syz_Handle,
context.to_syz_handle(),
null_mut(),
ud,
Some(cb),
)
})?;
Ok(GlobalFdnReverb(Handle::new(h)))
})
}
effect_properties!();
double_p!(SYZ_P_MEAN_FREE_PATH, mean_free_path);
double_p!(SYZ_P_T60, t60);
double_p!(
SYZ_P_LATE_REFLECTIONS_LF_ROLLOFF,
late_reflections_lf_rolloff
);
double_p!(
SYZ_P_LATE_REFLECTIONS_LF_REFERENCE,
late_reflections_lf_reference
);
double_p!(
SYZ_P_LATE_REFLECTIONS_HF_ROLLOFF,
late_reflections_hf_rolloff
);
double_p!(
SYZ_P_LATE_REFLECTIONS_HF_REFERENCE,
late_reflections_hf_reference
);
double_p!(SYZ_P_LATE_REFLECTIONS_DIFFUSION, late_reflections_diffusion);
double_p!(
SYZ_P_LATE_REFLECTIONS_MODULATION_DEPTH,
late_reflections_modulation_depth
);
double_p!(
SYZ_P_LATE_REFLECTIONS_MODULATION_FREQUENCY,
late_reflections_modulation_frequency
);
double_p!(SYZ_P_LATE_REFLECTIONS_DELAY, late_reflections_delay);
effect_common!();
object_common!();
}
handle_traits!(GlobalFdnReverb);