trzy / Supermodel

Official repository of the Sega Model 3 arcade emulator.

Home Page:https://supermodel3.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No audio on GNU/Linux (x86_64, latest stable SDL2 on ALSA)

vanfanel opened this issue · comments

Hi there,

I have just built Supermodel for the first time on GNU/Linux (Debian 12, x86_64) and I get no sound at all.
Seems like Supermodel uses SDL2 audio, and on my system SDL2 uses the ALSA backend (no Pulseaudio or other latency-introducing APIs, only direct ALSA audio for me).

Has Supermodel been tested on such an scenario?
Maybe audio is currently broken on current GIT code somehow?

All my other SDL2 games (Scummvm, SDLPop, DoomRetro, VanillaConquer and a LONG list) do work fine, it's only Supermodel that's failing to produce any audio.

Ok, answering myself:

I need to pass -channels=2, then audio works.
Supermodel tries to open 4 channel audio by default, which is not so common, is it?