Skip to content

Commit

Permalink
Re-add output
Browse files Browse the repository at this point in the history
Must've gotten deleted on accident before :/
  • Loading branch information
exa04 committed Apr 21, 2024
1 parent bd060af commit bdfc6c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@ impl Plugin for Lamb {
);
let latency_samples = self.dsp.get_param(LATENCY_PI).expect("no latency read") as u32;
context.set_latency_samples(latency_samples);

let output = buffer.as_slice();
for i in 0..count as usize {
output[0][i] = self.temp_output_buffer_l[i] as f32;
output[1][i] = self.temp_output_buffer_r[i] as f32;
}

if self.params.editor_state.is_open() {
self.gain_reduction_left.store(
Expand Down

0 comments on commit bdfc6c0

Please sign in to comment.