Johannes Schickel
c31d1971b5
CINE: Implement music fade out for Amiga/AtariST music.
2012-09-11 22:28:40 +02:00
Johannes Schickel
b48f5b78b7
CINE: Implement panning for sfx for FW Amiga and AtariST.
2012-09-08 01:16:10 +02:00
Johannes Schickel
35e61b7c7a
CINE: Remove unused Sound::update method.
2012-09-08 01:16:09 +02:00
Johannes Schickel
c850effc6d
CINE: Implement sfx repeat and volume fade for FW Amiga/AtariST.
...
This fixes bug 3091660 "FW: Looping samples don't loop in Amiga version".
2012-09-08 01:16:07 +02:00
Johannes Schickel
b1074543b5
CINE: Skip resource header in loadSpl.
...
This implements a long standing TODO in PaulaSound::playSound.
2012-09-08 01:15:32 +02:00
Johannes Schickel
5d84f2df43
CINE: A little bit enforcement of our formatting guidelines.
...
Powered by astyle & manual fixup afterwards.
2012-09-07 04:12:18 +01:00
D G Turner
21c057ce75
CINE: Fix lockup in Scene 5 when "operate Girl" underwater.
...
Traced with gdb to sound.cpp:792 i.e. _fadeOutTimer infinite loop.
This bug was introduced by the addition of the MT-32 output driver for
Future Wars and associated mutex changes.
The _fadeOutTimer increment is done by the timer callback occuring
during the load method call, but this was excluded by the mutex.
Fixed by moving the mutex in the load method.
2012-08-11 20:08:03 +01:00
Johannes Schickel
9916d2e99c
CINE: Add some comments to the MT-32 instrument code.
2011-12-19 01:10:48 +01:00
Johannes Schickel
d14e75cdc7
CINE: Make findNote behave like in the original.
...
This also reverts 42fd697544
, which was wrong,
since I misread the assembly. Ooops.
2011-12-11 06:24:33 +01:00
Johannes Schickel
54819a5448
CINE: Fall back to AdLib, in case a user tries to use the MT-32 output with an GM device.
...
The driver is really specific to the Roland MT-32 right now, since it uses
MT-32 specific sysEx messages to setup instruments etc.
2011-12-11 05:11:28 +01:00
Johannes Schickel
6ba090b45a
CINE: Make PC sound code thread safe, since the MIDI output might run the callback in an extra thread.
2011-12-11 05:04:08 +01:00
Johannes Schickel
42fd697544
CINE: Make findNote behave a bit more like the original.
2011-12-11 05:04:04 +01:00
Johannes Schickel
c48af08a0b
CINE: Implement MT-32 output driver.
...
The driver is based on Future Wars. I do not own Operation Stealth, thus I do
not know whether it works fine for it.
2011-12-11 05:03:57 +01:00
Eugene Sandulenko
95f890c350
CINE: Fix warnings
2011-11-02 23:04:49 +00: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
David Turner
c9330fb79e
CINE: Close Memory Leak in PCSoundFxPlayer.
...
This leakage was reported by Valgrind while playing Operation Stealth.
svn-id: r55070
2010-12-31 09:07:44 +00:00
David Turner
7bc8fe8ef5
CINE: Fix Memory Leak in PCSoundFxPlayer.
...
Found this using Valgrind when loading a Future Wars savegame from the launcher.
Occurs since the load() method called stop() but this did not unload() the allocated playing
resource data unless it was still playing. Fixed in stop() by calling unload() in all cases.
svn-id: r55059
2010-12-29 09:53:58 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
a505d32eff
Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
...
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
1565f14bc1
Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
...
svn-id: r47579
2010-01-26 22:48:45 +00:00
Max Horn
4b996e7de7
Reorder params to Audio::makeRawMemoryStream
...
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
5ee6c79b5d
Convert more engines from Mixer::playRaw to Mixer::playInputStream
...
svn-id: r47377
2010-01-19 11:22:14 +00:00
Max Horn
557bb394de
Get rid of Mixer::FLAG_AUTOFREE.
...
Also fix several recently introduced new/delete vs. malloc/free mismatches.
svn-id: r47369
2010-01-19 00:56:29 +00:00
Johannes Schickel
0d995c5920
Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
...
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc .
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)
This commit does not touch "adlib" and "ADLIB" uses!
Also it does not update all the SCUMM detection entries, which still use "Adlib".
svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
f720d99b0a
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
...
svn-id: r47182
2010-01-08 22:09:43 +00:00
Gregory Montoir
1da48cfd55
fixed OPL 0xB0 register write. the return value of findNote() already includes the octave, no need to readd it.
...
svn-id: r41704
2009-06-20 10:52:55 +00:00
Kari Salminen
f055cf5c3e
Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything.
...
svn-id: r33935
2008-08-16 11:38:43 +00:00
Kari Salminen
582104752b
Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' Valgrind warning at sound.cpp:611.
...
svn-id: r33812
2008-08-12 23:56:13 +00:00
Christopher Page
17b0144402
CINE: Fixed two memory leaks when shutting down the CINE engine
...
svn-id: r32332
2008-05-27 23:26:48 +00:00
Eugene Sandulenko
732774fd8d
Patch #1913862 : "CinE Script system"
...
svn-id: r31444
2008-04-07 20:24:40 +00:00
Gregory Montoir
e1b73e47f8
use CLIP template for clipping, made an array static const and renamed MAX_OBJECTDATA to MAX_VAR
...
svn-id: r29853
2007-12-13 19:07:10 +00:00
Filippos Karapetis
8b7f3fae35
Cleanup
...
svn-id: r29844
2007-12-13 12:33:31 +00:00
Gregory Montoir
a94fada0ae
- minor screen fix for OS
...
- added new debug channel for sound
- updated 2 opcodes comments
svn-id: r29790
2007-12-09 13:41:59 +00:00
Gregory Montoir
6ef7e37488
reverted parts of commits #29447 and #29446 (caused regressions in ADL music playback) and properly (I hope) fixed the sound issues described in tracker item #1763053 .
...
svn-id: r29766
2007-12-08 15:24:42 +00:00
Eugene Sandulenko
604be3107e
Patches #1773489 : "FW: Fixes for German Amiga Version"
...
svn-id: r29446
2007-11-07 22:28:01 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Gregory Montoir
e0159324cc
some fixes for the music in Amiga OS Demo
...
svn-id: r26886
2007-05-20 11:50:06 +00:00
Gregory Montoir
bde5404a4e
added basic support for Amiga music playback
...
svn-id: r26870
2007-05-19 12:08:41 +00:00