aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/music.cpp
AgeCommit message (Collapse)Author
2010-01-19Rename 'Linear' audio streams to 'raw'Max Horn
svn-id: r47367
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ 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-10Fix a memory leak.Johannes Schickel
svn-id: r47227
2010-01-10- Add a SubLoopingAudioStream, which loops a nested part of a stream and ↵Johannes Schickel
thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226
2010-01-08Since AudioStream looping is no longer handled by the Mixer, drop ↵Johannes Schickel
Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream). svn-id: r47160
2010-01-06- Move openStreamFile from AudioStream to SeekableAudioStream.Johannes Schickel
- Fix documentation of openStreamFile. svn-id: r47080
2010-01-06Adapt SAGA to use Mixer::playAudioStreamLooping instead of relying the ↵Johannes Schickel
depracted in AudioStream looping support. svn-id: r47063
2009-12-04refactor resource module:Andrew Kurushin
- struct ResourceContext => class ResourceContext - replace "*alloc","free" with array templates - simplify createContexts routines svn-id: r46254
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-08-17Put back the code for playing external digital music, used by the MIDI ↵Filippos Karapetis
enhancement project, which was removed in rev. #43480 svn-id: r43485
2009-08-17Slight cleanup to makeLinearDiskStream interface.Johannes Schickel
svn-id: r43481
2009-08-17- Removed the custom DigitalMusicInputStream used in SAGA for the digital ↵Filippos Karapetis
music in ITE CD and replaced it with the common LinearDiskStream class - Removed leftover code which plays standalone tracks (it's not used anywhere) svn-id: r43480
2009-03-08- Reworked the different file types a bitFilippos Karapetis
- Some initial work on Dinotopia's intro sequence svn-id: r39234
2009-01-04Got rid of explicit game sound infoFilippos Karapetis
svn-id: r35727
2009-01-04Improved handling of sound resourcesFilippos Karapetis
svn-id: r35724
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-25Made Engine::_timer protectedMax Horn
svn-id: r35543
2008-12-22- Split the SAGA resource manager in 3 different ones, depending on the ↵Filippos Karapetis
resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub - Added detection for the voice file of FTA2 svn-id: r35484
2008-12-21Cleaned up the mess with game IDs and game types: removed game types, ↵Filippos Karapetis
reduced the game IDs and added game features where necessary svn-id: r35467
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-11-11Implemented pauseEngineIntern() for the SAGA engineFilippos Karapetis
svn-id: r35007
2008-09-30SAGA: Some code cleanupMax Horn
svn-id: r34703
2008-09-30Added multiple new open() methods to Common::File, which make it possible to ↵Max Horn
use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName() svn-id: r34696
2008-09-05Hopefully fixed the chaos with the SAGA volume values. This also fixes the ↵Filippos Karapetis
broken volume introduced with the introduction of the RTL code in the engine svn-id: r34349
2008-09-01Merging more of the GSoC 2008 RTL branch: SAGAMax Horn
svn-id: r34252
2008-08-20I believe the setVolume() function has to be guarded by a mutex. (I added ↵Torbjörn Andersson
this to the Tinsel engine a while back to fix mysterious problems, but forgot to add it elsewhere.) Maybe this will fix the mysterious IHNM crashes, as well? svn-id: r34048
2008-07-01Sound settings for Saga can be configured from the GMMChristopher Page
svn-id: r32863
2008-05-26Code cleanup:Filippos Karapetis
- Removed sagaresnames.h - Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP) - Moved all resources which were used by the ITE intro into ite_introproc.cpp - Removed several defines which were only used once (e.g. the SFX names) - Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end - Updated the comment about the IHNM Mac music - Changed the callocs in loadPalAnim to mallocs, like in the rest of the code - Removed the MEM error svn-id: r32282
2008-04-05Simplify codeEugene Sandulenko
svn-id: r31409
2008-04-05Added code to load (but NOT play) the external music files in the Macintosh ↵Filippos Karapetis
version of IHNM. I believe that the music in the Mac version is in TFMX format, which is not supported yet svn-id: r31408
2008-04-05Added detection for IHNM Mac. Gampe plays, but sound and music is a big TODOEugene Sandulenko
svn-id: r31403
2008-02-24Removed 2 unnecessary calls to File::exists()Filippos Karapetis
svn-id: r30952
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2008-01-04Slight cleanupFilippos Karapetis
svn-id: r30217
2007-12-13Use CLIP template for clipping in the SAGA engineFilippos Karapetis
svn-id: r29855
2007-10-31Fix for bug #1800147 - "ITE: Scummvm exits with Audio warnings"Filippos Karapetis
svn-id: r29345
2007-09-23Moved MemoryStreamEndian from Saga to Common.Eugene Sandulenko
svn-id: r29038
2007-09-19Removed a variable initialization out of a while loopFilippos Karapetis
svn-id: r28959
2007-09-02I believe this fixes part of the music fading glitch in IHNM, but there's stillTorbjörn Andersson
a slight problem when the intro fades the music down. Just before starting the new music, the old music is briefly set back to normal volume again. This could be a script bug, but I haven't investigated it any further. svn-id: r28833
2007-09-01Remove the timer callback when the Music object is deleted.Torbjörn Andersson
svn-id: r28783
2007-08-26Compressed digital music in the ITE demo versions is played correctly nowFilippos Karapetis
svn-id: r28752
2007-08-22Implemented music pause and resumeFilippos Karapetis
svn-id: r28698
2007-08-22Mutexes are now used in the MIDI music playing codeFilippos Karapetis
svn-id: r28697
2007-08-22Implemented Music::stopFilippos Karapetis
svn-id: r28695
2007-07-31Cleanup: removed dead code, fixed some comments and did some layout changesFilippos Karapetis
svn-id: r28362
2007-07-31Music should not be played after changing scene if it's disabled from the ↵Filippos Karapetis
options svn-id: r28347
2007-07-30Music works now in the IHNM demoFilippos Karapetis
svn-id: r28332
2007-07-17Possible fix for bug 1754613, part 2: changed the way compressed digital ↵Filippos Karapetis
music is detected svn-id: r28127