XProger / OpenLara

Classic Tomb Raider open-source engine
http://xproger.info/projects/OpenLara/
BSD 2-Clause "Simplified" License
4.64k stars 360 forks source link

No audio in Linux #438

Open Leebre opened 1 year ago

Leebre commented 1 year ago

Hi, I am trying to use OpenLara to play TR1 (GOG version) in Linux. Everything seems to be working fine, except I have no audio. I'm not 100% sure if I have the audio files in the correct place.

Also, I don't use Pulseaudio on my system, I use Alsa direct (in case that might be part of the issue).

XProger commented 1 year ago

Hi, linux build uses the pulseaudio, but you can take Alsa output implementation code from src/rpi/main.cpp

Leebre commented 1 year ago

@XProger ok, I will give that a try. Thanks for the quick reply :-)

clort81 commented 1 year ago

There's also an apulse shim that pretends to be a pulseaudio server and reroutes to alsa. Your distro might have apulse.