At the time I checked I didn’t have the Dual Shock plugged in. Does that matter?
No, it doesn't. Was making sure you didn't have PulseAudio installed. Here's a quick'n'dirty method to get rid of the audio switch:
have a keyboard connected to the Pi or use SSH to connect to it
exit EmulationStation and run the following commandecho blacklist snd-usb-audio | sudo tee /etc/modprobe.d/blacklist-snd-usb-audio.conf
reboot your Pi
NOTE: this disables any USB based audio devices, so if you ever want to connect an audio sound card, remove the file you created (sudo rm /etc/modprobe.d/blacklist-snd-usb-audio.conf).
As you can see, people are trying to help but having to guess at how you've configured your setup and how you're running the game, and with what emulator. If you can give us more information it will enable us to assist better.
@Clyde Thanks - managed to create an image backup so I'm happy now :)
But unfortunately I still haven't resolved this audio issue; do you have any pointers? From memory I don't think I've ever used OMXPlayer for video previous in the past, but as of recently if I don't use it then videos take ageeeees to load, so I have to use it, it would seem. But I can't for the life of me figure out why the audio won't work! As mentioned before, I'm trying to get this working through HDMI.
@mitu Wow, well that definitely is a step in the right direction! Sound works, but is extremely low. I had to have the volume nearly all the way up, but then the emulator sound is nearly blowing the speaker.
I only have sound with audio card set as sysdefault, HW, and default. All others will have the volume set to 0 when I go back into sound menu. Edit : As well as anything other than pcm for Audio Device
I entered alsamixer, but didn't find anything useful there. Is there a way to control OMXplayer volume independant of software volume (or vice versa)?
Temp fix noted: I added audio_volume = -24.0 into retroarch.cfg which for the most part normalizes OMXplayer video snap volume with LibRetro emulators. Since it's a miniature cabinet, I removed non-lr emulators that didn't really need to be on there. The only one I couldn't part with was Daphne (and OpenBOR when I set that back up)!
note2: I altered daphne volume by creating a <gamename>.command file and adding volume variables (along with some other enhancements)
-nocrc -volume_nonvldp 8 -volume_vldp 8 -noissues -nolog -noserversend
Volume is rated 0-64. Daphne command line variables can be found here.
(It didn't solve the weird sound error notification, but hey if it works it works!)
I think that sound/alsa error comes from EmulationStation, not fro the emulator. Use the EmulationStation menu and play with the Sound settings - Audio Card/Device are the ones that produce this error. Most likely you can change the Audio Card from Default to something else and the error will go away.
Some mouse-only games are still setup to use just controllers and not the attached mouse/keyboard when you use the WHDLoad version. Populous, for example. I don't know what i need to do to unset that, so I can't make any suggestion for you on this either (if it's the case).
My only other suggestion would be to disconnect your controllers before firing up an amiga game and/or switch USB ports so that your mouse and keyboard are on the lower port numbers (0 and 1).