dont into_iter audio samples
This commit is contained in:
parent
00aefee340
commit
ed6ad62e22
1 changed files with 4 additions and 4 deletions
|
@ -87,10 +87,10 @@ impl Apu {
|
|||
pub fn tick(&mut self, steps: usize, output: bool) {
|
||||
if output {
|
||||
for s in izip!(
|
||||
self.channels.one.tick(steps).into_iter(),
|
||||
self.channels.two.tick(steps).into_iter(),
|
||||
self.channels.three.tick(steps).into_iter(),
|
||||
self.channels.four.tick(steps).into_iter()
|
||||
self.channels.one.tick(steps),
|
||||
self.channels.two.tick(steps),
|
||||
self.channels.three.tick(steps),
|
||||
self.channels.four.tick(steps)
|
||||
)
|
||||
.map(|(one, two, three, four)| DacSample {
|
||||
one,
|
||||
|
|
Loading…
Add table
Reference in a new issue