Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
faiface committed Jul 23, 2017
1 parent 34da633 commit 7357255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compositors.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package beep

// Take returns a Streamer which streams at most n samples from s.
// Take returns a Streamer which streams at most num samples from s.
//
// The returned Streamer propagates s's errors throught Err.
func Take(n int, s Streamer) Streamer {
func Take(num int, s Streamer) Streamer {
return &take{
s: s,
currSample: 0,
numSamples: n,
numSamples: num,
}
}

Expand Down

0 comments on commit 7357255

Please sign in to comment.