aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/sound
AgeCommit message (Collapse)Author
2016-02-28GOB: Don't completely reset the OPL in AdLib::initOPL()Sven Hesse
It shouldn't be necessary anymore, since initOPL() cleans everything. If, however, suddenly a piece of music sounds weird in a Gob game, this is the place to look for. This fixes a race condition between OPL::reset() and the callback timer.
2015-09-02GOB: Make the currently playing CD track all-uppercaseSven Hesse
This is what the original game does too, and the scripts query for all-uppercase CD track names. Interestingly, this being wrong has been mostly inconsequential. It does, however, manifest in one bug in the underwater wreck level of Gobliins 2. After calling the Moray Eel by lighting the lamp with Winkle, speaking to said eel has the scripts wait for the currently playing background track to end before playing the voice lines, instead of ending the audio track forcefully. The track is only about a minute long, so it's "only" annoying, not a game-stopper. The scripts also try to compare the CD track name with some different, all-uppercase names, so this is possibly relevant in some other places as well. No such bug report exists at the moment, though. See also the forum post with the bug report: http://forums.scummvm.org/viewtopic.php?p=81733#81733 A somewhat related bug report is #2999 "GOB2 : Moray Eel Game Freeze (Wreck Scene)" (<http://sourceforge.net/p/scummvm/bugs/2999/>). At that time, the script expression parser still did a stricmp for the NEQ expression (which is wrong), and that made the bug not trigger. Commit 5c58b9a3a4a8848474aba18c02c0da997fb138a2, which fixed that incorrect NEQ behaviour, then made this bug here appear.
2015-07-19GOB: Get rid of unused Audio::mixer referencesMax Horn
Also remove the unused AdLib::_rate member variable.
2015-07-07AUDIO: Remove all AudioStream access to OPLMatthew Hoops
2015-07-07GOB: Implement custom AdLib volume controlWalter van Niftrik
2015-07-07GOB: Use the built-in OPL timerMatthew Hoops
2015-07-07AUDIO: Remove the sample rate configuration from the OPL codeMatthew Hoops
2014-02-18GOB: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-15GOB: Add another sanity checkSven Hesse
2013-04-15GOB: Fix a potential array overrunSven Hesse
2013-04-15GOB: Correct a delete/delete[]-mismatchSven Hesse
2012-07-30GOB: Don't leak in sampleLoad() when loading failsSven Hesse
2012-07-30GOB: const correctness in SoundBlaster::playComposition()Sven Hesse
2012-06-23GOB: Fix a very stupid mistake in the Gob1 background track selectionSven Hesse
Thanks to salty-horse for catching that. :)
2012-06-18GOB: Don't loop /all/ sounds in Little RedSven Hesse
Just the title music... *cough*
2012-06-16GOB: Remove a superfluous semicolonSven Hesse
2012-06-16GOB: Loop the Little Red title musicSven Hesse
2012-06-11GOB: Don't recalculate the AdLib frequencies table on every player resetSven Hesse
2012-06-11GOB: Play the music on the title screen of Gob1 EGASven Hesse
The EGA version of Gobliiins comes with an MDY track. While the original doesn't play it, we thought it might be a nice idea to play it nevertheless.
2012-06-11GOB: Rewrite the AdLib playersSven Hesse
This is a complete rewrite of the AdLib players for ADL and MDY/TBR files in the Gob engine. Major changes 1) The AdLib base class is now completely separated from all file format code and can theoretically be used by any OPL2-based format (within reason) 2) The new code is far better documented and more readable 3) The MDY player now actually works. The MDY/TBR format is in reality the MUS/SND format created by AdLib as a simpler alternative to the ROL format 4) Since the MAME emulator is quite buggy and leads to noticable wrong percussion in the Gobliins 2 title music, the new AdLib player will try to create a DOSBox OPL. If it's not compiled in, or if the user configured opl_driver to "mame", it will print out appropriate warnings.
2012-01-27GOB: Play Oko's breathing soundSven Hesse
2011-09-14GOB: Tell Geisha that we have no AdLibSven Hesse
The title music is then played from SND files instead of MDY/TBR files (that we still don't yet support).
2011-09-08GOB: Made some static data const.Johannes Schickel
2011-06-02GOB: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
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-02-26GOB: Avoid hiding overloaded virtual methodsOri Avtalion
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-01-30GOB: Adibou has background atmosphereSven Hesse
svn-id: r55644
2011-01-29GOB: Add Script::evalInt() and Script::evalString()Sven Hesse
svn-id: r55634
2011-01-29GOB: Add GobEngine::isCurrentTot()Sven Hesse
svn-id: r55630
2011-01-29GOB: Change _curTotFile and _totToLoad into Common::StringSven Hesse
svn-id: r55629
2011-01-27GOB: Add SoundDesc::swap()Sven Hesse
svn-id: r55564
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-10-31GOB: Clean up class DataIOSven Hesse
Removing the need for class DataStream and that handle mess. svn-id: r53984
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-10-15GOB: Fix Code analysis warningsSven Hesse
See bug report #3087831 svn-id: r53464
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-08-21GOB: Clean up of Fascination codeArnaud Boutonné
Move Fascination specific function to appropriate classes, plus some style modifications svn-id: r52267
2010-08-17Suppress one more useless debug messageArnaud Boutonné
svn-id: r52162
2010-08-15Fascination - Add workaround for script bug: wrong track name is called in ↵Arnaud Boutonné
storage room svn-id: r52107
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637