aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse_digi/dimuse.cpp
AgeCommit message (Collapse)Author
2013-06-04SCUMM: Verify sample width in Digital iMUSE callback. CID 1002112Torbjörn Andersson
Verify that 'bits' really is one of 8, 12 or 16 before decoding the data. It's probably always the case (unless the data files are damaged) but if it isn't we'll either try to queue NULL to the audio stream, or queue the same buffer more than once, or free the buffer more than once. All of which are bad, though Coverity only noticed the last of these cases.
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-13SCUMM: Resolve some code duplicationMax Horn
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-22SCUMM: Get rid of some redundant enum vals in iMuse digitialMax Horn
svn-id: r47436
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::FLAG_REVERSE_STEREO; also change SCUMM's iMuse Digital ↵Max Horn
emulation to reverse stereo again, as it once seems to have been intended svn-id: r47374
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-08Switch SCUMM from AppendableAudioStream to QueuingAudioStreamMax Horn
svn-id: r47183
2009-04-16SCUMM: Switched opcode tables to use Common::Functor0 (a bit like Kyra does it)Max Horn
svn-id: r39956
2009-03-20SCUMM: Split intern.h into multiple headersMax Horn
svn-id: r39567
2009-01-10fixed radio chatter sfxPaweł Kołodziejski
svn-id: r35804
2009-01-10- added initial radio chatter sfx, still not fully correctPaweł Kołodziejski
- remove obsolete mixerStreamRunning track variable svn-id: r35801
2008-12-25Made Engine::_timer protectedMax Horn
svn-id: r35543
2008-07-22shutup valgrind warningPaweł Kołodziejski
svn-id: r33206
2008-01-21final fix for bug #1757010Paweł Kołodziejski
svn-id: r30604
2008-01-20fix/workaround for bug #1624464, as we do not support game playing on two ↵Paweł Kołodziejski
different CDs svn-id: r30588
2008-01-19moved fadeDelayPaweł Kołodziejski
svn-id: r30567
2008-01-19revert code to fade out first region if jump hitPaweł Kołodziejski
svn-id: r30566
2008-01-19missed setting trackId while starSound,Paweł Kołodziejski
added more debug output, verification of jump code, it might have regressions svn-id: r30565
2008-01-19fixed support for compressed streams in dimusePaweł Kołodziejski
svn-id: r30564
2008-01-18iMuse Digital: Moved track & table definition from dimuse.h into separate ↵Max Horn
header files svn-id: r30550
2008-01-17restore TrackId meaningPaweł Kołodziejski
svn-id: r30541
2008-01-16experimental seek in compressed streams in dimuse in time ms resolutionPaweł Kołodziejski
svn-id: r30521
2008-01-15opsPaweł Kołodziejski
svn-id: r30504
2008-01-15implement dimuse transition 12, not tested yetPaweł Kołodziejski
svn-id: r30503
2008-01-15Since the mixer uses 'delete' to free memory, we should allocate it with 'new'.Torbjörn Andersson
I don't know if I got all cases, but I no longer get any Valgrind warnings at the beginning of CoMI when using the original sound/music files. svn-id: r30501
2008-01-13added missing stoppingSequence to music transitions. still i'm not sure if ↵Paweł Kołodziejski
it trigger properly in our imuse implementation svn-id: r30463
2008-01-06Unify mixer pan/vol setting codeMax Horn
svn-id: r30308
2008-01-06Fix bug #1864932: COMI: Game crashes on difficulty selection screenMax Horn
svn-id: r30298
2008-01-06cleanupMax Horn
svn-id: r30284
2008-01-05Let the audio mixer take care of (i.e. dispose) the Track::stream object, tooMax Horn
svn-id: r30277
2008-01-05Play SOU data instantly, not slightly delayed -> allows us to get rid of ↵Max Horn
Track::streamSou & Track::mixerStreamRunning (have not yet removed the latter to avoid introducing a new savegame version) svn-id: r30268
2008-01-05Moved some code which was being duplicated to methods of class TrackMax Horn
svn-id: r30266
2008-01-05Let the audio mixer delete the streamSou objectMax Horn
svn-id: r30265
2008-01-05When loading and before starting an iMuse Digitial track, reset it ↵Max Horn
completely to zero svn-id: r30262
2008-01-05Use souStreamUsed to distinguish between 'stream' and 'streamSou' usageMax Horn
svn-id: r30257
2008-01-01experimental change to prevent play first region with fade out if jump ↵Paweł Kołodziejski
opcode is attached svn-id: r30117
2008-01-01Patch #1839861 (Possible workaround for bugs related to ↵Max Horn
cloneToFadeOutTrack): Fixes bug #1848399 and apparently also #1527274 & #1763227 svn-id: r30111
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-22cleanup (in particular, don't call something 'soundHandle' which is not a ↵Max Horn
Mixer::SoundHandle) svn-id: r28162
2007-07-21SCUMM/iMuse Digital: Pause sounds after loading themMax Horn
svn-id: r28158
2007-06-01cleanup namesPaweł Kołodziejski
svn-id: r27041
2007-06-01rename some imuse variablesPaweł Kołodziejski
svn-id: r27039
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-20Change IMuseDigital::stopAllSounds to simply do what it names suggest, i.e. ↵Max Horn
stop all sounds immediately (instead of waiting for the imuse timer to do the required work). Not heavily tested, as I don't know of specific spots in Dig/FT/CoMI which make use of this svn-id: r26258
2007-03-02Applied my own patch #1672572, after discussing it with Fingolfin. We no longerTorbjörn Andersson
store mixer flags in our savegames. Instead, we store different flags which just happen to have the exact same values as the mixer flags have right now. This should keep savegames working even if the mixer flags ever change. svn-id: r25928