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)
Sun, Sep 6, 2:39 AM
Unknown Object (File)
Sat, Sep 5, 11:26 PM
Unknown Object (File)
Sat, Sep 5, 11:18 PM
Unknown Object (File)
Sat, Sep 5, 3:32 PM
Unknown Object (File)
Sat, Sep 5, 9:54 AM
Unknown Object (File)
Thu, Sep 3, 11:12 PM
Unknown Object (File)
Thu, Sep 3, 10:02 AM
Unknown Object (File)
Thu, Sep 3, 6:36 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 68340
Build 65223: arc lint + arc unit

Event Timeline

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