Eugene Sandulenko
0dafa7f80f
ALL: Reduce audio/ header dependency
2011-08-06 11:30:42 +01: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
dhewg
562e502d78
CRUISE: Cleanup syncSoundSettings()
...
And init volume levels on startup
2011-03-19 16:04:50 +01:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
David Turner
e48930c16e
CRUISE: Fix Memory Accesses Errors and Leaks Reported By Valgrind
...
Most of these fixes are fairly simple, though the clamping of ArrayStates accesses in object.cpp _might_ cause regressions. None are obvious on basic playtest check, but the game will need a full playtest.
svn-id: r54408
2010-11-21 12:05:15 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +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
Paul Gilbert
df3fbd432d
Further memory leak fixes
...
svn-id: r44861
2009-10-10 04:15:38 +00:00
Paul Gilbert
8694b48ae3
Set up a basic tracing system for all memory allocations to help track down memory leaks
...
svn-id: r44808
2009-10-09 08:15:30 +00:00
Paul Gilbert
1cf0eb1727
Bugfix to correctly reset the music tempo when loading a savegame
...
svn-id: r43023
2009-08-03 09:28:06 +00:00
Paul Gilbert
f9298ff403
Made the music/sfx volume settings actually affect the in-game music/sfx volume
...
svn-id: r41975
2009-06-30 10:36:50 +00:00
Paul Gilbert
510700b086
Bugfixes to keep sound effects to channel #4 like the original (it ignores the channel parameter to the given library routine)
...
svn-id: r41787
2009-06-23 01:01:16 +00:00
Paul Gilbert
4f631e9a89
Removed redundant variation of the routine to play sound effects
...
svn-id: r41763
2009-06-22 10:41:32 +00:00
Paul Gilbert
640f322194
Added the dummy volume variable to the savegame format
...
svn-id: r41749
2009-06-22 06:35:08 +00:00
Paul Gilbert
8dfbd0f845
Implemented the Op_SetVolume method like the original, which simply set a dummy variable and never actually changed the volume
...
svn-id: r41748
2009-06-22 06:17:50 +00:00
Paul Gilbert
b14fa66f9f
Minor fixes to the individual note playing code
...
svn-id: r41726
2009-06-21 11:53:11 +00:00
Paul Gilbert
4f622ab295
Added proper saving of music state to savegames so music resumes when a savegame is loaded.
...
svn-id: r41702
2009-06-20 08:15:01 +00:00
Paul Gilbert
8cda2728eb
Finally tracked down the difference/bug in the music playing code - music playback now works
...
svn-id: r41700
2009-06-20 06:48:47 +00:00
Paul Gilbert
9651257a3e
Removed redundant code that isn't used
...
svn-id: r41630
2009-06-18 11:37:45 +00:00
Johannes Schickel
5f5faf71c5
Fix unused variable warning.
...
svn-id: r41507
2009-06-14 11:08:35 +00:00
Paul Gilbert
2f3e5f11cb
Beginnings of music support for Cruise, based on the cine engine sound code (note that the music played isn't yet correct, though)
...
svn-id: r41506
2009-06-14 03:39:30 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn
42cd218400
Improved Common::Serializer in several ways:
...
* Added support versioned serialization
* Added a convenience API for handling 'magic IDs' transparently
* Exposed the err()/clearErr() methods of the underlying streams
* Added a basic unit test for versioned loading (more should be added, in particular for saving)
* Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size)
svn-id: r40723
2009-05-19 11:23:13 +00:00
Torbjörn Andersson
9c18a12fa0
Fixed what looks like an obvious error in loadSong() that Valgrind caught.
...
svn-id: r40504
2009-05-12 19:24:11 +00:00
Paul Gilbert
d90a343790
Created stub manager class for sound effects
...
svn-id: r39856
2009-04-05 07:51:31 +00:00
Johannes Schickel
bf94fc6e4e
Fix warnings.
...
svn-id: r39790
2009-04-01 14:00:17 +00:00
Paul Gilbert
f0456d67a8
Laid the basics for music handling
...
svn-id: r39788
2009-04-01 11:03:06 +00:00