Resolved!!! With this USB audio stick, purchased on amazon. From the pc off, I inserted it, I inserted the jack that previously went directly to the internal sound card of the motherboard. Turned on the cabinet and boom! The audio works again. I say that for 7 € it is absolutely worth it, rather than reinstalling everything from scratch and reconfiguring everything eheh
Only thing I'm noticing. If I don't set the right sound card, on the audio configuration of GA, when starting AM, the audio is heard, but as soon as I start the game, no.
Opening the log "mame.log" I have this:
PortAudio: API ALSA has 5 devices
PortAudio: ALSA: "USB Audio Device: - (hw:0,0)"
PortAudio: ALSA: "HDA ATI HDMI: 0 (hw:2,3)" (default)
PortAudio: ALSA: "sysdefault"
PortAudio: ALSA: "spdif"
PortAudio: ALSA: "default"
PortAudio: API OSS has 0 devices
PortAudio: Unable to find specified API or device or none set, reverting to default
PortAudio: Using device "HDA ATI HDMI: 0 (hw:2,3)" on API "ALSA"
It sets me by default the audio of the internal card via HDMI.
If, on the other hand, I enter the GA settings, and set the right card (ie USB Audio). Audio will now be heard when starting the game. Going to re-read the log, this appears:
PortAudio: API ALSA has 9 devices
PortAudio: ALSA: "USB Audio Device: - (hw:0,0)"
PortAudio: ALSA: "HDA ATI HDMI: 0 (hw:2,3)"
PortAudio: ALSA: "sysdefault"
PortAudio: ALSA: "front"
PortAudio: ALSA: "surround40"
PortAudio: ALSA: "iec958"
PortAudio: ALSA: "spdif"
PortAudio: ALSA: "default" (default)
PortAudio: ALSA: "dmix"
PortAudio: API OSS has 0 devices
PortAudio: Unable to find specified API or device or none set, reverting to default
PortAudio: Using device "default" on API "ALSA"
But as soon as I turn off the pc or reboot, I have to redo this configuration every time. How maybe the system or the mame to tell him to use the USB sound card?