diff --git a/buffer.go b/buffer.go index 0e3b7be..5d572a8 100644 --- a/buffer.go +++ b/buffer.go @@ -183,6 +183,8 @@ func (b *Buffer) Len() int { } // Pop removes n samples from the beginning of the Buffer. +// +// Existing Streamers are not affected. func (b *Buffer) Pop(n int) { b.data = b.data[n:] } @@ -206,6 +208,9 @@ func (b *Buffer) Append(s Streamer) { // Streamer returns a StreamSeeker which streams samples in the given interval (including from, // excluding to). If from<0 or to>b.Len() or to