Skip to content

Commit

Permalink
Fix audio processing
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingrobot committed Jan 24, 2024
1 parent ae4cf49 commit 6f185c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ impl Plugin for DawOut {
};

if let Some(resampler) = &self.resampler {
self.resampler_buffer = Some(resampler.output_buffer_allocate(false));
self.resampler_buffer = Some(resampler.output_buffer_allocate(true));
}

//Setup OSC background thread
Expand Down Expand Up @@ -487,7 +487,7 @@ impl DawOut {
.sender
.send(OscChannelMessageType::Audio(OscAudioType { value: sample }));
if send_result.is_err() {
nih_error!("Failed to process audio {:?}", send_result.unwrap_err());
nih_error!("Failed to send processed audio {:?}", send_result.unwrap_err());
break;
}
}
Expand Down

0 comments on commit 6f185c2

Please sign in to comment.