Page MenuHomeFreeBSD

sound: Retire SD_F_AUTOVCHAN
ClosedPublic

Authored by christos on Feb 15 2025, 1:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 7:08 PM
Unknown Object (File)
Thu, Mar 19, 1:55 AM
Unknown Object (File)
Tue, Mar 17, 11:50 PM
Unknown Object (File)
Tue, Mar 17, 8:04 AM
Unknown Object (File)
Sat, Mar 14, 2:56 PM
Unknown Object (File)
Fri, Feb 27, 9:59 PM
Unknown Object (File)
Fri, Feb 27, 7:49 AM
Unknown Object (File)
Jan 31 2026, 1:15 AM
Subscribers

Details

Summary

This flag is redundant and essentially a no-op, as it is set when the
device supports at least playback or recording, which is almost always
the case. But even if the device is mixer-only (i.e., 0 channels), there
is no reason to keep this flag; it is only used to bail out of the vchan
sysctl handlers, but we already bail out anyway if we try to use the
sysctl in a vchan direction that is not supported.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable