HomeFreeBSD

sound: Merge PCM_ALIVE() with PCM_REGISTERED()

Description

sound: Merge PCM_ALIVE() with PCM_REGISTERED()

PCM_ALIVE() is used only in pcm_unregister(), but it does not hurt to
use PCM_REGISTERED(), which uses PCM_ALIVE() internally. In fact, it's
more robust this way.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
christosAuthored on Nov 21 2025, 4:14 PM
Parents
rG4e8eb778803a: sound: Clean up midi/ includes
Branches
Unknown
Tags
Unknown