Skip to content

Commit

Permalink
Merge pull request #58 from tomara-x/master
Browse files Browse the repository at this point in the history
setting::phase(phase).right()
  • Loading branch information
SamiPerttu authored Oct 20, 2024
2 parents 05b3efd + f6b2ef4 commit cff3575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/combinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl<X: AudioNode> An<X> {
/// let oscillator = square_hz(110.0).phase(0.5);
/// ```
pub fn phase(mut self, phase: f32) -> Self {
self.set(Setting::phase(phase));
self.set(Setting::phase(phase).right());
self.reset();
self
}
Expand Down

0 comments on commit cff3575

Please sign in to comment.