Commit Graph
42 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko 7e04f3d939 SWORD25: Play no music if no sound device selected. Bugreport #11716 2021-08-25 18:46:07 +02:00
Bastien Bouclet c115c33b1f SWORD25: Add override keywords 2020-02-09 12:43:16 +01:00
Adrian Frühwirth e45a0ce3da SWORD25: Fix otherwise unused variable not guarded by USE_VORBIS
This silences a gcc warning when compiling with -Wunused-variable.
2018-05-07 09:30:00 +02:00
Bastien Bouclet 443211d9ff SWORD25: Add a constructor to initialize SoundHandle members
Fixes #7018
2017-11-11 13:26:22 +01:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel 59d0874ca9 SWORD25: Use float constant values in expressions which result in float.
This silences some float conversion warnings.
2014-06-02 01:00:15 +02:00
Johannes Schickel bad7cdd3a6 SWORD25: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Thierry Crozat cdbee9972a SWORD25: Fix possible error in sound engine when loading a savegame
The error occurred when the save game was saved early in the game
before all the sound handles had been used. The unused handles only had
the handle type initialised (as kFreeHandle) so all the other fields had
random values. After loading the game the sound engine could erroneously
try to play one of these sound handle resulting in an error.
2013-10-05 00:25:04 +01:00
Eugene Sandulenko 118da76068 SWORD25: int -> int32 correctness 2013-09-29 10:44:41 +03:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alyssa Milburn b1af75f2c3 SWORD25: Improve sound persistence.
Keep track of volume/panning state, and don't restart sounds which already
finished playing.
2012-08-20 21:14:10 +02:00
Filippos Karapetis e95bc9d7b0 SWORD25: Make sure that id is always initialized in playSoundEx() 2011-08-07 16:05:54 +03:00
Eugene Sandulenko 15a16e556c SWORD25: Implement persistence functions for soundengine
Now sound is properly saved/restored. Implemented savegame versioning.
Compatibility with old saves pertained.
2011-06-29 17:16:25 +03:00
Thierry Crozat 55a7bbf86a SWORD25: Change unknow handle error into a warning
Also add sanity checks when calling findHandle() in the SoundEngine.
This fixes an issue when functions of SoundEngine are called on a
sound that has already finished playing (the most common
occurrences are calls to isSoundPlaying()).
2011-06-26 18:40:31 +01:00
Eugene Sandulenko 32392c9430 SWORD25: Fixed bug with concurrent sounds. Reported by criezy 2011-06-26 17:36:53 +03:00
Eugene Sandulenko eb9b492ce7 SWORD25: Unstub more sound-related functions 2011-06-11 14:12:27 +03:00
Max Horn a0cba0a760 SWORD25: Fix warning 2011-06-10 22:15:47 +02:00
Eugene Sandulenko ca825e1dba SWORD25: Unstub SoundEngine::set/getVolume 2011-06-10 11:27:27 +03:00
md5 2d3ad096ab SWORD25: Fix compilation when libvorbis is not present 2011-05-13 21:09:31 +03:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Filippos Karapetis 00a0f8d15d SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
svn-id: r55462
2011-01-23 14:49:50 +00:00
Eugene Sandulenko c528765814 SWORD25: getSoundTime() is not used. Remove it.
svn-id: r55320
2011-01-19 07:40:30 +00:00
Max Horn e761f76653 SWORD25: Get rid of most of the 'kernel service/superclass' code
svn-id: r53835
2010-10-25 22:41:25 +00:00
Eugene Sandulenko 6629efc676 SWORD25: Enforced code formatting rules in rest of the engine
svn-id: r53626
2010-10-19 21:03:33 +00:00
Eugene Sandulenko 1e15d8efb7 SWORD25: Enforced code naming conventions in sfx/ and reservice.h
svn-id: r53390
2010-10-13 00:07:27 +00:00
Eugene Sandulenko 8582c1ad57 SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine
svn-id: r53380
2010-10-13 00:02:51 +00:00
Eugene Sandulenko b2003364ff SWORD25: Fix freeze with sound code. Now game is really playable.
svn-id: r53371
2010-10-12 23:57:45 +00:00
Eugene Sandulenko 08ce5575fa SWORD25: Put all sound-related debug output under debug flag.
svn-id: r53370
2010-10-12 23:57:26 +00:00
Eugene Sandulenko 38d84fd767 SWORD25: Further work on sound.
Have difficulties with understanding how mainmenu sound is stopped.
Currently it is not. Must be some trickery with object creation.

svn-id: r53367
2010-10-12 23:56:28 +00:00
Eugene Sandulenko 3e637a8341 SWORD25: Initial work on sound
svn-id: r53366
2010-10-12 23:56:07 +00:00
Eugene Sandulenko 951549a298 SWORD25: Fix hangup
svn-id: r53365
2010-10-12 23:55:44 +00:00
Eugene Sandulenko 573dafefbb SWORD25: Got rid of FMODExSound class
svn-id: r53364
2010-10-12 23:55:24 +00:00
Eugene Sandulenko b01994a53b SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.

svn-id: r53261
2010-10-12 22:59:01 +00:00
Eugene Sandulenko be44216e5c SWORD25: eliminated BS_ prefix in all but kernel/
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko ad5b74c9de SWORD25: Clean compile!
Under MinGW, with OpenGL and tinyxml.

svn-id: r53225
2010-10-12 22:38:23 +00:00
Eugene Sandulenko 47904bc7b2 SWORD25: Mass-astyle.
svn-id: r53222
2010-10-12 22:35:55 +00:00
Eugene Sandulenko 293bf95c01 SWORD25: Replacing headers with ScummVM ones plus original (C)
svn-id: r53188
2010-10-12 22:13:00 +00:00
Eugene Sandulenko 65da804f58 SWORD25: Path fixes for includes
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00