[Bug 216568] [pcm] SNDCTL_DSP_GETERROR always fails with -m32 on 64bit system

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Sep 2025 04:10:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216568

--- Comment #3 from Damjan Jovanovic <damjan.jov@gmail.com> ---
Created attachment 263756
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263756&action=edit
Testcase

I've implemented a patch for this, please see:
https://reviews.freebsd.org/D52509
Only the ioctls were necessary - playing audio over mmap() already works.

The attached test case tests the 32 bit ioctls and plays a 2100 Hz tone through
mmap():
cc oss-compat32-test.c -o oss-compat32-test -lm -m32
./oss-compat32-test
(Ctrl+C to exit)

-- 
You are receiving this mail because:
You are the assignee for the bug.