fdboi / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://gzdoom.drdteam.org
GNU General Public License v3.0
0 stars 0 forks source link

Some sound don't play #1

Open fdboi opened 3 years ago

fdboi commented 3 years ago

In classic WADs all seems fine. But Brutal Doom doesn't play all sounds. Probably only some sound formats have issues.

libmpg123 is mad:

Note: Illegal Audio-MPEG-Header 0x9c00f000 at offset 6014.
Note: Trying to resync...
Note: Skipped 1024 bytes in input.
[/home/user/351ELEC/build.351ELEC-RG351P.aarch64-dev/mpg123-compat-1.25.10/src/libmpg123/parse.c:1273] error: Giving up resync after 1024 bytes - your stream is not nice... (maybe increasing resync limit could help).

It may not be libmpg123's fault at all. Interestingly the Windows version sounds similar if libsndfile is missing.

fdboi commented 3 years ago

Yup, not libmpg123 fault at all. libsndfile on 351ELEC isn't compiled with ogg/vorbis support.

Not sure how to best fix yet. Probably should see if we can just add support for it.

Also libogg doesn't build shared libraries.

And some weirdness with libzmusic build. Need to retest DYN_SNDFILE DYN_LIBMPG123 DYN_FLUIDSYNTH build flags.