Skip to content

Commit

Permalink
fix: badass memory leak in HRTF renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
mbillingr committed Jul 29, 2018
1 parent 2490196 commit c911536
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ where
.zip(self.convolution_buffers.iter_mut())
{
let signal = speaker.bweights.dot(sample);
buffer.pop_back();
buffer.push_front(signal);

left += buffer
Expand Down

0 comments on commit c911536

Please sign in to comment.