Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is based on reverse-engineering the TTD DOS driver for General MIDI music.
|
|
drivers.
Preparation for later extending the info passed to music drivers.
|
|
relying on high-level functions.
|
|
low-level driver that directly works with MIDI data.
This allows using different music sources besides standard MIDI files on disk.
|
|
Some songs (at least one in OpenMSX) use the MIDI pitch bend range controllers
but don't reset these at the end. This causes all subsequent songs to sound
wrong.
|
|
|
|
MCI MIDI is poorly supported on newer versions of Windows and can cause large
delays at the beginning of tracks.
The new driver is based on a from-scratch reader for Standard MIDI Files. This
should be re-usable in other music drivers too, and can allow for finer control
of playback in general.
It also provides a better framework for reading MIDI data from other formats
than just SMF.
|
|
|
|
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action
This fixes #6652.
|
|
|
|
|
|
|
|
|
|
|
|
for a particular platform
|
|
|
|
the return is not NULL)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
driver factory instatiations
|
|
driver to specify the ouput port to use. (Based on patch by gulikoza)
|
|
initializing the DirectMusic driver fails.
|
|
Eagle_rainbow)
|
|
local changes and attempts
|
|
|
|
|
|
wrongly pitched songs than dmusic, it crashed instead.
|
|
|
|
|
|
|
|
missed :)
|
|
although working, causes a temporary freeze of OpenTTD. As MCI behaves better than DirectMusic that has become the default music driver; small delay between songs beats wrongly pitched/bad sounding songs
|
|
|
|
Likely because the instruments weren't reset properly
|
|
|
|
|
|
consisted of unrelated values use static const (u)int
|
|
shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order. Based on a patch by Jindřich Makovička.
|
|
(jrepan)
|
|
if a header require a header make it include that header
|
|
causes 'random' (looks like a racing condition in allegro) crashes when songs are stopped.
|
|
over null driver
|
|
could be detected; just fall back on the null-driver
|
|
with some actions.
|
|
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
|