aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/sound.cpp
AgeCommit message (Collapse)Author
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2014-02-18HUGO: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-01HUFO: Fix CID 1002880, 1002881. Use nullptr where possible instead of 0Strangerke
2012-06-13HUGO: Rename pointersStrangerke
2012-06-13HUGO: Rename structs and enumsStrangerke
2012-06-13HUGO: More renamingStrangerke
2012-06-13HUGO: Apply coding convention (in progress)Strangerke
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-09-08HUGO: Improvements to SoundHandler::pcspkr_player().Alyssa Milburn
Better comments, improved timing and square waves.
2011-08-24HUGO: Coding style fixes.Alyssa Milburn
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
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-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-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-18HUGO: Remove extra spaces at end of linesstrangerke
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-11HUGO: Cleanup: fix style issue in Doxygen commentsArnaud Boutonné
svn-id: r55884
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-25HUGO: Move text arrays to a separate classArnaud Boutonné
svn-id: r55507
2011-01-23HUGO: CleanupArnaud Boutonné
Suppress almost all defines, rename constants svn-id: r55451
2011-01-20HUGO: Cleanup: Remove some C-style commentsArnaud Boutonné
svn-id: r55360
2011-01-07TOOLS: Add Dos intro music number in hugo.datArnaud Boutonné
svn-id: r55145
2011-01-06HUGO: Fix GCC warnings, second try (sorry)Arnaud Boutonné
svn-id: r55134
2011-01-06HUGO: Fix GCC warningsArnaud Boutonné
svn-id: r55133
2011-01-06HUGO: Implement DOS playerArnaud Boutonné
svn-id: r55132
2011-01-01HUGO: Some space/tab cleanupsArnaud Boutonné
svn-id: r55088
2011-01-01HUGO: Midi are no longer looping. Add handling to default playlistArnaud Boutonné
svn-id: r55084
2010-12-26HUGO: Fix MIDI Player Memory Leak in H3 Win.David Turner
svn-id: r55040
2010-12-22HUGO: Suppress some obsolete volume related variablesArnaud Boutonné
svn-id: r55019
2010-12-22HUGO: Implement syncSoundSettings()Arnaud Boutonné
svn-id: r55018
2010-12-22HUGO: Replace function comments by doxygen commentsArnaud Boutonné
svn-id: r55014
2010-12-22HUGO: Fix little bug in sound playerArnaud Boutonné
Mute/unmute sound and music at the same time svn-id: r55013
2010-12-22HUGO: Set some volume levels to get the MAME adlib emul workingHenry Bush
svn-id: r55000
2010-12-22HUGO: Add music debug level, some cleanup when opening driverHenry Bush
svn-id: r54999
2010-12-15HUGO: Clean-up, move MidiPlayer class definition to .h fileArnaud Boutonné
svn-id: r54923
2010-11-30HUGO: Close Memory Leak in PlayMusic() Function.David Turner
svn-id: r54664
2010-11-13HUGO: Fixed crash on exit when hugo.dat is not availableFilippos Karapetis
svn-id: r54228
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