Hi Patrick,
I took the time to hack a little more on AudioMixer. Unfortunately, just
a small improvement on Gentoo.
Patrick Cardona wrote:
It compiles and links for me now.
I needed to add this include directive in 'SoundDevice.m' to avoid an
error about 'ioctl' with an 'implicit declaration of function':
#include <sys/ioctl.h>
And then it was successfully built.
in theory ioctl is already included by soundcard, but I needed that fix
too, I commited it.
Launched with 'debugapp', it output this self explaned log:
(gdb) run
Starting program:
/usr/local/lib/GNUstep/Applications/AudioMixer.app/AudioMixer
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/aarch64-linux-gnu/libthread_db.so.1".
libpng warning: iCCP: known incorrect sRGB profile
2025-07-15 19:16:25.589 AudioMixer[15359:15359] opening of mixer failed
2025-07-15 19:16:25.590 AudioMixer[15359:15359] Error reading main
output volume2025-07-15 19:16:25.590 AudioMixer[15359:15359] output
main: 0
2025-07-15 19:16:25.590 AudioMixer[15359:15359] output main: 0 0
(...)
Do you have /dev/mixer ?
I checked and on my Debian laptop it is not there, don't know why.
On Gentoo it works (where I actually have pulseaudio + alsa
compatibility). Master volume changes, but left/right balance does not.
In Debian Lite, no pulseaudio. Maybe a side effect with it in Gentoo?
On Gentoo I have /dev/mixer and it is of group audio.
It would be the OSS way to access devices.
I have no oss compatibility installed though. I checked and alsa-oss is
not installed on Gentoo.
I have:
* media-libs/alsa-lib
Latest version available: 1.2.14
Latest version installed: 1.2.14
* media-sound/alsa-utils
Latest version available: 1.2.14
Latest version installed: 1.2.14
The volume control did not change the level previously fixed by the
system (alsactl restore...) and only the CLI alsamixer was able to
change the level while listening with Cynthiune.
If opening the mixer fails, no way it can work. It is your first output
error.
Well it works (I use a USB 2 JACK adaptator) which is seen as UC02
card, but only with alsamixer CLI or WMAlsaMixer dockApp, which I
vould to avoid because I do not use the dock/clip of WindowMaker, only
the Dock of GWorkspace.
RPI1 & RPI3 have a real jack, I should test that somewhen with Cynthiune
and a pair of Headphones. Also see what old Raspbian did.
Riccardo