Skip to content

Commit

Permalink
Removed redundant comment on the speed trait function
Browse files Browse the repository at this point in the history
  • Loading branch information
ugochukwu-850 committed Oct 9, 2024
1 parent f73dbe3 commit 0b3d49c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,6 @@ where

/// Changes the play speed of the sound. Does not adjust the samples, only the play speed.
/// Creates a Speed struct that handles the speed control
///
/// In order to speed up a source, the speed struct:
/// - Increases the current sample rate by the given factor
/// - Updates the total duration function to cover for the new factor by dividing by the factor
/// - Update the pos function by multiplying the position by the factor
#[inline]
fn speed(self, ratio: f32) -> Speed<Self>
where
Expand Down

0 comments on commit 0b3d49c

Please sign in to comment.