Page MenuHomeFreeBSD

sound: Simplify sndbuf_clear() loop
ClosedPublic

Authored by christos on Nov 1 2025, 10:50 PM.
Tags
None
Referenced Files
F170675314: D53526.id.diff
Sat, Sep 5, 11:26 PM
F170674299: D53526.id165717.diff
Sat, Sep 5, 11:18 PM
F170611461: D53526.id165717.diff
Sat, Sep 5, 3:32 PM
F170557558: D53526.id165653.diff
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
Unknown Object (File)
Wed, Sep 2, 9:46 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.