opnsense-src/tests/sys
Christos Margiolis 33529d6ad4 sound: Refactor the format conversion framework
Merge the PCM_READ|WRITE_* macros defined in pcm/pcm.h, as well as the
intpcm_read|write_* macros defined in pcm/feeder_format.c, into six
inline functions: pcm_sample_read|write[_norm|calc](). The absence of
macro magic makes the code significantly easier to read, use and modify.

Since these functions take the input/output format as a parameter, get
rid of the read() and write() function pointers defined in struct
feed_format_info, as well as the feeder_format_read|write_op()
functions, and use the new read/write functions directly.

Sponsored by:	The FreeBSD Fondation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D47932

(cherry picked from commit 433e270f341cf660b2fe125c2e0f733073829188)
2025-03-17 19:28:54 +01:00
..
acl Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
aio Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
audit Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
auditpipe Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cam Make the CTL tests more resilient 2025-01-20 09:23:08 -07:00
capsicum capsicum tests: Serialize functional tests 2024-09-20 11:39:16 +00:00
cddl zfsd: replace vdevs with the AUX faulted state 2024-10-31 08:00:32 -06:00
common vnet tests: verify that we can load if_epair and if_bridge 2024-08-22 21:01:33 +02:00
compat32 tests: Don't recurse into sys/compat32 2023-05-16 02:06:34 +01:00
devrandom Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fifo Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
file path_test: adjust test for open(O_PATH | O_CREAT) 2025-01-14 10:56:41 +02:00
fs fusefs: Coverity cleanup in the lseek tests 2025-01-20 09:51:52 -07:00
geom geli tests: Use shorter passphrases in setkey_passphrase 2025-02-14 19:25:19 +00:00
kern tests/sigsys: initialize parameter passed to sysctlbyname() 2025-02-10 00:36:24 +08:00
kqueue kqueue tests: Add a regression test 2024-02-11 10:14:44 -05:00
mac Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
mqueue Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
net kern: wg: remove overly-restrictive address family check 2025-03-14 21:52:02 -05:00
netgraph Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
netinet tests: carp: Update test case unicast_v4 to catch PR 284872 2025-02-25 12:01:22 +08:00
netinet6 netinet6 tests: Add Scapy as a required program 2025-03-01 22:53:06 +00:00
netipsec Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
netlink tests/netlink: Assert the route scope of interface's addresses 2025-03-10 18:13:10 +08:00
netmap Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
netpfil pf tests: Remove Scapy as a required program 2025-03-01 22:53:59 +00:00
opencrypto Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
pjdfstest Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
posixshm shm: Respect PROT_MAX when creating private mappings 2024-11-04 15:38:35 +00:00
ses Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
sound sound: Refactor the format conversion framework 2025-03-17 19:28:54 +01:00
sys bitstring: Support large bit strings. 2023-12-13 17:41:48 +01:00
vfs Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
vm shm: Respect PROT_MAX when creating private mappings 2024-11-04 15:38:35 +00:00
vmm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
Makefile ctl: add some ATF tests for READ BUFFER 2024-09-04 15:00:20 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00