aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
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: reenabling "stopAllSounds" code disabled in r49101 - isn't called ↵Martin Kiewitz
anymore since priority is honored so it may have been right after all svn-id: r49158
2010-05-23SCI: fix regression of r49156 - if multiple songs are stored for ↵Martin Kiewitz
resume-play, use the last one - fixes iceman wrong music played after going through door in room 14 - still not sure about this, added fixme svn-id: r49157
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: updated comment on kDoSound(12)Martin Kiewitz
svn-id: r49108
2010-05-19SCI: removed cmdStopAllSounds(), can't be right - added FIXME - fixes iceman ↵Martin Kiewitz
room 14 music stopping within 1-2 seconds svn-id: r49101
2010-05-19SCI: cleanup soundcode - number renamed to resourceId, prio renamed to priorityMartin Kiewitz
svn-id: r49098
2010-05-18SCI: set signal on fadeOut and also set signal when fade is requested but ↵Martin Kiewitz
sound is not playing (& show warning in that case) - fixes iceman hang after fireworks in room 14 svn-id: r49087
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-11SCI: remove unneeded _mutex lock to fix deadlock issueMartin Kiewitz
svn-id: r49006
2010-05-10SCI: set signal to SIGNAL_OFFSET, when a music slot is played that doesn't ↵Martin Kiewitz
contain supported data - fixes lsl5 mud wrestling "regression" in new music/sound code (worked before with old music/sound engine) svn-id: r49000
2010-05-03SCI: set signal in SCI0/SCI01 games, when samples have been played only. ↵Martin Kiewitz
fixes sq3 guys from andromeda, but also doesn't screw up music in sq3new/kq1 - added comments about this issue svn-id: r48918
2010-05-03SCI: reverting r48805 - caused regression in sq3new/kq1Martin Kiewitz
svn-id: r48915
2010-05-03SCI: copying over compressed audio (mp3/ogg/flac) buffers, because ↵Martin Kiewitz
resourcemanager may free the memory at any time - fixes pseudo-random crashes - also added several assert()s after multiple malloc()s svn-id: r48912
2010-05-03SCI: calculate sampleLen for WAVEs as wellMartin Kiewitz
svn-id: r48906
2010-05-03SCI: calculate sampleLen for compressed audio (mp3/ogg/flac) as wellMartin Kiewitz
svn-id: r48903
2010-05-01SCI: fix bugs in audio decompression (mp3, ogg, flac)Martin Kiewitz
svn-id: r48880
2010-04-29SCI: audio compression supportMartin Kiewitz
svn-id: r48856
2010-04-26SCI: changing comment slightly about setting signal selector in stopSound ↵Martin Kiewitz
for SCI0 svn-id: r48806
2010-04-26SCI: also set signal selector when stopping sounds for SCI0 as well - fixes ↵Martin Kiewitz
sq3 freeing 2 guys from andromeda endless loop svn-id: r48805
2010-04-17Fixing some warnings (with gcc 3.3.6)Max Horn
svn-id: r48694
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-16SCI: fix assert in sound code when fadeout is done (lsl1 bug #2970301)Martin Kiewitz
svn-id: r48271
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Rename some members of class ResourceMax Horn
svn-id: r48085
2010-02-15SCI: Remove sound/audio.h include from engine/state.hMax Horn
svn-id: r48063
2010-02-13SCI: Fix compiling with USE_OLD_MUSIC_FUNCTIONS enabledMax Horn
svn-id: r48051
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
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-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
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-02-02SCI: Fix bug in keyshift handling in midi driver.Walter van Niftrik
svn-id: r47806
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-30SCI: Remove extra '\n's in debugC messagesWillem Jan Palenstijn
svn-id: r47707
2010-01-29Don't cripple setVolume(), but throw a warning when receiving invalid ↵Filippos Karapetis
volumes and correct them for now - fixes the music in GK1 svn-id: r47690
2010-01-29Disabled the MIDI volume changing code till we figure out why it's getting ↵Filippos Karapetis
volume values greater than 127 svn-id: r47688
2010-01-29Reverting incorrect rev. 47675. The actual problem was that SCI0 doesn't ↵Filippos Karapetis
clear a song's handle when stopping it, but when disposing it. Hopefully, a lot of the SCI0 sound oddities are fixed now... svn-id: r47678
2010-01-29Always prefer MIDI drivers over the other onesFilippos Karapetis
svn-id: r47677
2010-01-29WordingFilippos Karapetis
svn-id: r47676
2010-01-29Don't modify the objects of sound slots that are already stopped, as the ↵Filippos Karapetis
associated objects could have been disposed. Fixes odd crashes in SQ3 svn-id: r47675
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-29SCI: Fix out-of-bounds error in MT-32 patch reading in GM mode.Walter van Niftrik
svn-id: r47662
2010-01-28Always try and load the associated digital track if the requested MIDI track ↵Filippos Karapetis
couldn't be found svn-id: r47631