24 Commits

Author SHA1 Message Date
Thierry Crozat
902b191266 MADE: Fix static noise when playing sounds
This was a regression introduced in commit 298ea1a.
This fixes bug #9753.
2017-09-07 00:52:50 +01:00
Eugene Sandulenko
4d4a5837bf MADE: Initialize delta sound buffer 2016-05-09 12:57:27 +02:00
Eugene Sandulenko
298ea1a76e MADE: Cleanup 2016-05-02 15:19:08 +02:00
Eugene Sandulenko
62142e5add MADE: Plug memory leak 2016-05-02 15:19:08 +02:00
Willem Jan Palenstijn
0fbf90d14c MADE: Fix overflow in audio interpolation
The interpolation code for deltaType > 0 read past the end of the
workChunkSize-sized filled area of the buffer (which matches what MADE
did, as far as I can tell). Avoid this by repeating the last value.
2015-07-19 20:27:19 +02:00
Willem Jan Palenstijn
1a4f477d61 MADE: Fix movie audio glitches caused by reset of audio decoder
The sound buffer used in decompressSound() is now stored so that
it can be re-used in the next call of decompressSound, specifically
in chunk type 1.

This caused some clicking/static in the intro of Return to Zork.

Thanks to eriktorbjorn for noticing the glitch and writing most of the patch.
2015-07-19 20:26:50 +02:00
Johannes Schickel
5b70d34479 MADE: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Strangerke
86231d14d5 MADE: Janitorial - Fix spacing errors 2013-11-24 19:17:18 +01:00
Johannes Schickel
7b126c5f24 MADE: Minimize #include usage. 2011-10-09 22:58:37 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02: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
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Benjamin Haisch
6297561f7c - Implemented sound decompression for Manhole EGA
svn-id: r36048
2009-01-25 01:58:16 +00:00
Benjamin Haisch
5b8105afb3 - Added support for The Manhole EGA version
- Support for 'chunked' picture resources and EGA pictures
- Improved the mouth sync in RtZ (still not perfect, though)
- Removed obsolete TODOs
- Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie

svn-id: r35997
2009-01-22 13:04:29 +00:00
Filippos Karapetis
470b07004a Added a possible FIXME
svn-id: r35846
2009-01-13 16:57:59 +00:00
Benjamin Haisch
78776638d3 Reworked the sound energy code
svn-id: r35845
2009-01-13 16:18:22 +00:00
Filippos Karapetis
ef78bbdf0d The sound energy buffer is now cleared inside decompressSound()
svn-id: r35753
2009-01-06 13:09:16 +00:00
Filippos Karapetis
de7721c638 Sound energy values are now stored in a list, to account for the fact that the original decompressed sounds on the fly, but we're decompressing them when the sound is being loaded
svn-id: r35752
2009-01-06 12:33:59 +00:00
Paul Gilbert
e2463f77cd Changed sfGetSoundEnergy to use the correct soundEnergy value from decompressing sounds for proper lip-sync
svn-id: r35751
2009-01-06 10:40:38 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Benjamin Haisch
4bcf3ab823 (Poissbly) fixed sound glitches due to a non-implemented decoding variant.
svn-id: r31716
2008-04-25 11:02:37 +00:00
Filippos Karapetis
4e62a13a67 Performed some optimizations to the PMV player
svn-id: r31644
2008-04-21 16:52:09 +00:00
Torbjörn Andersson
7e07dd5ec7 Changed spaces to tabs.
svn-id: r31610
2008-04-20 15:36:40 +00:00
Filippos Karapetis
d0590a09ea Initial import of the work in progress MADE engine
svn-id: r31599
2008-04-20 14:43:56 +00:00