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)
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)
Wed, Mar 18, 4:44 PM
Unknown Object (File)
Wed, Mar 18, 10:15 AM
Unknown Object (File)
Feb 18 2026, 10:45 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 Not Applicable
Unit
Tests Not Applicable