Mini vMac Raspberry Pi 4 - No Sound
Posted: Sun Nov 08, 2020 9:29 pm
I’ve successfully compiled minivmac for a raspberry pi 4 using SDL1.2 using the following compile options:
Everything works except audio.
Sound works fine otherwise on the Pi, including in Basilisk II compiled with SDL1.2. I'm using an onboard sound card with amp, which is set as the default device (hw:0,0)--onboard sound and hdmi sound are both disabled at boot. And again, it all works fine with other apps.
I looked in the source code and it appears Mini vMac will get the Alsa device from an AUDIODEV environmental variable. (It does not accept the -alsadev command line parameter when compiled for SDL.). I've tried setting that to hw:0,0 explicitly, but that doesn't change anything.
I've also tried compiling with ddsp as the -snd-api option; no luck.
(BTW, I've tried compiling for SDL2. It gives me weird redraw issues..and doesn't solve the audio issue).
Any ideas? Much appreciated.
Code: Select all
./setup_t -t larm -cpu arm -api sdl -m Plus -hres 512 -vres 384 -depth 0 -fullscreen 1 -magnify 1 -mf 2 -mem 4M -sound 1 -snd-api alsa > setupPlus.sh
Sound works fine otherwise on the Pi, including in Basilisk II compiled with SDL1.2. I'm using an onboard sound card with amp, which is set as the default device (hw:0,0)--onboard sound and hdmi sound are both disabled at boot. And again, it all works fine with other apps.
I looked in the source code and it appears Mini vMac will get the Alsa device from an AUDIODEV environmental variable. (It does not accept the -alsadev command line parameter when compiled for SDL.). I've tried setting that to hw:0,0 explicitly, but that doesn't change anything.
I've also tried compiling with ddsp as the -snd-api option; no luck.
(BTW, I've tried compiling for SDL2. It gives me weird redraw issues..and doesn't solve the audio issue).
Any ideas? Much appreciated.