Page MenuHomeFreeBSD

sound: Simplify sndbuf_clear() loop
ClosedPublic

Authored by christos on Nov 1 2025, 10:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 9:39 PM
Unknown Object (File)
Thu, May 14, 5:34 PM
Unknown Object (File)
Tue, May 5, 3:34 AM
Unknown Object (File)
Sun, May 3, 9:57 AM
Unknown Object (File)
Mon, Apr 27, 1:37 PM
Unknown Object (File)
Mon, Apr 27, 12:28 PM
Unknown Object (File)
Tue, Apr 21, 11:34 PM
Unknown Object (File)
Tue, Apr 21, 4:56 AM
Subscribers

Details

Summary

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/dev/sound/pcm/buffer.c
281–282
for (; length > 0; length--, i++)
    p[i % b->bufsize] = data;
christos marked an inline comment as done.

Address Mark's comment.

This revision is now accepted and ready to land.Nov 3 2025, 1:47 PM
This revision was automatically updated to reflect the committed changes.