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, Dec 25, 8:51 PM
Unknown Object (File)
Tue, Dec 9, 7:22 AM
Unknown Object (File)
Mon, Dec 8, 11:15 PM
Unknown Object (File)
Nov 24 2025, 6:31 AM
Unknown Object (File)
Nov 24 2025, 6:21 AM
Unknown Object (File)
Nov 17 2025, 2:33 PM
Unknown Object (File)
Nov 12 2025, 10:42 PM
Unknown Object (File)
Nov 12 2025, 1:28 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.