Commit Graph
12 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh f544cb934d SAGA2: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Coen Rampen ad41e96403 SAGA2: Fix MIDI driver type detection
This fixes a small omission in the MIDI driver type detection where it would
not look at the Native MT-32 setting to set MT-32 type on a MIDI device.
2021-08-06 22:37:56 +02:00
Coen Rampen d73b19b9b3 AUDIO/MIDI: Fix Miles 3 AdLib pitch bend range
Miles 2 uses the default MT-32 pitch bend range of 12 semitones for its AdLib
driver. Miles 3 switched to the default GM pitch bend range of 2 semitones for
AdLib. ScummVM would always use the Miles 2 pitch bend range, which caused
pitch bend for Miles 3 games to sound wrong on AdLib.

To fix this, a property was added to the Miles AdLib driver to specify which
Miles version to emulate. Depending on the value of this option, the correct
default pitch bend range is set.
2021-08-06 21:01:08 +02:00
Coen Rampen 9f0c28b751 SAGA2: Set Miles version on MIDI driver
This sets the version to emulate on the Miles MIDI driver so the MIDI devices
are initialized in the same way as the original interpreter.
2021-07-29 20:24:42 +02:00
a/ 36feb1c271 SAGA2: Sync music volume on construction 2021-07-29 19:40:13 +09:00
Coen Rampen fecd4310c3 SAGA2: Fix MIDI parser memory leak
A new MidiParser object is created every time a MIDI track is played, but the
old parser would not be freed. Fixed this by reusing the old parser instead of
creating a new one, which is more efficient anyway.
2021-07-21 22:25:32 +02:00
a/ 1bcdc8eb36 SAGA2: Fix alloc-dealloc mismatch 2021-07-12 13:08:48 +09:00
Coen Rampen 40c8197eba SAGA2: Removed MidiPlayer from Music class
This removes the MidiPlayer from the Music class, because it relies on
MidiChannel objects which are not used by the Miles AdLib driver. This should
fix the volume control.
2021-07-10 21:13:15 +02:00
Eugene Sandulenko 58a7dbdc8a SAGA2: Attempt to fix MIDI volume setting 2021-07-06 00:37:07 +02:00
Eugene Sandulenko 05525eded7 SAGA2: Cleanup audio code 2021-07-06 00:37:07 +02:00
Eugene Sandulenko 4a7aa70146 SAGA2: Added music player 2021-07-03 00:39:05 +02:00