From 145e2771c0d1ad30748da6e6ef1fabbd4cc2478c Mon Sep 17 00:00:00 2001 From: Graham Northup Date: Sun, 1 Oct 2017 07:04:21 -0400 Subject: It plays network noises now! --- src/synth/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/synth/mod.rs') 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 { + self.samples.iter() + } + pub fn iter_mut(&mut self) -> slice::IterMut { self.samples.iter_mut() } -- cgit v1.2.3-70-g09d2