Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-13 | Codechange: replace IConsolePrintF with IConsolePrint and fmt formatting | rubidium42 | |
Also make some strings more consistent with the rest of the console strings. | |||
2021-06-13 | Codechange: convert printf DEBUG statements to fmt Debug statements | rubidium42 | |
2021-05-24 | Fix: Workarounds for BeMidi driver to work properly on Haiku | milek7 | |
2021-05-24 | Fix: Building on Haiku | milek7 | |
2021-05-10 | Cleanup: [Fluidsynth] Remove fluid_player_join | Rubidium | |
The function fluid_player_join in the library is broken beyond compare for the usecases it was used for (see their #872). It does not wait until it is safe to delete the player, so it is up to the end user to ensure that. For OpenTTD we acquire a lock before fluid_synth_write_s16 and we acquire the same lock in the stop function. So, only one of the functions can be doing its thing, meaning we do not need to wait for the player to be stopped as it cannot be doing anything as we prevent that by the lock. | |||
2021-05-05 | Cleanup: [Fluidsynth] Comply better with the coding style | rubidium42 | |
2021-05-03 | Fix #9117, 04ce1f07: [Fluidsynth] Infinite wait when stopping song (#9181) | rubidium42 | |
In FluidSynth 2.2.0 an extra state was added to denote stopping. To transition from this state to a stopped state the rendering needs to be running. Since 04ce1f07 locking was added that skipped the rendering when something else held a lock, so the state would never get to stopped and join would never return. | |||
2021-04-24 | Codechange: Use std::string in console commands/aliases registration, and ↵ | Loïc Guilloux | |
std::map instead our sorted linked list (#9057) * Codechange: Use std::string in console commands and aliases registration * Codechange: Use std::map to register console commands * Codechange: Use std::map to register console aliases * Cleanup: Remove now unused function | |||
2021-04-07 | Fix: Honor default soundfont for FluidSynth | Ghislain Antony Vaillant | |
Debian now provides a default soundfont for FluidSynth via its alternatives system. In short, FluidSynth is configured to look for `/usr/share/sounds/sf3/default-GM.sf3` as its default soundfont, and each soundfront package (FluidR3, OPL-3, MuseScore...) may provide or override this symlink. By default, FluidSynth is installed on Debian with the `TimGM6mb` soundfont by default due to its limited size. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929185 for further details. | |||
2021-04-07 | Fix: Use FluidSynth default soundfont | Ghislain Antony Vaillant | |
2021-04-07 | Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵ | Niels Martin Hansen | |
static buffers | |||
2021-04-04 | Codechange: Use COINIT_MULTITHREADED in CoInitializeEx (#8938) | Milek7 | |
2021-02-23 | Codechange: Switch to explicit wide strings | Niels Martin Hansen | |
2021-02-23 | Remove: [Win32] Last pretenses of being able to build for Windows 95 | Niels Martin Hansen | |
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2020-12-27 | Codechange: Convert some more FIO functions to take std::string. | Michael Lutz | |
2020-12-27 | Codechange: Use std::string in FIO search path handling. | Michael Lutz | |
2020-09-25 | Codechange: Make codestyle for CMake files consistent for 'control' statements | Charles Pigott | |
2020-07-03 | Fix: Globally apply preprocessor directive coding style | TechGeekNZ | |
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places. | |||
2020-06-05 | Codechange: remove #ifdef from .cpp files to exclude features | Patric Stout | |
With CMake, these files are simply not compiled to start with. | |||
2020-06-05 | Add: introduce CMake for project management | Patric Stout | |
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc. | |||
2020-05-21 | Codechange: Use std::string in the driver and blitter selection code. | Michael Lutz | |
2020-05-08 | Fix: Two issues in MIDI file writer | Niels Martin Hansen | |
Variable-length values would write threshold values with a byte too many. System Exclusive messages would cause write to fail since the end byte was treated as part of next message. | |||
2020-04-12 | Remove: [OSX] Old QuickTime music driver. | Michael Lutz | |
2020-04-12 | Remove: [OSX] Support for the pre-10.5 audio/music APIs. | Michael Lutz | |
2020-02-07 | Fix #7885: [Fluidsynth] Use recommended method of setting sample rate | Niels Martin Hansen | |
2020-01-12 | Fix: Silence all notes when stopping song in fluidsynth | Milek7 | |
2020-01-12 | Fix: correct checking of fluid_settings_setnum return code | Milek7 | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-11-01 | Codechange: [OSX] Use std::unique_ptr with a custom deleter to simply memory ↵ | Michael Lutz | |
management of Core Foundation types. | |||
2019-09-30 | Fix: Signedness issue in midi driver | Charles Pigott | |
2019-09-30 | Codechange: Fix warning about discarding qualifiers by *really* casting the ↵ | Charles Pigott | |
variable | |||
2019-09-30 | Fix: Compilation error on MinGW due to usage of C++17 template deduction | Charles Pigott | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-09-29 | Fix: [OSX] Macro name conflict when trying to compile the QuickTime music ↵ | Michael Lutz | |
driver. | |||
2019-08-31 | Add: [Win32] Select MIDI device by port name | Niels Martin Hansen | |
2019-07-07 | Fix 27384486e4: Error in GM Reset sysex data | Niels Martin Hansen | |
2019-07-04 | Fix: Correctly reset playback between songs in win32_m driver | Niels Martin Hansen | |
2019-07-04 | Fix: Correctly reset playback between songs in DMusic driver | Niels Martin Hansen | |
2019-07-04 | Fix: Don't keep mutex locked while parsing MIDI data | Niels Martin Hansen | |
2019-07-04 | Fix: Time values should be DWORD everywhere in win32_m | Niels Martin Hansen | |
2019-07-04 | Codechange: Fix comment indentation | Niels Martin Hansen | |
2019-07-04 | Codechange: Use common source for well-known SysEx messages in Windows music ↵ | Niels Martin Hansen | |
drivers | |||
2019-07-04 | Codechange: Add some const in preparation | Niels Martin Hansen | |
2019-07-04 | Codechange: Use std::mutex instead of CRITICAL_SECTION in win32_m | Niels Martin Hansen | |
2019-05-04 | Codechange: replace grow() usage for MidiFile | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-06 | Codechange: Use platform independent C++11 function for sleeping on a thread. | Michael Lutz | |
2019-04-06 | Codechange: Replace custom thread code with C++11 thread objects. | Michael Lutz | |
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully. | |||
2019-04-06 | Codechange: Replace custom mutex code with C++11 mutex'es. | Michael Lutz | |
A conforming compiler with a valid <mutex>-header is expected. Most parts of the code assume that locking a mutex will never fail unexpectedly, which is generally true on all common platforms that don't just pretend to be C++11. The use of condition variables in driver code is checked. |