aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/sound.h
AgeCommit message (Collapse)Author
2012-06-13HUGO: Rename pointersStrangerke
2011-12-12HUGO: Fix warning about hidden pause() method from parent classMax Horn
2011-08-24HUGO: Coding style fixes.Alyssa Milburn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
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-25HUGO: Move MidiDriver creation into MidiPlayer constructorMax Horn
2011-03-24HUGO: Change MidiPlayer 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-18HUGO: Move several short function bodies from headers to cpp filesstrangerke
2011-02-12HUGO: Replace Common::File by Common::ReadStream in several functionsArnaud Boutonné
svn-id: r55897
2011-02-12HUGO: Cleanup based on Fingolfin commentsArnaud Boutonné
svn-id: r55887
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-03HUGO: Suppress static variables (except one)Arnaud Boutonné
This also fixes the multiple-RTL related music bug reported by D. Gray svn-id: r55758
2011-02-02HUGO: 'Constify' engine as much as possibleArnaud Boutonné
svn-id: r55741
2011-02-01HUGO: Use a separate thread for honker player and fix ticks per secondsArnaud Boutonné
This fixes the speaker music stopped by message boxes, and the speaker music itself. svn-id: r55700
2011-01-23HUGO: CleanupArnaud Boutonné
Suppress almost all defines, rename constants svn-id: r55451
2011-01-07TOOLS: Add Dos intro music number in hugo.datArnaud Boutonné
svn-id: r55145
2011-01-06HUGO: Implement DOS playerArnaud Boutonné
svn-id: r55132
2011-01-01HUGO: Midi are no longer looping. Add handling to default playlistArnaud Boutonné
svn-id: r55084
2010-12-22HUGO: Implement syncSoundSettings()Arnaud Boutonné
svn-id: r55018
2010-12-22HUGO: Slight formatting fix.Johannes Schickel
svn-id: r55008
2010-12-22HUGO: Set some volume levels to get the MAME adlib emul workingHenry Bush
svn-id: r55000
2010-12-15HUGO: Clean-up, move MidiPlayer class definition to .h fileArnaud Boutonné
svn-id: r54923
2010-11-26HUGO: Avoid using 'short' in function definitionArnaud Boutonné
svn-id: r54504
2010-11-13HUGO: Close two minor memory leaks.David Turner
Destructor added to SoundHandler and added delete for _intro in engine destructor. svn-id: r54225
2010-10-25HUGO: cleanup: Suppress trailing spaces and tabsArnaud Boutonné
svn-id: r53825
2010-10-21HUGO: Moved _objects to a separate fileArnaud Boutonné
also suppressed some dereferencing svn-id: r53674
2010-08-27HUGO: Hopefully fix GCC_PRINTF issue in utilArnaud Boutonné
* Add a mask in each call of Warn(), Error() and Box() not using one * cleanup: use the same wording for 'End of namespace Hugo' in all files svn-id: r52406
2010-08-26HUGO: Removed some dead code and redundant indirectionOystein Eftevaag
svn-id: r52404
2010-08-26HUGO: Implemented basic MIDI support.Oystein Eftevaag
svn-id: r52403
2010-08-17HUGO: Fix file permissionsSven Hesse
755->644 svn-id: r52177
2010-08-17HUGO: Adding engine to the main treeEugene Sandulenko
svn-id: r52137