HomeFreeBSD

sound examples: Fix buffer mapping/allocation

Description

sound examples: Fix buffer mapping/allocation

The buffer in struct config should be allocated or mmap'ed. The code
without this patch allocates the buffer unconditionally, even for mmap
configs.

MFC after: 1 week
Reviewed by: christos
Differential Revision: https://reviews.freebsd.org/D53939

Details

Provenance
meka_tilda.centerAuthored on Nov 26 2025, 7:33 PM
christosCommitted on Nov 26 2025, 7:33 PM
Reviewer
christos
Differential Revision
D53939: sound examples: Fix buffer mapping/allocation
Parents
rGaa1cf240887d: nfs_nfsdstate.c: Add sanity checks for lock stateids
Branches
Unknown
Tags
Unknown