90 Commits

Author SHA1 Message Date
Johannes Schickel
616e4626f5 Since AudioStream looping is no longer handled by the Mixer, drop Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream).
svn-id: r47160
2010-01-08 16:27:29 +00:00
Johannes Schickel
b47725540f Cleanup.
svn-id: r47133
2010-01-07 17:04:32 +00:00
Johannes Schickel
d5fe29c3c9 Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
2010-01-07 16:34:56 +00:00
Torbjörn Andersson
b6ca638180 Create the stream dynamically in playSoundData(), to avoid a crash (spotted by
salty-horse) when makeWAVStream() deletes it.

svn-id: r46676
2009-12-28 15:53:13 +00:00
Max Horn
6a2985ba08 Patch #2834677: Wave/ADPCM Endianness Fixes
svn-id: r45095
2009-10-14 22:37:05 +00:00
Travis Howell
0630c20722 Fix regression, that caused multiple sounds in Simon the Sorcerer 2 to be cut off.
svn-id: r43400
2009-08-15 10:09:32 +00:00
Neil Millstone
a135a7f938 Allow VOCs to stream from disk. Disabled by default, use symbol STREAM_AUDIO_FROM_DISK to enable. See patch #2834001.
svn-id: r43357
2009-08-13 21:46:41 +00:00
Travis Howell
42bb8b95be Fix the car chase scene in PN.
svn-id: r40299
2009-05-04 09:17:31 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Travis Howell
f9d0d2a44a Add/Update comments.
svn-id: r36094
2009-01-27 03:26:51 +00:00
Travis Howell
f002e06fe0 Add looping support to makeVOCStream().
svn-id: r36093
2009-01-27 03:21:05 +00:00
Max Horn
8e447d1ee9 Extended makeWAVStream by a 'disposeAfterUse' param; changed makeWAVStream to directly return the AudioStream created by makeADPCMStream
svn-id: r36085
2009-01-27 00:42:43 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Christopher Page
6bebff8ab0 Fixed a memory leak in Agos
svn-id: r33852
2008-08-14 00:26:57 +00:00
Travis Howell
84ce12cd1e Fix bug #1932150 - SIMON1: Sousaphone Bug.
svn-id: r31527
2008-04-17 06:33:03 +00:00
Max Horn
c8ce5b1865 Changed Audio::makeADPCMStream so that the stream passed to it can automatically be disposed
svn-id: r29517
2007-11-16 10:05:18 +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
f4c0b853cc Fixed sound factory messup caused by my previous commit
svn-id: r28111
2007-07-15 19:24:00 +00:00
Travis Howell
574f687c85 Fix adjusting music volume in Puzzle Pack games.
svn-id: r27269
2007-06-10 01:08:15 +00:00
Travis Howell
8dc7accf2d Fix single sound effect, failing to play multiple times regression, caused by changes for PP in the past.
svn-id: r27267
2007-06-10 01:05:55 +00:00
Travis Howell
06aa0fb25e Fix pausing sound effects in earlier games.
svn-id: r27150
2007-06-06 23:48:07 +00:00
Max Horn
4481238faa Fixed serious memory leak in AGOS engine (sound looping code was leaking)
svn-id: r27065
2007-06-03 15:55:07 +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
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +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
7949a067e1 Removed extra tabs.
svn-id: r25640
2007-02-17 00:54:32 +00:00
Max Horn
cb49cbdd45 * Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer

svn-id: r25356
2007-02-03 19:05:53 +00:00
Travis Howell
82cc1db794 Revert audiostream changes for VOC sound, due to sgin differences in Amiga CD32 verison of Simon 1.
svn-id: r25220
2007-01-27 01:07:12 +00:00
Travis Howell
ea9ae8af0d Add volume support for music in swampy
svn-id: r24966
2007-01-01 11:29:20 +00:00
Travis Howell
66249c651e Add eriktorbjorn's patch for secondary sound looping in swampy, with minor changes for uncompressed sounds.
svn-id: r24965
2007-01-01 09:58:00 +00:00
Travis Howell
cbe3cb850c Cleanup
svn-id: r24963
2007-01-01 05:44:34 +00:00
Torbjörn Andersson
3f0f9045aa Tiny whitespace changes.
svn-id: r24907
2006-12-20 20:10:37 +00:00
Travis Howell
2381b229ff Only stop the required sound channel, when switching sound files
svn-id: r24335
2006-10-15 08:08:50 +00:00
Travis Howell
c028323a29 Add extra video opcodes for Elvira 1 demo
svn-id: r24315
2006-10-14 14:29:14 +00:00
Travis Howell
996a1adf80 Fix stopping of music in PP
svn-id: r24304
2006-10-14 05:47:18 +00:00
Travis Howell
ca620f02f3 Add sound effects support for early games
svn-id: r24300
2006-10-14 01:15:28 +00:00
Torbjörn Andersson
02fb079d0b Added support for playing looped compressed sounds, so that Puzzle Pack can
play music properly, even if the music file has been compressed. I've only
actually tested this with Ogg Vorbis sounds, but I've deliberately written it
so that it should work identically for all the compression types. (Famous last
words.)

svn-id: r24288
2006-10-13 05:06:53 +00:00
Travis Howell
b18fdb4c0a Remove sound hacks for DS port, which would cause no speech or subtitles in Simon 1 with speech
svn-id: r24117
2006-10-05 00:16:50 +00:00
Eugene Sandulenko
bb1547ab1c Phase 5 of Simon engine renaming. Renamed namespace Simon -> AGOS and
SimonEngine -> AGOSEngine.

Source is compilable and runnable again. I'm done.

svn-id: r24013
2006-09-29 09:44:30 +00:00
Eugene Sandulenko
798c7ee682 Phase 2 of Simon renaming. Simon directory renaming
svn-id: r24009
2006-09-29 08:37:24 +00:00