aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/sound_br.cpp
AgeCommit message (Collapse)Author
2014-02-18PARALLACTION: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-03PARALLACTION: Make sure overridden methods are not used. Fixes compiler warningEugene Sandulenko
2013-04-17PARALLACTION: Add some sanity checks to SoundMan_br::execute.Alyssa Milburn
2012-09-22PARALLACTION: Add custom Adlib driver for BRA.Alyssa Milburn
Thanks to peres for working out how it works in the original engine. Also, fix the length of MIDI events so it works properly.
2012-09-07JANITORIAL: Remove underscores from MidiParser variable names.Alyssa Milburn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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-25PARALLACTION: Move MidiDriver creation into MidiPlayer(_MSC) constructorsMax Horn
2011-03-24PARALLACTION: Change MidiPlayer impls 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-23ENGINES: Use Common::StackLock in more placesMax Horn
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-12JANITORIAL: Remove duplicate #include'sOri Avtalion
svn-id: r55889
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-06PARALLACTION: update MIDI driver commands description for BRA.Nicola Mettifogo
svn-id: r55792
2011-01-13PARALLACTION: Close Memory Leak in Big Red Adventure MIDI Playback.David Turner
svn-id: r55226
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-05-21Fix loading of MSC files on big-endian systems. Patch 3004367 by fuzzie.Nicola Mettifogo
svn-id: r49128
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-23Get rid of deprecated makeRawDiskStream variants; rename deprecated ↵Max Horn
makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change svn-id: r47472
2010-01-23Get rid of two more FLAG_LOOP instancesMax Horn
svn-id: r47459
2010-01-19cleanupMax Horn
svn-id: r47399
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-19Move raw audio streams to new header sound/raw.hMax Horn
svn-id: r47368
2010-01-19Rename 'Linear' audio streams to 'raw'Max Horn
svn-id: r47367
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2009-06-12Cleanup of sound code.Nicola Mettifogo
svn-id: r41461
2009-06-12* Replaced the A8SVXDecoder class with a function to return an AudioStream ↵Nicola Mettifogo
in trunk/sound/. * Refactored sound code in Parallaction to use the new Audio::make8SVXStream. svn-id: r41460
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-04-29Enable music and sound effects in BRA, by default.Travis Howell
svn-id: r40193
2009-04-28Added in-game menu for BRA. Load/save is not supported yet.Nicola Mettifogo
svn-id: r40176
2009-03-28Add sound effects support for Amiga demo of BRA.Travis Howell
svn-id: r39717
2009-03-28Add sound effects support for PC version of BRA.Travis Howell
svn-id: r39716
2009-03-22Changed Disk code to provide SeekableReadStream's to sound routines as well.Nicola Mettifogo
svn-id: r39608
2009-03-17Sound files don't always exist in the Amiga version of BRA.Travis Howell
svn-id: r39469
2009-03-17Enable sound effects in the Amiga version of BRA.Travis Howell
svn-id: r39466
2009-03-15Ooops, actually set _mixer. Travis Howell
svn-id: r39411
2009-03-15Enable music in Amiga version of BRA too.Travis Howell
svn-id: r39409
2009-03-14Added midi support to BRA. So far music starts, but related script commands ↵Nicola Mettifogo
haven't been implemented yet. svn-id: r39397