152 Commits

Author SHA1 Message Date
Paul Gilbert
680ef79726 TSAGE: Implemented title screen of Blue Force 2011-08-07 23:14:09 +10:00
Alyssa Milburn
72160f53aa TSAGE: Remove incorrect endian-specific read in audio code. 2011-08-06 17:57:34 +02:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Paul Gilbert
4c89f4ac22 TSAGE: Fix compilation on AmigaOS4 2011-08-06 17:48:37 +10:00
Paul Gilbert
5f2402bd36 TSAGE: Fix incorrect sample data being used in _soPlaySound2.
This fixes the playback of the Intruder Alert message in Scene #95.
2011-08-04 08:35:24 +10:00
Paul Gilbert
8f70ee9afc TSAGE: Wait for fading sounds to completely fade when changing scenes 2011-08-01 22:36:21 +10:00
Paul Gilbert
78c4675c92 TSAGE: SoundBLaster method #38 now actually updates the channel volume 2011-08-01 19:45:49 +10:00
Paul Gilbert
61472ad2c5 TSAGE: Shift mutex locking to resolve a deadlock issue 2011-08-01 19:33:04 +10:00
Paul Gilbert
5e726f6043 TSAGE: Tweaks to better detect when a playing sound effect has ended 2011-07-30 19:18:00 +10:00
Paul Gilbert
9f00f18e4e TSAGE: Explicitly call the mixer stopAll() when shutting down 2011-07-29 20:08:56 +10:00
Paul Gilbert
c1870551b0 TSAGE: Renamed AdlibFxSoundDriver to a more accurate SoundBlasterDriver 2011-07-29 20:05:02 +10:00
Paul Gilbert
95b49a4cc3 TSAGE: Removed no longer needed fields from the Fx sound driver 2011-07-29 19:57:29 +10:00
Paul Gilbert
53e5522e5a TSAGE: Fixed a problem with only the first Fx sound being played 2011-07-28 21:36:15 +10:00
Paul Gilbert
30005b450b TSAGE: Clarified some method names in the sound code 2011-07-28 20:42:29 +10:00
Paul Gilbert
0034257976 TSAGE: Sound Fx is now playing 2011-07-28 07:30:42 +10:00
Paul Gilbert
034bbde204 TSAGE: Fix problem with sound Fx start method being called multiple times 2011-07-28 07:30:41 +10:00
Paul Gilbert
a877167bfe TSAGE: Beginning of implementation of Fx method #32 2011-07-27 19:39:27 +10:00
Paul Gilbert
77908a9357 TSAGE: Re-factored sound driver method #32 with extra parameters needed by Sound Fx driver 2011-07-25 21:30:17 +10:00
Paul Gilbert
d6422468a9 TSAGE: Reverted to using a single thread for audio playback 2011-07-24 21:25:00 +10:00
Paul Gilbert
ad181a810c TSAGE: Replace usage of deprecated Adlib OPL functions 2011-07-04 19:14:39 +10:00
Paul Gilbert
a5b0792295 TSAGE: Remove outdated extra channel variable 2011-07-02 19:54:39 +10:00
Paul Gilbert
d1a30b41b1 TSAGE: Linked in the (in progress) SoundBlaster Fx class 2011-07-02 13:51:05 +10:00
Paul Gilbert
ab7fdccc3b TSAGE: Beginnings of SoundBlaster sound driver 2011-07-02 10:39:57 +10:00
Paul Gilbert
6cea946f16 TSAGE: Separated the sound manager processing into it's own thread
This will be necessary with the introduction of the Sound FX driver, since the sound manager will do the processing for both drivers, but each will need to do their own output in their AudioStream thread
2011-06-27 22:56:14 +10:00
eriktorbjorn
c6a1051c3d TSAGE: Silence GCC warnings 2011-06-26 09:06:25 +02:00
Paul Gilbert
fa97da864a TSAGE: Several bugfixes for sound output to match the original 2011-06-26 10:00:40 +10:00
Paul Gilbert
13aa8fa79f TSAGE: Fix for properly initialising the _voiceTypeStructPtrs array 2011-06-26 10:00:39 +10:00
eriktorbjorn
77440aadf4 TSAGE: Silence GCC warnings. 2011-06-23 17:29:34 +02:00
Paul Gilbert
97137e6b27 TSAGE: Added saving/restoring of playing sounds to savegames 2011-06-23 20:11:51 +10:00
Paul Gilbert
69290ef7ae TSAGE: Remove out of date TODO comments where applicable 2011-06-22 19:13:36 +10:00
Paul Gilbert
f67f069e3f TSAGE: Fix sounds not getting registered in Globals::_sounds
This fixes a problem in Scene 20 where the scene wasn't ending after a sound fade
2011-06-22 18:58:59 +10:00
Paul Gilbert
45e1d7aa0d TSAGE: Bugfix for sound assert in scene 20 2011-06-22 18:31:32 +10:00
Paul Gilbert
36526ef954 TSAGE: Bugfix for properly stopping playing sounds 2011-06-21 22:42:20 +10:00
Paul Gilbert
8aa368fe55 TSAGE: Fix updating the volume when changed in the Options dialog 2011-06-21 21:42:42 +10:00
Paul Gilbert
fd84b04614 TSAGE: Fixes for sound fading 2011-06-21 19:44:22 +10:00
Paul Gilbert
12fc332242 TSAGE: Fix for un-used variable in _sfRethinkVoiceTypes 2011-06-21 18:50:56 +10:00
Paul Gilbert
fcab88634d TSAGE: Replaced integer counters used as mutexes with Common::Mutex usage 2011-06-20 23:02:59 +10:00
Paul Gilbert
0d485d2822 TSAGE: Loop variables are meant to be integers rather than bools 2011-06-20 22:33:55 +10:00
Paul Gilbert
adb40844d8 TSAGE: Bugfix for crash when exiting whilst a sound is playing 2011-06-20 21:42:30 +10:00
Paul Gilbert
7c733a538c TSAGE: Sound is now working! 2011-06-20 21:30:20 +10:00
Paul Gilbert
c22f824bed TSAGE: Corrections to the sound fading code 2011-06-20 21:09:39 +10:00
Paul Gilbert
f8e0ff86c7 TSAGE: Bugfix for properly decrementing _disabledServerCount 2011-06-20 19:57:33 +10:00
Paul Gilbert
123f2416d8 TSAGE: Initial implementation of AudioStream interface for sound driver 2011-06-20 19:44:57 +10:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Paul Gilbert
85e4e2933a TSAGE: Fix signalling an action when a song stops 2011-06-19 23:21:02 +10:00
eriktorbjorn
0efea76fff TSAGE: Silence GCC warnings (hopefully without breaking anything)
There is one remaining warning about 'maxPriority' being set but
not tested in one of the loops in _sfRethinkSoundDrivers(), but
I'm uncertain about that one. Looks like it could be an actual
engine bug.
2011-06-19 15:13:49 +02:00
Paul Gilbert
cc63cbcf5f TSAGE: Cleaned up the write() method 2011-06-19 20:17:47 +10:00
Paul Gilbert
4de14b0dbc TSAGE: Fixed problem with number of voices not being reset 2011-06-19 13:30:29 +10:00
Paul Gilbert
7428e646d5 TSAGE: Minor bugfix to sound fading code 2011-06-16 23:30:15 +10:00
Paul Gilbert
15bc708610 TSAGE: Bugfix for _sfRethinkVoiceTypes type 1 handling 2011-06-16 22:00:33 +10:00