From d346cfa65bb09a053d2ecd9a9994391f3eeb70db Mon Sep 17 00:00:00 2001 From: dvdsk Date: Thu, 17 Oct 2024 23:08:59 +0200 Subject: [PATCH] spelling --- src/lib.rs | 2 +- src/sink.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 10ef60dd..6f67f23c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -71,7 +71,7 @@ //! //! The [`Sink`] type also provides utilities such as playing/pausing or controlling the volume. //! -//! **Please note that the [`Sink`] requires the [`OutputStream`], make sure that the outputstream is not dropped before the sink.** +//! **Please note that the [`Sink`] requires the [`OutputStream`], make sure that the OutputStream is not dropped before the sink.** //! //! ## Filters //! diff --git a/src/sink.rs b/src/sink.rs index 7bd3f0be..69da7a99 100644 --- a/src/sink.rs +++ b/src/sink.rs @@ -206,10 +206,10 @@ impl Sink { /// /// #### Note: /// 1. **Increasing the speed would also increase the pitch by the same factor** - /// - If you increased set the speed to 0.5, the frequency would be slower (0.5x the original frequency) . + /// - If you increased set the speed to 0.5, the frequency would be slower (0.5x the original frequency) . /// - Also if you set the speed to 1.5 the frequency would be faster ( 1.5x the original frequency). /// 2. **Change in the speed would affect your total duration inversely** - /// - if you set the speed by 0.5, your total duration would be (2x the original total duration) longer. + /// - if you set the speed by 0.5, your total duration would be (2x the original total duration) longer. /// - Also if you set the speed to 2 the total duration would be (0.5 the original total_duration) shorter #[inline] pub fn set_speed(&self, value: f32) { @@ -260,7 +260,7 @@ impl Sink { *self.controls.position.lock().unwrap() = pos; seek_res } - // The feedback channel closed. Probably another seekorder was set + // The feedback channel closed. Probably another SeekOrder was set // invalidating this one and closing the feedback channel // ... or the audio thread panicked. Err(_) => Ok(()),