HomeFreeBSD

sound: Get rid of pcm/sndstat.h and turn macros into regular code

Description

sound: Get rid of pcm/sndstat.h and turn macros into regular code

There is no reason to have macros for this. Putting the code in
sndstat_prepare_pcm() directly makes it easier to work with it.

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D44545

(cherry picked from commit 6d1cee1640e1c360917e483ece5ec1bde423b788)

Details

Provenance
christosAuthored on Mar 29 2024, 3:29 PM
Reviewer
markj
Differential Revision
D44545: sound: Get rid of pcm/sndstat.h and turn macros into regular code
Parents
rGea2275e72cda: sound: Drain buffer selinfo in sndbuf_free()
Branches
Unknown
Tags
Unknown