aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/music.cpp
AgeCommit message (Collapse)Author
2010-01-28Always try and load the associated digital track if the requested MIDI track ↵Filippos Karapetis
couldn't be found svn-id: r47631
2010-01-27Fixed the demo version of Longbow - speech was not played at all with the ↵Filippos Karapetis
new sound code svn-id: r47610
2010-01-27The two unknown fields point to the beginning and end of the sound sampleFilippos Karapetis
svn-id: r47601
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-26SCI: Add driver for Yamaha FB-01. Cleanup.Walter van Niftrik
svn-id: r47571
2010-01-26Removed the unnecessary fadeVolume variableFilippos Karapetis
svn-id: r47566
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-23Amiga SCI1 games had signed sound data. Fixes PQ3 AmigaFilippos Karapetis
svn-id: r47477
2010-01-23Added song manipulation debug commands: songinfo, startsound, togglesound ↵Filippos Karapetis
and stopallsounds. is_sample now works with the new sound code svn-id: r47475
2010-01-22- The reverb value is now obtained from the music driverFilippos Karapetis
- Implemented kSetReverb (0x50) and kResetOnPause (0x4C) svn-id: r47433
2010-01-21- Fixed pausing of all sounds in the playlistFilippos Karapetis
- Sounds are now paused correctly when opening/closing the debug console - Some cleanup svn-id: r47422
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19- Removed the resetDriver() hack. The reason why notes stopped being played ↵Filippos Karapetis
sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn) - Hooked setReverb() to actually set music reverb svn-id: r47392
2010-01-19Delete the inner music driver when MidiPlayer_AdLib() is destroyed, not in ↵Filippos Karapetis
close(), as MidiPlayer_AdLib() is closed and reopened inside SciMusic::resetDriver(). Fixes savegame loading and resetting the game svn-id: r47384
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-19Move raw audio streams to new header sound/raw.hMax Horn
svn-id: r47368
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-16SCI: CleanupWalter van Niftrik
svn-id: r47327
2010-01-16SCI: Fix rhythm channel handling in SCI0Walter van Niftrik
svn-id: r47326
2010-01-16Disabled code which causes crashes/and or oddities with MIDI in later SCI ↵Filippos Karapetis
games, from rev #47321 svn-id: r47324
2010-01-16SCI: Add support for earlier MT-32 patch formatWalter van Niftrik
svn-id: r47321
2010-01-14SCI: Add MIDI support. Currently only the later MT-32/GM patch type works.Walter van Niftrik
Support for the earlier MT-32 patch format will be added in the near future. svn-id: r47297
2010-01-13The pitch wheel is now properly reset when a song is unloadedFilippos Karapetis
svn-id: r47290
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-12SCI: Handle master volume inside music driversWalter van Niftrik
svn-id: r47261
2010-01-11New music code: Implemented sound stopping after fading, and disabled MIDI ↵Filippos Karapetis
sound volume fading, till we figure out what's wrong with fading in the Sierra logo screen in GK1 svn-id: r47252
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-09SCI: CleanupWalter van Niftrik
svn-id: r47194
2010-01-09SCI: CleanupWalter van Niftrik
svn-id: r47191
2010-01-09SCI: Move music device IDs to drivers.Walter van Niftrik
svn-id: r47190
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Fix unhandled case(s) in switch warning from g++.Johannes Schickel
svn-id: r47157
2010-01-08SCI: changed handling when unsupported sound type is selected, we are ↵Martin Kiewitz
switching to adlib or amiga sound then svn-id: r47156
2010-01-08SCI: Use adlib music by defaultWalter van Niftrik
svn-id: r47155
2010-01-07Premiliary adaption of SCI to use LoopingAudioStream. (This could really ↵Johannes Schickel
need some cleanup...) svn-id: r47136
2010-01-07SCI: releasing sample stream as well (thx to LordHoto)Martin Kiewitz
svn-id: r47115
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007