Page MenuHomeFreeBSD

sound: Simplify sndbuf_clear() loop
ClosedPublic

Authored by christos on Nov 1 2025, 10:50 PM.
Tags
None
Referenced Files
F169377506: D53526.id165653.diff
Tue, Sep 1, 9:02 AM
F169262659: D53526.id165717.diff
Tue, Sep 1, 2:20 AM
F169216949: D53526.diff
Mon, Aug 31, 9:46 PM
Unknown Object (File)
Sun, Aug 30, 10:36 PM
Unknown Object (File)
Sun, Aug 30, 9:19 AM
Unknown Object (File)
Sat, Aug 29, 8:44 PM
Unknown Object (File)
Fri, Aug 28, 1:51 PM
Unknown Object (File)
Fri, Aug 28, 9:29 AM
Subscribers

Details

Summary

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68367
Build 65250: arc lint + arc unit

Event Timeline

sys/dev/sound/pcm/buffer.c
285–286
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.