Page MenuHomeFreeBSD

sound: Re-arrange sndbuf_create() arguments
ClosedPublic

Authored by christos on Nov 1 2025, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 12:40 PM
Unknown Object (File)
Tue, Apr 14, 8:05 PM
Unknown Object (File)
Fri, Apr 10, 2:21 PM
Unknown Object (File)
Tue, Apr 7, 3:37 PM
Unknown Object (File)
Sat, Apr 4, 2:24 PM
Unknown Object (File)
Tue, Mar 31, 8:53 AM
Unknown Object (File)
Sat, Mar 21, 12:40 PM
Unknown Object (File)
Mar 18 2026, 4:44 PM
Subscribers

Details

Summary

Since we always use the channel name as the "drv" argument, we can just
get rid of it and fetch it in sndbuf_create(). Also, put the "channel"
argument first, as it is more intuitive.

No functional change intended.

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 68331
Build 65214: arc lint + arc unit