ptitSeb / stuntcarremake

A port of Stunt Car Remake to OpenPandora, Linux and Emscripten. Status: Working
http://ptitseb.github.io/stuntcarremake/
Other
71 stars 11 forks source link

Engine sound broken on Raspberry Pi (aarch64) #16

Closed vanfanel closed 3 years ago

vanfanel commented 3 years ago

Hi @ptitSeb

Since I recenly enabled full OpenGL support in the KMSDRM backend in SDL2, I have specifically wanted to have this wonder playing on my Pi4 in aarch64 mode.

Game builds, but audio seems broken: all I can hear is some static noise. The exact same code builds and sounds fine on X86_64 using the same backends, which puzzles me. Tried to pass GCC the -fsigned-char and -funsigned-char because the only difference between C code when built for x86_64 or aarch64 is char signedness, but it didn't fix it.

I see that the game seems to use 8bit audio, according to this message:

sound_buffer: format = mono8

Do you think that could be related? No way to use a "more standard" audio format?

Thanks!

vanfanel commented 3 years ago

@ptitSeb This was a problem in openal-soft-1.21.0, but it's no longer a problem in openal-soft-1.21.1. So it wasn't related to stuntcarremake really. Closing this, sorry for the noise :)