File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 71
71
//!
72
72
//! The [`Sink`] type also provides utilities such as playing/pausing or controlling the volume.
73
73
//!
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.**
75
75
//!
76
76
//! ## Filters
77
77
//!
Original file line number Diff line number Diff line change @@ -206,10 +206,10 @@ impl Sink {
206
206
///
207
207
/// #### Note:
208
208
/// 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) .
210
210
/// - Also if you set the speed to 1.5 the frequency would be faster ( 1.5x the original frequency).
211
211
/// 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.
213
213
/// - Also if you set the speed to 2 the total duration would be (0.5 the original total_duration) shorter
214
214
#[ inline]
215
215
pub fn set_speed ( & self , value : f32 ) {
@@ -260,7 +260,7 @@ impl Sink {
260
260
* self . controls . position . lock ( ) . unwrap ( ) = pos;
261
261
seek_res
262
262
}
263
- // The feedback channel closed. Probably another seekorder was set
263
+ // The feedback channel closed. Probably another SeekOrder was set
264
264
// invalidating this one and closing the feedback channel
265
265
// ... or the audio thread panicked.
266
266
Err ( _) => Ok ( ( ) ) ,
You can’t perform that action at this time.
0 commit comments