aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2005-05-27More whitespace changes.Torbjörn Andersson
svn-id: r18273
2005-05-11Mixer is now in namespace Audio. fix compiling.Oliver Kiehl
svn-id: r18056
2005-05-11Moved some more stuff to namespace Audio (enough for tonight)Max Horn
svn-id: r18040
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved (In/Out)SaveFile(Manager) and Timer to namespace CommonMax Horn
svn-id: r18038
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-05-09fixed warningPaweł Kołodziejski
svn-id: r18012
2005-05-09Patch #1181544 (AmigaOS 4 changes)Max Horn
svn-id: r18011
2005-05-09Fix doxygen messageMax Horn
svn-id: r18000
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-05-05Fixed some doxygen warningsMax Horn
svn-id: r17923
2005-05-04Switch link to web page with more detailed information on compression types.Travis Howell
svn-id: r17905
2005-05-03o Fixed ADPCM decoder length bugEugene Sandulenko
o Plugged IMA ADPCM into SCUMM engine so latter HE titles now have speech though it is somewhat noisy don't know why as decoder is based on ADPCM reference implementation. svn-id: r17904
2005-05-03Moved Oki ADPCM aka VOX decoder from SAGA engine to common sound/ directory.Eugene Sandulenko
Implemented IMA ADPCM decoder. svn-id: r17903
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-04-20code conventionsGregory Montoir
svn-id: r17714
2005-04-20this should fix bug #1181979Gregory Montoir
svn-id: r17713
2005-04-16vc compile warnAndrew Kurushin
svn-id: r17637
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