diff options
author | Corey Richardson <corey@octayn.net> | 2017-09-24 08:36:02 -0400 |
---|---|---|
committer | Graham Northup <grahamnorthup@yahoo.com> | 2017-09-24 19:01:22 -0400 |
commit | f4c1ee3bbd1d548ce9c0c4cf15e9bd867adca421 (patch) | |
tree | 12f00517474e7c6118a3ef47745dbe6735131302 | |
parent | 959fed1d8435070e39bd7b87c1e908f79b65add9 (diff) |
Remove now-dead code
-rw-r--r-- | src/synth/noise.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/synth/noise.rs b/src/synth/noise.rs index 28a6b60..f241beb 100644 --- a/src/synth/noise.rs +++ b/src/synth/noise.rs @@ -29,11 +29,6 @@ pub struct NoiseFactory; impl GeneratorFactory for NoiseFactory { fn new(&self, params: &mut FactoryParameters) -> Result<GenBox, GenFactoryError> { - let mut seed: [u32; 4] = ::rand::random(); - for i in seed.iter_mut() { - *i = ::rand::random() - } - Ok(Box::new(Noise { rng: XorShiftRng::from_seed(::rand::random()), buf: SampleBuffer::new(params.env.default_buffer_size), |