aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/music.cpp
AgeCommit message (Collapse)Author
2010-05-27SCI: disabling music fading again, but only for sci32 - drivers seem to have ↵Martin Kiewitz
issues when fading in on gk1/sierra logo svn-id: r49271
2010-05-27SCI: enabling fading again, issues in pharkas and gk1demo are actually ↵Martin Kiewitz
"normal" - maybe we should add some hack workaround, but the delay in ssci was just slow resource loading svn-id: r49269
2010-05-27SCI: fixing resuming samples - fixes hang when ship is flying away happening ↵Martin Kiewitz
when you entered menu during that sequence svn-id: r49261
2010-05-25SCI: dont lock mutex in pauseAll(), isn't needed anyway - fixes deadlock in sq4Martin Kiewitz
svn-id: r49214
2010-05-24SCI: only remove isQueued status for sound sci0Martin Kiewitz
svn-id: r49187
2010-05-24SCI: remove isQueued status when sound gets stopped - fixes iceman resuming ↵Martin Kiewitz
music when entering hotel complex (with bar) right at the start svn-id: r49186
2010-05-23SCI: use priority when queuing up music in sound sci0 -> fixes lsl3 jingle ↵Martin Kiewitz
issues svn-id: r49156
2010-05-20SCI: fix regression of r49109 - only queue up midi soundsMartin Kiewitz
svn-id: r49114
2010-05-19SCI: sound code now queues up music in sci0, wip-code: not reacting on ↵Martin Kiewitz
priority yet - fixes iceman room 14 svn-id: r49109
2010-05-19SCI: cleanup soundcode - number renamed to resourceId, prio renamed to priorityMartin Kiewitz
svn-id: r49098
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-06Add detection entry for KQ5 Mac. Also, make Mac and Amiga SCI1_EGA+ games ↵Matthew Hoops
default to MIDI as we don't (yet) support their patches. KQ5 Mac will start and go until the main menu. svn-id: r47924
2010-02-03Fixed the hang with the new music code after the copy protection in Island ↵Filippos Karapetis
of Dr. Brain svn-id: r47870
2010-02-02Use MIDI by default for SCI32. Fixes the GK2 demo.Matthew Hoops
svn-id: r47819
2010-02-02SCI: Abort when sound driver fails to open.Walter van Niftrik
svn-id: r47807
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-30SCI: Do not prefer MIDI drivers, as MT-32 to GM mapping is still lacking.Walter van Niftrik
svn-id: r47711
2010-01-29Always prefer MIDI drivers over the other onesFilippos Karapetis
svn-id: r47677
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