Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant pub in fx modules #20

Merged
merged 1 commit into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/chorus/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl Chorus {
chorus
}

pub(crate) fn init(&mut self) {
fn init(&mut self) {
// Init
{
for i in 0..((1 as i32) << 12 as i32 - 1 as i32) {
Expand All @@ -97,7 +97,7 @@ impl Chorus {
}
}

pub(crate) fn update(&mut self) {
fn update(&mut self) {
let mut modulation_depth_samples: i32;
if self.new_number_blocks > 99 {
log::warn!(
Expand Down
2 changes: 1 addition & 1 deletion src/reverb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl Reverb {
}
}

pub(crate) fn update(&mut self) {
fn update(&mut self) {
self.wet1 = self.wet * (self.width / 2f32 + 0.5f32);
self.wet2 = self.wet * ((1f32 - self.width) / 2f32);
for comb in self.comb.iter_mut() {
Expand Down
Loading