Page MenuHomeFreeBSD

sound: Retire SD_F_AUTOVCHAN
ClosedPublic

Authored by christos on Feb 15 2025, 1:44 PM.
Tags
None
Referenced Files
F172996042: D49021.diff
Tue, Sep 22, 5:56 PM
Unknown Object (File)
Thu, Sep 10, 4:55 AM
Unknown Object (File)
Mon, Sep 7, 5:11 AM
Unknown Object (File)
Fri, Sep 4, 6:22 PM
Unknown Object (File)
Thu, Sep 3, 10:51 AM
Unknown Object (File)
Thu, Aug 27, 7:49 PM
Unknown Object (File)
Thu, Aug 27, 5:25 PM
Unknown Object (File)
Aug 23 2026, 7:42 PM
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