Skip to content

Commit

Permalink
Update comment wording in resample.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalait authored Feb 4, 2024
1 parent 28ff2ed commit c3431d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resample.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
// speaker.Init(sr, sr.N(time.Second/2))
// speaker.Play(beep.Resample(3, format.SampleRate, sr, s))
//
// In the example, the original sample rate of the source if format.SampleRate. We want to play it
// at the speaker's native sample rate and thus we need to resample.
// In the example above, the original sample rate of the source is format.SampleRate. We want to play
// it at the speaker's native sample rate and thus we need to resample.
//
// The quality argument specifies the quality of the resampling process. Higher quality implies
// worse performance. Values below 1 or above 64 are invalid and Resample will panic. Here's a table
Expand Down

0 comments on commit c3431d5

Please sign in to comment.