Merge pull request #15228 from shenpengfeng/main

chore: fix function name in comment
This commit is contained in:
Ayoub Mrini 2024-10-29 12:12:59 +01:00 committed by GitHub
commit 350e0d5bc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -626,7 +626,7 @@ func addF(s fSample, buf []fSample, r *sampleRing) []fSample {
return buf return buf
} }
// addF adds an hSample to a (specialized) hSample buffer. // addH adds an hSample to a (specialized) hSample buffer.
func addH(s hSample, buf []hSample, r *sampleRing) []hSample { func addH(s hSample, buf []hSample, r *sampleRing) []hSample {
l := len(buf) l := len(buf)
// Grow the ring buffer if it fits no more elements. // Grow the ring buffer if it fits no more elements.