52 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
D G Turner
b17ca95569 TOUCHE: Remove Various Fixed Sized String Buffer Usage 2019-09-15 00:46:59 +01:00
Strangerke
2eee236c8d TOUCHE: Initialize some uninitialized variables, fix a lot of pointers and booleans default values 2014-05-25 22:04:03 +02:00
Johannes Schickel
4e4f51794b TOUCHE: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
D G Turner
8b379a5718 TOUCHE: Add generic music functions to wrap MidiPlayer usages.
This is a precursor to adding code within these functions to select
between MIDI and external digital music files.
2012-12-12 17:02:59 +00:00
Johannes Schickel
5669016225 TOUCHE: Fix playback of simultaneous sfx.
Since we stream the VOC files from disk now, we can not use the global
resource file handle for playback but instead need to open a new handle for
every SFX started.

Fixes odd noises at the beginning of the Touche demo.
2011-11-24 23:10:51 +01:00
Johannes Schickel
3e1405b939 AUDIO: Add default disposeAfterUse value to makeVOCStream again. 2011-10-09 21:24:06 +02:00
Johannes Schickel
221434a83f AUDIO: Remove unused makeVOCStream interface. 2011-10-09 21:23:29 +02:00
Julien
2f200ac493 ANALYSIS: Fix potential memory leak when using realloc
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer.
See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-23 15:11:36 +08: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
Johannes Schickel
16ac1290dd TOUCHE: Adapt to setPalette RGBA->RGB change.
This change was not tested, because I do not have any touche copy.
2011-02-14 17:08:33 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +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
Max Horn
f24cc1c8be Tweak makeVOCDiskStream
* now takes a SeekableReadStream *pointer* like (almost) all other
  audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency

svn-id: r48184
2010-03-08 10:27:42 +00:00
Johannes Schickel
fe35d372da - Rename FlacStream to FLACStream.
- Rename makeFlacStream to makeFLACStream.

svn-id: r47846
2010-02-03 09:42:11 +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
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Johannes Schickel
668f6e5de8 Adapt TOUCHE to use the new FLAC, Vorbis and MP3 factories (it didn't use any looping features anyway).
svn-id: r47066
2010-01-06 00:02:19 +00:00
Johannes Schickel
f5c3bd887e - Add a new SeekableAudioStream interface. Soon to be used to replace audio stream specific looping code by generic code in Mixer...
- Adapted some existing AudioStreams to implement that interface (not tested!)

svn-id: r47013
2010-01-05 02:27:24 +00:00
Travis Howell
4131d3d07f Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
svn-id: r36236
2009-02-07 05:05:14 +00:00
Gregory Montoir
edd61a4f40 add missing version check for compressed sound file
svn-id: r35005
2008-11-11 13:08:06 +00:00
Gregory Montoir
72d0be841f no need to assert here, just don't start playing the stream if read failed
svn-id: r29107
2007-09-26 19:20:59 +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
Gregory Montoir
79c67653b6 workaround for original game graphic glitch #1751170
svn-id: r28393
2007-08-01 20:59:59 +00:00
Gregory Montoir
38b282b313 renamed some fields for clarification
svn-id: r28184
2007-07-24 09:53:28 +00:00
Max Horn
11b2806741 Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway)
svn-id: r28110
2007-07-15 18:29:05 +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
67c9099c34 this should trigger invalid resource types loads, if that ever happens
svn-id: r26818
2007-05-13 02:07:54 +00:00
Max Horn
b3931a847d Trying to unify the order in which we try the various audio formats: Prefer FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM
svn-id: r25837
2007-02-24 23:40:28 +00:00
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +00:00
Gregory Montoir
c9cb0ca8bf removed preallocation of sprite tables (the previous values were taken from the original but it seems they can be lowered)
svn-id: r25351
2007-02-03 17:50:29 +00:00
Gregory Montoir
53d842f377 renamed an opcode, fixed an assert condition
svn-id: r25056
2007-01-08 12:39:31 +00:00
Gregory Montoir
d1ecb0122c got rid of an assertion triggered when trying to play a speech file after switching from silent mode to talk mode. Minor cleanup.
svn-id: r25010
2007-01-05 22:45:29 +00:00
Gregory Montoir
80dfce00a5 cleanup (added a few more constants, renamed some opcodes) and reverted my previous change to op_sleep.
svn-id: r24830
2006-12-10 00:41:45 +00:00
Gregory Montoir
60bac00314 cleanup
svn-id: r24825
2006-12-09 18:57:27 +00:00
Gregory Montoir
a77ae86c43 fixed bug #1602037 - TOUCHE: Map not shown correctly in Intro.
svn-id: r24779
2006-11-24 00:00:27 +00:00
Gregory Montoir
b373ab1a38 minor cleanup, _spritesTable is no more static
svn-id: r24777
2006-11-23 22:25:04 +00:00
Gregory Montoir
dd075b312f fixed palette glitches during introduction/on restart, cleanup
svn-id: r24728
2006-11-18 01:20:41 +00:00
Gregory Montoir
24df07d29d added handler for flag 618 (cursor display on/off) and workaround a palette glitch
svn-id: r24724
2006-11-15 22:35:45 +00:00
Gregory Montoir
c305f6f12c various fixes, Touche should now be completable without any major glitches
svn-id: r24672
2006-11-11 04:42:36 +00:00
Gregory Montoir
4e8d042e5c new menu code
workaround a possible scripting bug in introduction screen

svn-id: r24668
2006-11-10 20:48:52 +00:00
Gregory Montoir
f6f1dac199 cleanup
svn-id: r24654
2006-11-07 22:24:48 +00:00
Gregory Montoir
c9cb98291d some fixes, some cleanup
svn-id: r24644
2006-11-06 23:32:37 +00:00
Gregory Montoir
ec177bc6ce various fixes
svn-id: r24628
2006-11-05 22:24:15 +00:00
Gregory Montoir
424e9e362e enabled MIDI volume changes
svn-id: r24627
2006-11-05 13:00:20 +00:00
Gregory Montoir
102969f820 added basic MIDI playback
svn-id: r24617
2006-11-05 00:29:34 +00:00