aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/music.cpp
AgeCommit message (Collapse)Author
2015-07-04TINSEL: DW1: enable Miles Audio for DOS onlyMartin Kiewitz
2015-07-04TINSEL: DW1: Miles Audio AdLib MIDPAK.AD supportMartin Kiewitz
- added support for MIDPAK.AD timbre files on top FAT.OPL. FAT.OPL gets copied by installer into MIDPAK.AD for this version - changed order of timbre file checking - adjusted and improved comments about discworld 1 versions
2015-07-04TINSEL: DW1: Miles Audio AdLib support for FAT.OPLMartin Kiewitz
eriktorbjorn owns a version of DW1, that only has FAT.OPL and no SAMPLE.AD/SAMPLE.OPL. We check if SAMPLE.AD/.OPL are available, if not we try our luck with FAT.OPL
2015-06-28TINSEL: Silence a gcc warningMatthew Hoops
2015-06-28TINSEL: DW1: MT32: don't pass timbre fileMartin Kiewitz
because the game does not have one
2015-06-28TINSEL: DW1: add support for Miles Audio driverMartin Kiewitz
- AdLib + MT32 support
2014-02-18TINSEL: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-24TINSEL: Janitorial - Fix spacing errorsStrangerke
2013-04-12TINSEL: Add support for enhanced music in the Mac version of DW1Filippos Karapetis
2012-12-13TINSEL: Add support for the digitized music in DW1 MacFilippos Karapetis
2012-12-11TINSEL: Add another check to skip the non-MIDI music of DW1 MacFilippos Karapetis
2012-12-11TINSEL: Add resource handling of the BE resources in DW1 MacFilippos Karapetis
This is the second attempt. All the BE resources of DW1 Mac are handled correctly now. Added READ_16, READ_32, FROM_16, FROM_32 and TO_32 to handle all of the different cases where endianess is already handled. Note that the game scripts are LE, so these haven't been changed
2012-12-01TINSEL: Start handling the BE resources of the Mac versions of DW1Filippos Karapetis
Refer to bug #3110936 This is still work in progress, but it doesn't affect the rest of the LE versions of DW1. Both the Mac demo and the full version still crash. The music in the Mac version is skipped for now, as it isn't MIDI
2012-07-15TINSEL: Change SetMidiVolume() so that it doesn't start/stop music tracksFilippos Karapetis
Previously, SetMidiVolume() would stop the currently playing track when the MIDI volume was set to 0. Now, the music track always plays, even when the volume is set to 0. This fixes bug #3541533 - "DW: Silencing music volume stops music" and resolves two FIXME comments
2012-07-15TINSEL: Remove the GF_DEMO flagFilippos Karapetis
2012-07-09TINSEL: Fix bug #3541230 - "DW: PSX version locks up after using the book"Filippos Karapetis
Removed the superfluous MIDI offset storing code. Now, the MIDI buffer is re-read when the music loops. This removes a static variable and also fixes another bug in the SEQ decoder.
2012-05-03TINSEL: Add basic PSX SEQ playback supportMatthew Hoops
Instrument bank support is not implemented yet
2012-02-22TINSEL: Rename globals to add g_ prefix.Alyssa Milburn
2011-11-14TINSEL: Don't leak _curChunk on exit.Alyssa Milburn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-13TINSEL: Move custom ADPCM decoders to tinsel engineMax Horn
2011-04-12TINSEL: cleanupMax Horn
2011-04-10TINSEL: Removed some unused global static variablesmd5
2011-03-28AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use itMax Horn
2011-03-25AUDIO: Move more common code to Audio::MidiPlayerMax Horn
This also should fix some regressions from the previous commits, related to MidiParser's either being leaked, or being deleted and then used again (i.e., crashing). I tested as many games as I had available, but further testing of all affected engines is called for anyway.
2011-03-25TINSEL: Remove unused TinselEngine::_musicVolume memberMax Horn
2011-03-24TINSEL: Change MidiMusicPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-02-24TINSEL: Added enhanced music support for the German CD "Neon Edition" ↵md5
re-release of DW1 (bug #2827022)
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-02MIDI: Fix for bug #3170988 - "MONKEY2: Messed up MT-32 music"Filippos Karapetis
This is a regression from r55256. Apparently, SCUMM has issues when sending a sustain off on a notes off event. Thus, this has been turned into a feature, which is disabled by default. Since MADE, SAGA and tinsel all share the same music code and play regular MIDI files, and this feature fixes hanging notes for them, it has been enabled for them. Also, applied a patch for a bug regarding the notes off event in MADE and tinsel, which has been applied in SAGA already svn-id: r55746
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-16TINSEL: Mark all (?) global vars with a FIXME commentMax Horn
Use of global vars is what prevents RTL from working in Tinsel (and probably in other engines). More specifically, the fact that many global vars are not explicitly inited when the engine is (re)launched. svn-id: r54262
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-11TINSEL: Fix for #3032780 - Mute not respected in DW1Paul Gilbert
svn-id: r52674
2010-08-24TINSEL: Code cleanup, fixed potentially undefined behaviorFilippos Karapetis
svn-id: r52338
2010-08-24TINSEL: Adjusted the commented out music debug code for the latest changes toFilippos Karapetis
the lookup tables svn-id: r52333
2010-08-24TINSEL: Removed the hardcoded MIDI offset arrays.Filippos Karapetis
MIDI offsets for the enhanced music soundtrack are now calculated on the fly svn-id: r52331
2010-08-24TINSEL: Fixed final track mapping to Ench soundtrack.Eugene Sandulenko
For some reason it referred to non-existent 3141. Changed it to correct 3142. svn-id: r52324
2010-08-24TINSEL: Partial fix for MIDI in German release.Eugene Sandulenko
Bug #2827022: "DW: Enhanced music doesn't work". This release has completely different MIDI.DAT file. So far offsets and detection for this version were added. The mapping has to be confirmed with James Woodcock. svn-id: r52323
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-04-27Fix warningWillem Jan Palenstijn
svn-id: r48817
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736