diff --git a/src/sample_lib.rs b/src/sample_lib.rs index 77c40ae..34c96dc 100644 --- a/src/sample_lib.rs +++ b/src/sample_lib.rs @@ -36,9 +36,6 @@ impl SampleLibrary { /// Returns an SAtom reference that you can clone and send directly /// to the sampling node of your choice. /// - /// The maximum length of the sample is `44100 * 10` samples, which - /// is the equivalent of roughly 1.7 MB. - /// /// Keep in mind that blocking on I/O in the UI might not be desireable. pub fn load<'a>(&'a mut self, path: &str) -> Result<&'a SAtom, SampleLoadError> { if self.loaded_samples.get(path).is_some() { diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 257ad8e..df39c46 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -230,6 +230,12 @@ macro_rules! assert_minmax_of_rms { } } +#[allow(unused)] +pub fn pset_s(matrix: &mut Matrix, nid: NodeId, parm: &str, set: i64) { + let p = nid.inp_param(parm).unwrap(); + matrix.set_param(p, SAtom::setting(set)); +} + #[allow(unused)] pub fn pset_n(matrix: &mut Matrix, nid: NodeId, parm: &str, v_norm: f32) { let p = nid.inp_param(parm).unwrap(); diff --git a/tests/node_delay.rs b/tests/node_delay.rs index b4ae726..bfe53e1 100644 --- a/tests/node_delay.rs +++ b/tests/node_delay.rs @@ -261,7 +261,6 @@ fn check_node_delay_fb_neg() { assert_eq!(idxs_big, vec![(441, 100), (882, -100), (1323, 100)]); } - #[test] fn check_node_delay_fb_pos() { let (node_conf, mut node_exec) = new_node_engine();