Skip to content

Commit d346cfa

Browse files
committed
spelling
1 parent 48408bc commit d346cfa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
//!
7272
//! The [`Sink`] type also provides utilities such as playing/pausing or controlling the volume.
7373
//!
74-
//! **Please note that the [`Sink`] requires the [`OutputStream`], make sure that the outputstream is not dropped before the sink.**
74+
//! **Please note that the [`Sink`] requires the [`OutputStream`], make sure that the OutputStream is not dropped before the sink.**
7575
//!
7676
//! ## Filters
7777
//!

src/sink.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ impl Sink {
206206
///
207207
/// #### Note:
208208
/// 1. **Increasing the speed would also increase the pitch by the same factor**
209-
/// - If you increased set the speed to 0.5, the frequency would be slower (0.5x the original frequency) .
209+
/// - If you increased set the speed to 0.5, the frequency would be slower (0.5x the original frequency) .
210210
/// - Also if you set the speed to 1.5 the frequency would be faster ( 1.5x the original frequency).
211211
/// 2. **Change in the speed would affect your total duration inversely**
212-
/// - if you set the speed by 0.5, your total duration would be (2x the original total duration) longer.
212+
/// - if you set the speed by 0.5, your total duration would be (2x the original total duration) longer.
213213
/// - Also if you set the speed to 2 the total duration would be (0.5 the original total_duration) shorter
214214
#[inline]
215215
pub fn set_speed(&self, value: f32) {
@@ -260,7 +260,7 @@ impl Sink {
260260
*self.controls.position.lock().unwrap() = pos;
261261
seek_res
262262
}
263-
// The feedback channel closed. Probably another seekorder was set
263+
// The feedback channel closed. Probably another SeekOrder was set
264264
// invalidating this one and closing the feedback channel
265265
// ... or the audio thread panicked.
266266
Err(_) => Ok(()),

0 commit comments

Comments
 (0)