Started by Roboron, August 29, 2020, 07:56:10 PM
0 Members and 1 Guest are viewing this topic.
Quote from: prissi on February 08, 2021, 02:16:49 PMWhy should SDL_mixer be removed.
Quote from: Andarix on January 15, 2021, 02:04:02 PMUbuntu 20.04 and SDL_mixer/SDL2_mixer not work.The Simutrans version from the distribution repo doesn't work either.As a result, mixer does not work with all derived distributions either.There are already several reports about this.
Quote from: prissi on February 08, 2021, 02:16:49 PMMaybe there are systems, where fluidsynth is not available but SDL_mixer is.
Quote from: prissi on February 08, 2021, 11:40:04 PMBut I still would keep this patch and removing SDL_mixer two seperate things.
Quote from: TurfIt on February 09, 2021, 01:02:46 AMIf anything, longterm the idea would be to remove the non-mixer. i.e. The game sound effects are also rather horrid, in need of overhaul, which would need the flexibility of mixer IMO.
Quote from: prissi on February 12, 2021, 02:13:49 AMWhy using fluidsynth with coreaudio, when there is already coreaudio support?
Quote from: prissi on February 12, 2021, 02:13:49 AMadding this breaks the Github nightly builds on MacOS, which is hard enough to set up
Quote from: prissi on February 12, 2021, 02:13:49 AMWhy libgthread?
Quote from: prissi on February 12, 2021, 12:44:44 PMyour patch in the other thread fixes the midi support to no longer crashing
Quote from: prissi on February 12, 2021, 12:44:44 PMlibgthread is the homebrew variant of the C-lib threading support
Quote from: Roboron on February 12, 2021, 09:37:32 PMIf you see "Music disabled/unavailable" then the audio driver failed to initialize. Run Simutrans on the CLI with debug option and you will see at what point it fails. Reply back with this information so I can help you debugging it.
gdb '/home/yonatyt/Downloads/simutrans/sim'GNU gdb (Ubuntu 8.1-0ubuntu3.2) 220.127.116.1180409-gitCopyright (C) 2018 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Type "show copying"and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>.Find the GDB manual and other documentation resources online at:<http://www.gnu.org/software/gdb/documentation/>.For help, type "help".Type "apropos word" to search for commands related to "word"...Reading symbols from /home/yonatyt/Downloads/simutrans/sim...done.(gdb) runStarting program: /home/yonatyt/Downloads/simutrans/sim [Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".Using data directory /home/yonatyt/Downloads/simutrans/Reading low level config data ...parse_simuconf() at config/simuconf.tab: Reading simuconf.tab successful!Init done.parse_colours() at config/simuconf.tab: Reading simuconf.tab successful![New Thread 0x7ffff7fbb700 (LWP 3194)][New Thread 0x7fffdb7f0700 (LWP 3195)]Calculating textures ...done[Thread 0x7fffdb7f0700 (LWP 3195) exited][Thread 0x7ffff7fbb700 (LWP 3194) exited][Inferior 1 (process 3174) exited normally]
Quote# Set this for playing MIDI music with your preferred soundfont.# Need Fluidsynth support.# A recommended lightweight (30 MB) soundfont is PCLite: # http://www.personalcopy.com/sfarkfonts1.htm# https://src.fedoraproject.org/repo/pkgs/PersonalCopy-Lite-soundfont/PCLite.sf2/629732b7552c12a8fae5b046d306273a/# But there are many more, including greater quality ones.# Set either the full path or the name of the .sf2 soundfont saved into the "music" directorysoundfont_filename = PCLite.sf2
Quote from: Yona-TYT on February 13, 2021, 12:20:27 PMEdit.Text in file.
Warning: dr_init_midi(): FluidSynth: Set MIDI driver sdl2 failed.
QuotePulseAudio is a general purpose sound server intended to run as a middleware between your applications and your hardware devices, either using ALSA or OSS.
Warning: dr_init_midi(): FluidSynth: Set MIDI driver alsa failed.Message: simu_main(): Midi disabled ...
Quote from: Yona-TYT on February 13, 2021, 10:01:50 PM:(