diff options
author | Graham Northup <grissess@nexusg.org> | 2017-10-01 07:04:21 -0400 |
---|---|---|
committer | Graham Northup <grissess@nexusg.org> | 2017-10-01 07:04:21 -0400 |
commit | 145e2771c0d1ad30748da6e6ef1fabbd4cc2478c (patch) | |
tree | b9e96a57df0d515383a7c09e3b2ea71edb31db96 /src/synth/mod.rs | |
parent | 629d2fa754dcd4bbdbd1e84ea9f7598806abc840 (diff) |
It plays network noises now!
Diffstat (limited to 'src/synth/mod.rs')
-rw-r--r-- | src/synth/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/mod.rs b/src/synth/mod.rs index 69523e2..60a7372 100644 --- a/src/synth/mod.rs +++ b/src/synth/mod.rs @@ -64,6 +64,10 @@ impl SampleBuffer { self.samples.len() } + pub fn iter(&self) -> slice::Iter<f32> { + self.samples.iter() + } + pub fn iter_mut(&mut self) -> slice::IterMut<f32> { self.samples.iter_mut() } |