aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2004-11-04Delegate channel functions to any MidiDriver. This is useful for theEugene Sandulenko
MT-32 emulation and quite possibly other MidiDrivers in future. svn-id: r15711
2004-10-30Doxygen fixesMax Horn
svn-id: r15699
2004-10-23fixed warningsPaweł Kołodziejski
svn-id: r15665
2004-10-22Prepare true AdLib support on PalmOSChris Apers
svn-id: r15649
2004-10-21Patch #1048326 Better MT-32 supportEugene Sandulenko
svn-id: r15635
2004-10-17Add commentMax Horn
svn-id: r15595
2004-10-17Fix playback of MP3 files till EOF in some casesMax Horn
svn-id: r15587
2004-10-11Implement premix proc via an AudioStream / Channel (eventually we'll remove ↵Max Horn
the setupPremix method which takes a proc pointer) svn-id: r15522
2004-10-09Make AppendableAudioStream endianness-aware.Eugene Sandulenko
svn-id: r15491
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-09-25Remove obsolete path paramMax Horn
svn-id: r15278
2004-09-25Fix doxygen warningsMax Horn
svn-id: r15277
2004-09-19Fix potential race conditionMax Horn
svn-id: r15191
2004-09-19Actually check if a sound is active, if the sound is outside music engine.Travis Howell
Add some more HE differences svn-id: r15188
2004-09-18smush tracks are not music channel, removed outdated dimuse commentPaweł Kołodziejski
svn-id: r15167
2004-09-04fixde bug IMUSE+DEBUGPaweł Kołodziejski
svn-id: r14892
2004-09-04Fix for bug #1022265 (Memory leak in vorbis.cpp?)Max Horn
svn-id: r14889
2004-08-22cleanup of TimerProc messMax Horn
svn-id: r14683
2004-08-08Remove orphaned TODOMax Horn
svn-id: r14517
2004-08-03Update commentTravis Howell
svn-id: r14456
2004-08-03Add commentTravis Howell
svn-id: r14455
2004-08-03Add invalid version used by French Simon2Travis Howell
svn-id: r14453
2004-07-31changed loadVOCFile to work on a generic ReadStream instead of a File, and ↵Max Horn
renamed it to loadVOCFromStream; removed readVOCFromMemory as it isn't used anymore, and in the future, a MemoryReadstream plus loadVOCFromStream can achieve the same effect svn-id: r14383
2004-07-16Applied patch #957544 to make output sample rate configurable at runtime.Torbjörn Andersson
svn-id: r14225
2004-07-11Use extrapath in Sword1 engine (from 0.6.0 branch). More verbose errors to ↵James Brown
go with the forthcoming new manual. Sword1 CD swapping doesn't work as expected HERE, either :) svn-id: r14188
2004-07-01getFreeSpace() is not longer usedPaweł Kołodziejski
svn-id: r14136
2004-06-29Fix for bug #981991 (VORBIS: Crash when using Ogg Vorbis CD tracks)Max Horn
svn-id: r14128
2004-06-28Make use of new File refcount code; also fixed long standing bug in vorbis ↵Max Horn
code (ov_clear was not being called, resulting in a file not being closed) svn-id: r14107
2004-06-09Fixed a typo in a comment.Torbjörn Andersson
svn-id: r13948
2004-05-31Make allNotesOff() also turn off all "hanging notes". Without this change,Torbjörn Andersson
I wasn't able to fully stop ITE's XMIDI music - there would always be a couple of notes hanging even after unloading it. Apparently this music doesn't use the "active notes" mechanism at all, and I guess the ALSA driver doesn't support the "All Note Off" event. I'm still not 100% sure this is the correct fix, but unless someone has any better idea... svn-id: r13910
2004-05-09Config sample switch for WinCENicolas Bacca
svn-id: r13815
2004-05-05Remove odd sample rate hack (for DOTT demo); instead, be slightly less ↵Max Horn
strict about VOC headers, since DOTT demo (and maybe others) use buggy VOC headers svn-id: r13787
2004-05-02Explain a bit what getSampleRateFromVOCRate() does; mark a hack in it more ↵Max Horn
clearly; disable warning svn-id: r13756
2004-05-01Doubled the buffer size to prevent crashes with the Inherit the EarthTorbjörn Andersson
MIDIs. This is a temporary fix - Jamieson630 said something about making a better fix later - but it will have to do for now. svn-id: r13719
2004-05-01Fix for [945497] Possible bug in midiparser_smf.cppJamieson Christian
Corrected Type 0 SMF compression to properly account for command lengths when Running Status is being used. Also increased buffer size for Type 0 output since Running Status can result in the Type 0 output being larger than the source data. Needs some more work, but at least the Wyrmkeep people can keep going in the meantime. svn-id: r13707
2004-04-30Changed printf() to warning()Torbjörn Andersson
svn-id: r13684
2004-04-29Changed printf() to warning(). (Even in the case where the message used toTorbjörn Andersson
say "ERROR".) svn-id: r13677
2004-04-29Changed printf() to warning(), plus some formatting changes.Torbjörn Andersson
svn-id: r13676
2004-04-26synced code free space with buffer changesPaweł Kołodziejski
svn-id: r13646
2004-04-26MIDI control change 18 is no longer transmitted.Jamieson Christian
It is not a valid MIDI control change message. It is used internally in the SCUMM MIDI tracks to indicate part priority. The only MidiDriver that needs it is Adlib. It should be noted that the priority values are out of bounds for a regular MIDI message anyway. Valid control change values are 0-127, but the priority value ranges from 0-255. This fixes a crash with a certain software MT-32 emulator running under Linux. Thanks to olki for bringing up this issue. svn-id: r13645
2004-04-26Tweaked a few things to accommodateJamieson Christian
MSVC6's idiosyncracies. svn-id: r13644
2004-04-25delete CustomProcInputStream and add getFreeSpace for appendable audiostreamPaweł Kołodziejski
svn-id: r13629
2004-04-13added CustomProcInputStreamPaweł Kołodziejski
svn-id: r13570
2004-04-10Clean up VOC code, and fix potential out-of-bounds accessMax Horn
svn-id: r13535
2004-04-10Fix for bug #885490 (FT: Ben stops talking mid-scentence @ the gorge) -> ↵Max Horn
this only works for monster.sou files; compressed audio is incomplete, and we have to fix the extract tool to correct that svn-id: r13531
2004-04-09Changed the UNIX line breaks.Torbjörn Andersson
Fixed the problem where the lookout music didn't play in the MI1CD intro. At least, I *think* I fixed it. It worked at home, but I can't test it on this particular computer. svn-id: r13515
2004-04-08seems it is 'endianness' and not 'endianess'Max Horn
svn-id: r13504
2004-03-28Format string fix.Torbjörn Andersson
svn-id: r13408
2004-03-21When I played an Ogg Vorbis-encoded FotAQ I noticed that whenever a soundTorbjörn Andersson
effect happened during a line of speech there was a chance - not a certainty - that the speech would get cut off prematurely. As far as I can tell, this is because the Vorbis decoder isn't the only one who's accessing the same file. Now the Vorbis decoder will explicitly seek to the position where it expects the file to be at before reading from it. I hope this is the correct fix. It does fix the problem for me, at least. I don't know if any of the other decoders needs a similar patch. I couldn't reproduce the problem with my MP3-encoded FotAQ, but there are other possible explanations for that, e.g. the bug gets harder to trigger the more sound data that is decoded in each pass. svn-id: r13353
2004-03-13Patch #902111: Change remaining random function calls to use RandomSourceMax Horn
svn-id: r13262