aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2005-04-13Only cache a track if it really exists, this should prevent some issues when ↵Gregory Montoir
playing with invalid compressed tracks. See also bug report #1181979. svn-id: r17591
2005-04-13Get rid of errno; add some (optional) error checking facilities to SaveFile ↵Max Horn
classes (they are ugly, and to simple, but better than nothing) svn-id: r17589
2005-04-13Patches #1164217 "Updated GS Support + Percussion Remapping Patch" andEugene Sandulenko
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot. svn-id: r17571
2005-04-10Forgot to add files when committing patch #1175374.Torbjörn Andersson
svn-id: r17513
2005-04-10Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentationTorbjörn Andersson
changes. There are a few things that could use a bit more work, and I've only tested it on my Linux box. I have verified that ScummVM still compiles when it's disabled, though, so it shouldn't break anything too badly. svn-id: r17512
2005-04-09Remove usage of vsprintf in favour of vsnprintf and makeJonathan Gray
more use of STRINGBUFLEN. Some ports may need a new stub for this, discussed with Chrilith. svn-id: r17463
2005-04-04Renamed getActiveChannelSoundID to getSoundID and fixed its semantics to ↵Max Horn
avoid race conditions svn-id: r17377
2005-04-04Add 8 sound channel support for HE gamesTravis Howell
-Allows sound looping to work Added support for WAVE format musuc used in later HE100 games. svn-id: r17372
2005-04-03Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. ↵Jerome Fisher
This does the following: - Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver. - Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table. svn-id: r17361
2005-03-23To prevent race conditions, SoundMixer::isSoundHandleActive must lock the ↵Max Horn
mixer mutex. That change might however cause regressions (read: dead locks) if some code calls isSoundHandleActive from within a sound callback... if you encounter any, please tell me svn-id: r17209
2005-03-22Make sure SoundHandle's are initedMax Horn
svn-id: r17194
2005-03-20Merged with latest Munt CVS.Jerome Fisher
* Added support for most of the extended capabilities of the CM-32L/LAPC-I (more rhythm timbres, more rhythm key mappings, more PCM samples). * The control ROM is now identified by searching for matching ID strings at various locations in the file. There are now a lot of safety checks to help ensure that a bad ROM will not crash the emulator. * Three control ROM versions are now identified and mapped out - an original MT-32 control ROM, an original CM-32L ROM, and the Blue Ridge modified MT-32 ROM. * Now supports the expression controller properly. * Sustain is now turned off correctly again. * "All Notes Off" no longer stops notes held by the sustain controller. * Implemented "Reset all controllers". * Stereo pan positions are no longer inverted. * Volume, pitch, filter and envelopes are now more accurately calculated. Overall, the sound emulation is much more accurate. * Waveforms are now slightly more accurate (in terms of pitch), necessitating a regeneration. * Handling of unusual sysex messages has been improved (fixes sysex messages from Java's MIDI classes on Windows). * Fixed a reverb bug during periods of silence. svn-id: r17188
2005-03-12Simplified SoundHandle implementationMax Horn
svn-id: r17107
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-11PalmOS : ARM optimized OPL driverChris Apers
svn-id: r17079
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-03-06TypoMax Horn
svn-id: r17006
2005-02-06It's kMaxMixerVolume, not 256 (we might change it to 255 eventually)Max Horn
svn-id: r16747
2005-01-30Check sound queue for music in HE games.Travis Howell
Avoid extra sound channel. svn-id: r16706
2005-01-28Use class Mutex instead of MutexRefMax Horn
svn-id: r16679
2005-01-28Add medium quality sound for FOTAQNicolas Bacca
svn-id: r16676
2005-01-1116-bit WAVs are little-endian.Torbjörn Andersson
svn-id: r16539
2005-01-11This is probably not the optimal fix, but at least ScummVM compiles again.Torbjörn Andersson
svn-id: r16538
2005-01-10A little more moving around #include's (last one for today ;-)Max Horn
svn-id: r16534
2005-01-10eek, we put a static RandomSource instance into every file that included ↵Max Horn
fmopl.h... svn-id: r16532
2005-01-10Remove some more header dependenciesMax Horn
svn-id: r16530
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-09Fix legal headerMax Horn
svn-id: r16506
2005-01-09Added shared code to load WAV(E) data from arbitrary seekable streams (files ↵Max Horn
or memory) svn-id: r16502
2005-01-09This function is currently not used...Max Horn
svn-id: r16501
2005-01-09cleanupMax Horn
svn-id: r16500
2005-01-09Moving AppendableAudioStream into SCUMM engine, as it is only used thereMax Horn
svn-id: r16494
2005-01-06Added a font manager (work in progress)Max Horn
svn-id: r16460
2005-01-06Modify the singleton code once more to help overcome an issue with MSVC 7 ↵Max Horn
(see also patch #1095133) svn-id: r16454
2005-01-03Add missing control changes, patch #1094825.Travis Howell
svn-id: r16416
2005-01-01Changed the singleton code to allow for custom object factories; this ↵Max Horn
allowed me to change OSystem to use the singleton base class, too svn-id: r16404
2005-01-01Changed OSystem::instance() to return a reference, not a pointer (it now ↵Max Horn
matches the Singleton interface) svn-id: r16402
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28Fix running ScummVM in plugin-modeMax Horn
svn-id: r16360
2004-12-28Fixing hasActiveChannelOfTypeMax Horn
svn-id: r16354
2004-12-27Use SoundMixer::kMaxMixerVolumeMax Horn
svn-id: r16351
2004-12-27Introduced two new constants SoundMixer::kMaxChannelVolume and ↵Max Horn
SoundMixer::kMaxMixerVolume, for clarity svn-id: r16348
2004-12-27Allow premix channels to use a custom sound typeMax Horn
svn-id: r16332
2004-12-27Add 'speech' sound type to mixer; make use of that in iMuse DigitalMax Horn
svn-id: r16331
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-12-25Moved the softsynth midi drivers into a sound/softsynth; amongst other ↵Max Horn
things, this fixes bug #1083058 svn-id: r16316
2004-12-25Removing this dead code for now, it only leads to confusionMax Horn
svn-id: r16314
2004-12-14Evil workaround for bug #1083058Max Horn
svn-id: r16045
2004-12-11change loadVOCFromStream to take a reference instead of a pointer (to a stream)Max Horn
svn-id: r16035