opnsense-src/tests/sys
Christos Margiolis 433e270f34 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
2025-03-10 21:19:15 +01:00
..
acl Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
aio aio_kqueue_test: Fix CID 1558429 2025-01-09 08:42:36 -06:00
audit Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
auditpipe Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
cam Make the CTL tests more resilient 2024-11-04 19:06:53 -07:00
capsicum capsicum tests: Serialize functional tests 2024-09-04 14:28:28 +00:00
cddl zfsd: replace vdevs with the AUX faulted state 2024-10-03 16:21:46 -06:00
common vnet tests: verify that we can load if_epair and if_bridge 2024-07-23 15:57:25 +02:00
compat32 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devrandom Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
fifo Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
file path_test: adjust test for open(O_PATH | O_CREAT) 2025-01-07 04:46:19 +02:00
fs fusefs: fix the 32-bit build after 564c732b5c 2025-01-15 16:31:56 -07:00
geom ggate tests: Use unique ports among tests 2024-09-04 14:28:28 +00:00
kern tests/unix_stream: fix signedness error 2025-02-11 11:07:41 -08:00
kqueue Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mac Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
mqueue Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
net kern: wg: remove overly-restrictive address family check 2025-03-04 13:57:34 -06:00
netgraph Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netinet inpcb: fix a panic with SO_REUSEPORT_LB + connect(2) misuse 2025-03-06 22:57:44 -08:00
netinet6 tests: Require python3 when using Scapy 2025-03-03 07:52:33 +00:00
netipsec Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netlink tests/netlink: Assert the route scope of interface's addresses 2025-03-07 12:14:44 +08:00
netmap netmap: Disable a buggy and unsafe test (sync_kloop_conflict) 2025-03-06 13:22:25 -05:00
netpfil pf: fix nat64 ICMP translation 2025-03-05 10:37:57 +01:00
opencrypto Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pjdfstest Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
posixshm shm: Respect PROT_MAX when creating private mappings 2024-10-04 15:56:34 +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-10 21:19:15 +01:00
sys tests: Add buf_ring overflow checks 2024-09-30 12:04:24 +00:00
vfs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
vm shm: Respect PROT_MAX when creating private mappings 2024-10-04 15:56:34 +00:00
vmm vmm tests: Check for /dev/vmmctl to decide if vmm is initialized 2025-02-08 16:05:37 +00:00
Makefile ctl: add some ATF tests for READ BUFFER 2024-09-04 14:38:12 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00