Language and spelling fixes by @naglis

fix comment typo

Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
This commit is contained in:
dvdsk 2023-10-13 15:46:43 +02:00
parent 4237effbf4
commit 3f4b530a42
No known key found for this signature in database
GPG key ID: 6CF9D20C5709A836
3 changed files with 2 additions and 4 deletions

View file

@ -77,8 +77,6 @@ where
#[inline]
fn try_seek(&mut self, pos: Duration) -> Result<(), SeekError> {
// number of PCM samples per channel
// number of PCM samples per channel
let samples = pos.as_secs_f32() * self.sample_rate() as f32;
self.stream_reader.seek_absgp_pg(samples as u64)?;

View file

@ -206,7 +206,7 @@ impl Sink {
/// This blocks between 0 and ~5 milliseconds.
///
/// As long as the *duration of the source is known* seeking saturates. This means
/// when you try to seek beyong the length of the source this function will seek
/// when you try to seek beyond the length of the source this function will seek
/// to the end of the source instead.
///
/// If the duration of the source is known and the seek position lies beyond

View file

@ -360,7 +360,7 @@ where
/// Attempts to seek to a given position in the current source.
///
/// As long as the duration of the source is known seeking saturates. That is
/// when you seek beyong the sources length this function will seek to the
/// when you seek beyond the sources length this function will seek to the
/// end of the source instead.
///
/// If the duration of the source is known and the seek position lies beyond