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, Aug 23, 7:42 PM
Unknown Object (File)
Sat, Aug 22, 10:00 AM
Unknown Object (File)
Fri, Aug 21, 11:36 PM
Unknown Object (File)
Tue, Aug 18, 7:05 PM
Unknown Object (File)
Thu, Aug 13, 12:51 AM
Unknown Object (File)
Wed, Aug 12, 7:27 PM
Unknown Object (File)
Mon, Aug 10, 12:19 PM
Unknown Object (File)
Mon, Aug 10, 6:27 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