14 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Coen Rampen
36d395b2d1 CGE2: Stop current SFX before loading a new one
When loading a sound effect, the engine would deallocate the memory for the
currently playing sound effect, and stop playback afterwards. This commit
changes this to stop playback first, and then deallocate and load the new
sound effect.

This should fix the problem with the mixer accessing deallocated memory
reported in issue #12852.
2021-08-31 23:31:54 +02:00
Tomasz Długosz
eaab877d66 JANITORIAL: fix the name of original author of cge and cge2
The first name is Janusz, not Janus.
The correct name was used in AUTHORS and credits.
In case of doubts, see his personal webpage: https://www.jbw.pl/ - name is in the page footer
2020-04-18 20:59:57 +02:00
Bastien Bouclet
db347350a5 CGE2: Remove duplicate override keywords 2020-02-09 12:58:14 +01:00
Bastien Bouclet
8b2902539e CGE2: Add override keywords 2020-02-09 12:43:14 +01:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Strangerke
751183a269 CGE2: Silent a CppCheck warning 2015-11-27 15:06:10 +01:00
uruk
c247125469 CGE2: Rename _soundHandle to _sfxHandle. 2014-08-13 20:35:31 +02:00
uruk
fca11e77f8 CGE2: Get rid of more unused variables. 2014-07-28 16:29:51 +02:00
uruk
7c65aa7aec CGE2: Repair/rename checkSoundHandle(). 2014-07-24 19:44:09 +02:00
uruk
ff97d52d72 CGE2: Distinguish SFX from speech when playing sounds.
Now the sound options of ScummVM are taken into account when playing these two types of sounds. Until now, everything was considered SFX sound.
2014-07-24 18:55:09 +02:00
uruk
def6b4fc3e CGE2: Add and use Sound::checkSoundHandle(). 2014-07-22 18:54:48 +02:00
uruk
3c86aa288b CGE2: Implement snSound().
Rework the whole Fx class during the process.
The intro animation is working now.
2014-05-24 10:47:07 +02:00
uruk
8e3bbbea7c CGE2: Add sound code with working MIDI parts. 2014-05-01 22:52:20 +02:00