HomeFreeBSD

sound: Retire SD_F_AUTOVCHAN

Description

sound: Retire SD_F_AUTOVCHAN

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
Differential Revision: https://reviews.freebsd.org/D49021

(cherry picked from commit b768f2c7773b6e306fb43687657414f9f42a27d4)

Details

Provenance
christosAuthored on Mar 10 2025, 8:47 PM
Differential Revision
D49021: sound: Retire SD_F_AUTOVCHAN
Parents
rG42889e8e2f1a: sound: Take dsp_cdevsw out of header file
Branches
Unknown
Tags
Unknown