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, Feb 18, 10:45 PM
Unknown Object (File)
Wed, Feb 18, 11:53 AM
Unknown Object (File)
Wed, Feb 18, 11:53 AM
Unknown Object (File)
Jan 28 2026, 11:28 PM
Unknown Object (File)
Jan 15 2026, 10:49 AM
Unknown Object (File)
Jan 15 2026, 9:03 AM
Unknown Object (File)
Dec 28 2025, 12:55 PM
Unknown Object (File)
Dec 26 2025, 10:38 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