chore: fix function name in comment

Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
shenpengfeng 2024-10-29 17:58:44 +08:00
parent eb3b349024
commit a44db5f784

View file

@ -626,7 +626,7 @@ func addF(s fSample, buf []fSample, r *sampleRing) []fSample {
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 {
l := len(buf)
// Grow the ring buffer if it fits no more elements.