aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2010-06-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-06-09SCI: fix multiple playing of the same sound in a row (without using looping) ↵Martin Kiewitz
- thx to LordHoto for helping me finding this one out - fixes pharkas right at the start (hammering only played once) svn-id: r49538
2010-06-08SCI: if song isn't playing, set signal and don't set fadeout/fadein ↵Martin Kiewitz
variables - fixes lsl3 music lost after entering/exiting tv room (bug #3007406) svn-id: r49500
2010-06-04Some more work on channel remapping: Moved the remapping code to the music ↵Filippos Karapetis
loading code (still disabled) svn-id: r49430
2010-06-03Replace two uses of ::qsort by Common::sort.Johannes Schickel
svn-id: r49418
2010-06-03- Made some methods constJohannes Schickel
- Prefer const_iterator over iterator in SciMusic::findUsedChannels svn-id: r49417
2010-06-03A first attempt at channel remapping (currently disabled)Filippos Karapetis
svn-id: r49416
2010-06-03Added channel remapping to MidiParser_SCI (currently unused)Filippos Karapetis
svn-id: r49414
2010-05-31SCI: Silenced warning when no audio decoder is compiled inFilippos Karapetis
svn-id: r49351
2010-05-30CleanupFilippos Karapetis
svn-id: r49333
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-28SCI: read out vol selector on initSound/playSound for sci1early ↵Martin Kiewitz
(soundversion) as well - fixes lsl1demo svn-id: r49285
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: 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