aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
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
2004-12-02Moved MidiDriver creation code into the MidiDriver class (as static ↵Max Horn
methods), same for some other MIDI related stuff svn-id: r15968
2004-11-28cleanupMax Horn
svn-id: r15955
2004-11-28Changed parameter order of SoundMixer::playInputStream to match that of playRawMax Horn
svn-id: r15950
2004-11-28Added a "permanent" field to Channels, which simply prevents them from being ↵Jerome Fisher
deleted during stopAll(). I hope this doesn't step on anyone's toes; it was quite urgent, since loading a saved game stopped MT-32 emulation audio forever. svn-id: r15946
2004-11-28Assume for now that the premixer is always used for music playback (as ↵Max Horn
opposed to being used for SFX); this affects the volume (see bug #1049375) svn-id: r15940
2004-11-27Removed the (highly SCUMM specific) 'appendable stream' API from SoundMixer; ↵Max Horn
SCUMM now uses the appendable stream directly svn-id: r15919