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

Details

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