Page MenuHomeFreeBSD

sound: Re-arrange sndbuf_create() arguments
ClosedPublic

Authored by christos on Nov 1 2025, 5:18 PM.
Tags
None
Referenced Files
F148981897: D53520.id166205.diff
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
Unknown Object (File)
Feb 18 2026, 11:53 AM
Unknown Object (File)
Feb 18 2026, 11:53 AM
Unknown Object (File)
Jan 28 2026, 11:28 PM
Unknown Object (File)
Jan 15 2026, 10:49 AM
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