aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/sound.cpp
AgeCommit message (Collapse)Author
2011-08-13MOHAWK: Implement Myst demo opcodes 298 and 299, sneak preview speech.Bastien Bouclet
2011-08-06ALL: Reduce audio/ header dependencyEugene Sandulenko
2011-07-02MOHAWK: Misc Mechanical fixes. Many thanks to Patrick Monnerat for the patch.Bastien Bouclet
- Adds break statements where missing in Mechanical::toggleVar() and Mechanical::setVarValue() - Restore proper numbering of Achenar and Sirrus panel state variables, which were wrongly swapped. - When bird is singing, play sound continuously. - When operating the fortress elevator, keep the engine sound active while the elevator is moving.
2011-05-14MOHAWK: Fix background music restarting when changing cards in original MystBastien Bouclet
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-04-13AUDIO: Split the Intel DVI ADPCM into its own classMatthew Hoops
IMA is really just the definition on how to decode a sample from a nibble, DVI is just a way for those nibbles to be stored in the stream.
2011-03-29MOHAWK: Add Sound::isPlaying() function.Alyssa Milburn
2011-03-22MOHAWK: Remove 'old' from the LB v1 sound function tooMatthew Hoops
2011-02-13MOHAWK: Add support for Mac LB v2 gamesMatthew Hoops
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-01-23MOHAWK: Implement Riven's stopSound() and fadeAmbientSounds() opcodesMatthew Hoops
svn-id: r55460
2011-01-23MOHAWK: Do not stop ambient sounds when finding no matching Riven SLST indexMatthew Hoops
This fixes the ambient sounds in the Rebel Tunnel puzzle and Temple Island maglev among other places. svn-id: r55459
2011-01-22MOHAWK: Fix meaning of the sound loop variableMatthew Hoops
svn-id: r55433
2011-01-22MOHAWK: Update the ADPC chunk codeMatthew Hoops
svn-id: r55431
2011-01-19MOHAWK: Don't use a fixed-size array for cue lists.Alyssa Milburn
svn-id: r55335
2011-01-19MOHAWK: Properly initialize Myst's background SndHandleMatthew Hoops
svn-id: r55331
2011-01-19MOHAWK: Use a separate SndHandle for Myst's background soundMatthew Hoops
svn-id: r55330
2011-01-19MOHAWK: Add some supporting code for cue lists.Alyssa Milburn
svn-id: r55328
2011-01-18MOHAWK: Rename some Myst-specific sound functions; cleanupMatthew Hoops
svn-id: r55314
2011-01-11MOHAWK: Cleanup Mohawk wave parsingMatthew Hoops
svn-id: r55212
2011-01-03MOHAWK: Add stopMidi() function.Alyssa Milburn
svn-id: r55113
2011-01-02MOHAWK: Don't leak the MIDI data.Alyssa Milburn
svn-id: r55094
2011-01-02MOHAWK: Don't delete the MIDI driver before the parser.Alyssa Milburn
The parser was trying to call into the deleted driver. svn-id: r55093
2010-12-24MOHAWK: Fix playing sound from aliases in Myst ME.Bastien Bouclet
svn-id: r55031
2010-12-18MOHAWK: Separate background sound handling from other sounds for Myst. Allow ↵Bastien Bouclet
the scripts to change the background sound volume. svn-id: r54953
2010-11-29MOHAWK: Don't store the sound name in SndHandleMatthew Hoops
svn-id: r54647
2010-11-29MOHAWK : Finished implementing Selenitic sound receiverBastien Bouclet
svn-id: r54593
2010-11-27MOHAWK: Add an isPlaying() and stopSound(id) function to Sound (for LB and ↵Matthew Hoops
others) svn-id: r54514
2010-11-21MOHAWK: Fix Living Books v1 sound (courtesy of fuzzie)Matthew Hoops
svn-id: r54397
2010-11-20MOHAWK: Cleanup resource handlingMatthew Hoops
- Renamed getRawData() to getResource() - Add a getResource() and hasResource() function for named resources - Other minor formatting changes svn-id: r54396
2010-09-08MOHAWK: Implement blocking sound in RivenMatthew Hoops
Sounds that set the third argument of the playSound opcode to 1 (wherever they may be) will now block. The volume parameter of playSound is also now honored. Merge the Myst sound blocking code with this too. svn-id: r52643
2010-09-07MOHAWK: Sound cleanupMatthew Hoops
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio. svn-id: r52631
2010-07-09Fix some other valgrind warnings.Matthew Hoops
svn-id: r50762
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-02-26Cleanup the sound code a bit.Matthew Hoops
svn-id: r48133
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-28Fix warning when using -WuninitializedMax Horn
svn-id: r47633
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Fill in the unknown values of the ADPC chunk in Mohawk sounds and update ↵Matthew Hoops
comments. svn-id: r47528
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-22Always loop sounds declared in the VIEW resources of Myst. While Myst ↵Matthew Hoops
specifies in the metadata of its sound resources, Myst ME does not have that feature so we have to specify the looping. Looping now works in Myst ME. svn-id: r47431
2010-01-22Rename MohawkFile to MohawkArchive and OldMohawkFile to ↵Matthew Hoops
LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new. svn-id: r47429
2010-01-19Started to get rid of Audio::FLAG_LOOPMax Horn
svn-id: r47397
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