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)
Fri, May 29, 4:53 AM
Unknown Object (File)
May 14 2026, 9:39 PM
Unknown Object (File)
May 14 2026, 5:34 PM
Unknown Object (File)
May 5 2026, 3:34 AM
Unknown Object (File)
May 3 2026, 9:57 AM
Unknown Object (File)
Apr 27 2026, 1:37 PM
Unknown Object (File)
Apr 27 2026, 12:28 PM
Unknown Object (File)
Apr 21 2026, 11:34 PM
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.