aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/sound.cpp
AgeCommit message (Collapse)Author
2010-07-21LURE: Make LURE respect the mute settings.Johannes Schickel
svn-id: r51101
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2010-01-25Change some comments to use "AdLib" instead of "adlib".Johannes Schickel
svn-id: r47534
2010-01-23Some more header modifications ("Graphic Adventure Engine" and the legal ↵Arnaud Boutonné
property paragraph) svn-id: r47489
2010-01-19LURE: Remove evil 'using namespace' from header filesMax Horn
svn-id: r47396
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-08-05Fixed more warningsChristopher Page
svn-id: r33649
2008-07-15Reverted some incorrect changes and fixed sound settings issues for LURE. ↵Christopher Page
Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM. svn-id: r33081
2008-07-07LURE: Made sure to lock _soundMutex in syncSounds()Christopher Page
svn-id: r32934
2008-06-30Fixed some warningsChristopher Page
svn-id: r32857
2008-06-30Sound settings for Lure can be modified through the GMMChristopher Page
svn-id: r32855
2008-06-12LURE: Fixed memory leaks in the LURE engineChristopher Page
svn-id: r32675
2008-04-06Replaced ManagedList with Common::SharedPtr in lure's sound systemFilippos Karapetis
svn-id: r31419
2008-03-19Commit of Hans de Goede's patches to the sound handling codePaul Gilbert
svn-id: r31194
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-12Removed old copyright 2005-2006 line from several files so that their ↵Paul Gilbert
headers are consistant with the other files svn-id: r30433
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-12-16The _nativeMT32 in MidiMusic was never initialised. Rather than storing it inTorbjörn Andersson
two different classes, use the value in SoundManager instead. As a consequence the engine now remaps the instruments from MT-32 to General MIDI for me, since isRoland() is true and hasNativeMT32() is false. Earlier, it didn't since the uninitialised _nativeMT32 happened to be true for me. svn-id: r29878
2007-12-16Hooked up the sound code to use the configuration for sfx and music, and ↵Paul Gilbert
added code from the original game that used the high bit of sounds to distinguish between the two svn-id: r29873
2007-11-27- Changed sound creation to automatically reset volume so that introduction ↵Paul Gilbert
sound sequences play correctly - Cleaned up my channel sharing code to allow for either cropping the number of channels used or use the same channel multiple times. Ideally, though, I need to find out if the MidiParser can be set to use less than 8 channels svn-id: r29648
2007-11-18Further fixes to sound code (thanks to eriktorbjorn)Paul Gilbert
svn-id: r29554
2007-11-18Added some extra mutex locks to the sound code to hopefully prevent randomo ↵Paul Gilbert
crashes svn-id: r29553
2007-10-28Added storing of playing sounds to savegame (note: only sounds flagged as ↵Paul Gilbert
restorable are restarted after loading a savegame) svn-id: r29271
2007-10-25Bugfix to make sound toggle work correctly, and added flag state to savegamesPaul Gilbert
svn-id: r29257
2007-09-28Wrapped access to the playing sounds list in a mutexPaul Gilbert
svn-id: r29114
2007-09-24Changes some code to use Common::set_to instead of loops. (as an example on ↵Johannes Schickel
how to use Common::set_to) svn-id: r29081
2007-09-20I'm probably being overly paranoid, but I'm nervous about initializing an arrayTorbjörn Andersson
of boolean with memset(). Maybe it's perfectly fine and healthy, but using a loop is consistent with how we do it in killSounds() anyway. svn-id: r28979
2007-09-20Fixed out-of-bounds writing in killSounds().Torbjörn Andersson
svn-id: r28978
2007-09-16Initial sound implementationPaul Gilbert
svn-id: r28917
2007-09-10Lots of source code formatting correctionsMax Horn
svn-id: r28887
2007-08-12Added part of the framework for playing soundsPaul Gilbert
svn-id: r28545
2007-06-22Initial commitPaul Gilbert
svn-id: r27604