Max Horn
a106f01d2f
Remove useless startPlay override from ProtrackerStream
...
svn-id: r27692
2007-06-24 12:35:50 +00:00
Max Horn
61af086e8e
Mod code cleanup
...
svn-id: r27690
2007-06-24 11:40:00 +00:00
Max Horn
e01c939229
cleanup
...
svn-id: r27501
2007-06-16 23:50:57 +00:00
Max Horn
1b28bd4644
cleanup
...
svn-id: r27500
2007-06-16 23:41:37 +00:00
Max Horn
a435757699
Avoid using the 'st_sample_t out[2]' arrays inside tight loops, as some compilers are bad at optimizing array access due to pointer aliasing
...
svn-id: r27499
2007-06-16 23:07:25 +00:00
Max Horn
b7412d21fd
Tiny changes to help optimizer resolve array aliasing
...
svn-id: r27471
2007-06-16 17:12:08 +00:00
Max Horn
e44b518c23
Patch #1717419 : Optimisation for sound rate conversion code
...
svn-id: r27470
2007-06-16 17:09:54 +00:00
Eugene Sandulenko
2f127122b3
Fix legal header for new files.
...
svn-id: r27468
2007-06-16 16:52:52 +00:00
Max Horn
6498d669d0
Patch #1721826 : ARM asm versions of sound rate conversion/mixing code
...
svn-id: r27467
2007-06-16 16:46:13 +00:00
Max Horn
0d77f50d6b
Removed dead code
...
svn-id: r27066
2007-06-03 15:56:14 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
86104e0bf0
Reverted r26922.
...
svn-id: r26967
2007-05-27 11:40:03 +00:00
Johannes Schickel
8ff17142c5
Simpilified Singleton implementation and usage.
...
svn-id: r26922
2007-05-22 14:17:44 +00:00
Gregory Montoir
e0159324cc
some fixes for the music in Amiga OS Demo
...
svn-id: r26886
2007-05-20 11:50:06 +00:00
Gregory Montoir
620c8a5647
added Amiga SoundFx module player code, used by Amiga versions of the following Delphine Software games : Future Wars, Operation Stealth, Cruise for a Corpse and Another World
...
svn-id: r26869
2007-05-19 12:06:51 +00:00
Nicola Mettifogo
008042ac25
Implemented a IFF (Interchange File Format) parser and added subclasses to parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code.
...
svn-id: r26719
2007-05-01 15:39:40 +00:00
Max Horn
4958b58622
Added a doxygen comment to makeProtrackerStream -- somebody who knows the code behind this please complete/enhance this
...
svn-id: r26616
2007-04-27 19:50:45 +00:00
Max Horn
d4660cce55
Removing more semicola
...
svn-id: r26597
2007-04-26 19:08:53 +00:00
Max Horn
00b9bc7b36
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
...
svn-id: r26594
2007-04-25 19:31:23 +00:00
Max Horn
82d7f4afa9
Patch #1701118 : Remove non-english characters from ym2612.cpp
...
svn-id: r26551
2007-04-19 20:34:33 +00:00
Sven Hesse
e962db5b6d
Some more supposedly unitialized variables (see bug #1700986 )
...
svn-id: r26509
2007-04-15 16:30:54 +00:00
Max Horn
2aeb84f12a
Got rid of the last traces of DigitalTrackInfo
...
svn-id: r26477
2007-04-14 18:51:38 +00:00
Max Horn
adb0f89ae3
Rewrote AudioCDManager to not use DigitalTrackInfo instances anymore, but rather create/use track AudioStream instances directly
...
svn-id: r26476
2007-04-14 18:48:09 +00:00
Max Horn
8f5abc1924
Extended Audio::openStreamFile function with startTime, duration and numLoops parameters, and slightly cleaned up its code
...
svn-id: r26471
2007-04-14 17:12:43 +00:00
Torbjörn Andersson
c51e87fdac
When the appendable audiostream is done with a queued buffer, delete it as
...
documented.
svn-id: r26444
2007-04-09 19:49:03 +00:00
Torbjörn Andersson
41a5f70d72
I hope this fixes the file headers.
...
svn-id: r26428
2007-04-09 10:53:17 +00:00
Torbjörn Andersson
2d209264c9
Implemented enough of AIFF to play the music from the Broken Sword 1 demo. At
...
least as far as I tried it which, admittedly, wasn't very far.
svn-id: r26423
2007-04-09 09:58:41 +00:00
Neil Millstone
dca464b06e
Changes to CPU local ram allocation for DS port
...
svn-id: r26395
2007-04-06 18:35:35 +00:00
Max Horn
f069c5e8ff
Changed the MP3 playback code again, this time hopefully fixing the problems in the MI Amiga demo
...
svn-id: r26392
2007-04-06 17:16:49 +00:00
Max Horn
0df4d74ae6
Fixed looping of MP3 tracks (same problem as with the FLAC tracks)
...
svn-id: r26389
2007-04-06 13:28:33 +00:00
Max Horn
8a1cf1c2d0
Fix looping for FLAC tracs (looping parts of a file already worked, but looping until the end of data didn't)
...
svn-id: r26388
2007-04-06 13:16:53 +00:00
Johannes Schickel
013d576417
Added standard fileheader. (oops)
...
svn-id: r26286
2007-03-24 00:09:08 +00:00
Johannes Schickel
d1645e2fbf
Commit of patch #1686414 ("Kyra: FM-Towns music").
...
svn-id: r26285
2007-03-24 00:04:08 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
...
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea
Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
...
svn-id: r26156
2007-03-17 00:53:21 +00:00
Eugene Sandulenko
06c2976fa0
More fixes for MSVC8 warnings.
...
svn-id: r26063
2007-03-10 15:04:06 +00:00
Max Horn
69b8d7240a
Removed obsolete comment
...
svn-id: r25956
2007-03-04 00:18:49 +00:00
Max Horn
200bb41bfd
Updated comment
...
svn-id: r25929
2007-03-02 17:49:08 +00:00
Max Horn
029b8c4323
Changed the order of the parameters of makeLinearInputStream to resemble Mixer::playRaw; also made makeLinearInputStream honor FLAG_LOOP (and for this, changed its loop related params slightly)
...
svn-id: r25926
2007-03-02 15:26:22 +00:00
Max Horn
d8cf10926b
Added a warning that the mixer FLAG_ enum should not be messed with, lest iMuseDigital saves will break
...
svn-id: r25925
2007-03-02 15:22:38 +00:00
Max Horn
c2dbd22692
Added reverseStereo parameter to Mixer::playInputStream; changed Mixer::playRaw to use Mixer::playInputStream
...
svn-id: r25923
2007-03-02 14:49:07 +00:00
Max Horn
6ee03e91c7
Rephrased a comment a bit
...
svn-id: r25914
2007-03-01 13:51:04 +00:00
Max Horn
8c8abca6f8
Changed the AppendableAudioStream code to use a queue of buffers, instead of a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible)
...
svn-id: r25909
2007-02-28 14:48:26 +00:00
Max Horn
6be027afab
cleanup
...
svn-id: r25906
2007-02-28 12:54:59 +00:00
Max Horn
7f09562d08
Changed AudioStream::openStreamFile to use the modern variant of the audio stream factories (thus, the FLAC/Ogg/MP3 files it opens are not read completely into memory anymore)
...
svn-id: r25839
2007-02-24 23:53:35 +00:00
Max Horn
8366420474
Remove unneeded #includes
...
svn-id: r25838
2007-02-24 23:41:20 +00:00
Max Horn
b3931a847d
Trying to unify the order in which we try the various audio formats: Prefer FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM
...
svn-id: r25837
2007-02-24 23:40:28 +00:00
Max Horn
65b30d84a8
Added numLoops parameter to DigitalTrackInfo::play
...
svn-id: r25836
2007-02-24 23:19:53 +00:00
Max Horn
8052e2ce25
Add looping support to the FLAC decoder
...
svn-id: r25833
2007-02-24 22:14:48 +00:00
Max Horn
5e5b37534f
Replaced variable buffer in the FLAC code by a fixed on
...
svn-id: r25832
2007-02-24 21:25:46 +00:00
Max Horn
e32d3cafed
more FLAC code cleanup
...
svn-id: r25831
2007-02-24 21:13:30 +00:00
Max Horn
ebfb2c57e1
Removed FlacInputStream::deleteBuffer
...
svn-id: r25829
2007-02-24 19:54:54 +00:00
Gregory Montoir
11e679845d
some fixes and additions for FOTAQ amiga versions
...
svn-id: r25825
2007-02-24 18:39:08 +00:00
Johannes Schickel
7612aa5ee1
fixed comments.
...
svn-id: r25797
2007-02-22 20:46:09 +00:00
Max Horn
f695b21d60
FLAC code cleanup
...
svn-id: r25796
2007-02-22 18:42:03 +00:00
Max Horn
52eebf9192
added yet another #pragma mark to the vorbis code (just for the sake of *my* text editor -- yeah, I'm selfish :-)
...
svn-id: r25795
2007-02-22 18:38:05 +00:00
Max Horn
4dae49e75a
cleanup
...
svn-id: r25794
2007-02-22 18:35:57 +00:00
Max Horn
82ae8daccf
Reduce chance for overflows in VorbisTrackInfo::play
...
svn-id: r25793
2007-02-22 18:33:01 +00:00
Max Horn
8ce7566c8d
Updated FLAC code to match the changes made to the MP3 & Vorbis decoders (e.g. use a SeekableReadStream for input, allow specifying parts of a stream via time-valued parameters, etc.) -- note: looping is not yet implemented, even though it is already present in the API
...
svn-id: r25792
2007-02-22 18:21:01 +00:00
Max Horn
c3254cde9e
If an AudioStream returned a negative number in his readBuffer() method, then CopyRateConverter::flow could have got stuck in a (quasi) endless loop
...
svn-id: r25790
2007-02-22 16:36:03 +00:00
Max Horn
f16ab37698
Added looping support and an enhanced factory function to the Vorbis code
...
svn-id: r25789
2007-02-22 14:30:12 +00:00
Max Horn
1c02ed60d0
cleanup
...
svn-id: r25788
2007-02-22 14:07:12 +00:00
Max Horn
2c1445056d
Rewrote Ogg Vorbis code to be more flexible when it comes to seeking; also now playback from arbitrary SeekableReadStream data sources is possible
...
svn-id: r25784
2007-02-22 10:51:47 +00:00
Gregory Montoir
948630c3b4
added initial support for FOTAQ amiga versions
...
svn-id: r25769
2007-02-21 20:27:48 +00:00
Max Horn
cb40356a7b
Revamed the Ogg Vorbis & FLAC DigitalTrackInfo subclasses to work similar to the MP3 one (i.e. only open the data file when about to play)
...
svn-id: r25757
2007-02-20 23:40:46 +00:00
Max Horn
42745b188e
Added looping to the MP3 streams (currently virtually untested, so watch out)
...
svn-id: r25756
2007-02-20 22:18:48 +00:00
Max Horn
acdb32d84d
Remove some leftover comments I made while writing the new MP3 code; make use of the new ReadStream::readStream() method in makeMP3Stream()
...
svn-id: r25755
2007-02-20 21:53:22 +00:00
Max Horn
227a080e5b
Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by me
...
svn-id: r25752
2007-02-20 18:50:17 +00:00
Max Horn
91f088bb8b
Rewrote MP3InputStream mostly from scratch:
...
- added support for proper time-based seeking (for now internally only)
- this should permit VBR encoded MP3 audio CD tracks to be used (not tested)
- Symbian specific hacks were removed, as they hopefully aren't needed anymore
(not tested))
This change will is likely to introduce regressions, everybody please test all
cases where we allow using MP3 encoded data
svn-id: r25750
2007-02-20 17:57:49 +00:00
Max Horn
35b191bad9
Document AudioCDManager::play
...
svn-id: r25742
2007-02-20 16:13:45 +00:00
Max Horn
b162e0dc04
Cleaned up AudioCDManager::getCachedTrack (in particular, don't empty a slot in the track cache if we are not going to use it)
...
svn-id: r25740
2007-02-20 13:50:20 +00:00
Max Horn
0b2602e424
So far we only accepted track1.* as name for audio tracks -- now we also accept track01.* (we still only document the former naming scheme, intentionally)
...
svn-id: r25728
2007-02-19 18:17:38 +00:00
Gregory Montoir
604f0cac0a
cleanup and fixed _module memory leak
...
svn-id: r25708
2007-02-18 21:56:52 +00:00
Gregory Montoir
18cab2cc65
added basic support for playing FOTAQ amiga modules files (rjp1) instead of MIDI (code is currently #ifdef'ed out).
...
svn-id: r25707
2007-02-18 21:46:40 +00:00
Chris Apers
17b14e44c7
Correct warned class name
...
svn-id: r25694
2007-02-18 18:03:57 +00:00
Max Horn
4db72c8762
Unified how we deal with (and how we generate) MIDI sysex messages -- in particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class)
...
svn-id: r25630
2007-02-16 13:30:41 +00:00
Max Horn
8cef52294c
Fix for bug #1660559 : MANIAC/ZAK: Music does not stop when pausing (regression)
...
svn-id: r25605
2007-02-15 12:47:09 +00:00
Eugene Sandulenko
0a56c312f1
Fix MSVC warning
...
svn-id: r25586
2007-02-14 16:45:25 +00:00
Sven Hesse
82e4318b02
Fixed a special case (frequency/rate > repeating sample length)
...
svn-id: r25521
2007-02-12 12:54:08 +00:00
Travis Howell
028d077e2b
Enable stereo by default for all ProTracker mods.
...
svn-id: r25482
2007-02-11 02:47:02 +00:00
Sven Hesse
023591a77a
The status variables are set explicitely in the constructor instead through one memset now, to avoid setting the SoundHandle to 0 as well (the first play() would then stop SoundHandle 0, which doesn't strike me as being correct)
...
svn-id: r25409
2007-02-07 16:27:43 +00:00
Sven Hesse
0ed752aa6e
- Moved the specific interrupt frequency of 80 Hz out of class Infogrames into the GobEngine's Infogrames instances
...
- Changed the 80 Hz to 75 Hz, which is more true to the original
svn-id: r25389
2007-02-04 15:59:05 +00:00
Max Horn
cb49cbdd45
* Reimplemented Mixer::pauseAll to simply invoke pause on all channels
...
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer
svn-id: r25356
2007-02-03 19:05:53 +00:00
Johannes Schickel
46609ad455
formatting.
...
svn-id: r25230
2007-01-27 22:03:33 +00:00
Sven Hesse
5dab7f823f
Implemented some missing effects (arpeggio, sample delay, fine slides, finetune, pattern delay)
...
svn-id: r25229
2007-01-27 21:55:26 +00:00
Sven Hesse
7d1c2ecbb4
Ooops
...
svn-id: r25227
2007-01-27 17:53:56 +00:00
Sven Hesse
569136db75
Changed ProtrackerStream to inherit from Paula, unifying the mixing
...
svn-id: r25226
2007-01-27 17:32:54 +00:00
Travis Howell
20aca1092b
Add changes from madmoose to fix initial song length.
...
svn-id: r25219
2007-01-27 00:33:38 +00:00
Max Horn
8205cd9d3d
Removing two FIXMEs, based on what madmoose told me on #scummvm
...
svn-id: r25216
2007-01-27 00:11:15 +00:00
Max Horn
516cd07d10
Some cleanup / code formatting changes, and added some FIXME comments
...
svn-id: r25199
2007-01-26 11:47:26 +00:00
Sven Hesse
43fb2e6ed9
Moved Paula and Infogrames to sound/mods/
...
svn-id: r25191
2007-01-25 15:17:46 +00:00
Neil Millstone
9c12f89fc7
Changed size of sine table so it take less memory in cache RAM on DS port
...
svn-id: r24800
2006-12-01 22:44:19 +00:00
Torbjörn Andersson
a7950182f5
Changed the default instrument from "no instrument at all" to "the first
...
instrument in the instrument bank". It looks like Elvira 1 and 2 play music
without selecting any instruments first on some channels. This should fix bug
#1582389 .
svn-id: r24657
2006-11-08 18:47:33 +00:00
Gregory Montoir
a8d7265c5e
added basic handler for VOC block 9
...
svn-id: r24590
2006-11-03 21:03:12 +00:00
Max Horn
c718463a24
Added Audio::Mixer::setReady method to work around bug #1588848
...
svn-id: r24583
2006-11-01 21:28:14 +00:00
Max Horn
71763c3630
Modified version of patch #1584720 (add support for FLAC-1.1.3)
...
svn-id: r24554
2006-10-28 13:21:43 +00:00
Max Horn
a4a83df8a1
cleanup
...
svn-id: r24537
2006-10-27 22:47:53 +00:00
Travis Howell
99d6e6db5c
Add patch to make ProTracker a subclass of AudioStream, from madmoose
...
svn-id: r24465
2006-10-23 01:37:59 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
9edf1e6a1a
cleanup
...
svn-id: r24407
2006-10-21 12:44:10 +00:00
Max Horn
772affc7db
Yuck, mark abuse of OSystem::setSoundCallback
...
svn-id: r24404
2006-10-21 11:14:41 +00:00
Travis Howell
8c72861de4
Add option to load a module via stream
...
svn-id: r24387
2006-10-19 05:37:22 +00:00
Johannes Schickel
cf60ba63e9
some cleanup.
...
svn-id: r24374
2006-10-18 18:34:40 +00:00
Eugene Sandulenko
7282e24d3b
Add WIP (not yet plugged in) Protracker modules player
...
svn-id: r24351
2006-10-16 22:20:46 +00:00
John Willis
9aa0984702
Fix GP2X ifdef error in initial patch. Sorry.
...
svn-id: r24257
2006-10-09 20:38:59 +00:00
Eugene Sandulenko
3d84f11046
Patch #1432376 : "Very basic GP2X Backend"
...
svn-id: r24144
2006-10-06 19:01:39 +00:00
Eugene Sandulenko
8f44098332
Revert part of commit 23552 by agent-q. Apparently this slipped in by
...
mistake, as DS port sets FMOPL quality in ds/arm9/source/osystem_ds.cpp
void OSystem_DS::initBackend().
svn-id: r24046
2006-09-30 19:33:43 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Eugene Sandulenko
4e8df88c81
Fix bug #1501302 : "FF: Crackling Audio (Mac version)"
...
svn-id: r23970
2006-09-21 20:12:16 +00:00
Torbjörn Andersson
15f9a3ce33
Some more whitespace changes.
...
svn-id: r23655
2006-08-01 14:10:46 +00:00
Torbjörn Andersson
1e9e65d5bc
Whitespace.
...
svn-id: r23654
2006-08-01 14:05:18 +00:00
Johannes Schickel
8d453f2267
Another little formatting and a typo fix.
...
svn-id: r23621
2006-07-29 23:51:43 +00:00
Johannes Schickel
43fbc9eb81
Adding comment about forced MQ on small devices.
...
svn-id: r23620
2006-07-29 23:44:09 +00:00
Johannes Schickel
1d52f836dc
Some formatting 'fixes'
...
svn-id: r23619
2006-07-29 23:42:27 +00:00
Torbjörn Andersson
c32076e5d0
Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
...
for consistency with other #includes.
svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Neil Millstone
42cebc00dc
Speed increase for DS port - uses cache ram to store SIN_TABLE. Other versions are unaffected.
...
svn-id: r23552
2006-07-22 10:56:11 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Oystein Eftevaag
ef42b9962d
Spelling and formatting
...
svn-id: r23542
2006-07-21 10:59:55 +00:00
Torbjörn Andersson
6358547a43
More whitespace changes.
...
svn-id: r23496
2006-07-14 13:33:58 +00:00
Torbjörn Andersson
612ba0c2be
Some whitespace changes to see if the CIA bot is still silent.
...
svn-id: r23491
2006-07-13 14:01:48 +00:00
Max Horn
f35f4a4d1c
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
...
svn-id: r23458
2006-07-09 13:01:15 +00:00
Max Horn
bea72e9514
Patch #1519399 : DS Backend
...
svn-id: r23452
2006-07-09 11:47:17 +00:00
Max Horn
75628fe9d7
Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
...
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +00:00
Torbjörn Andersson
ecfedb1e81
Cleanup. It seems unnecessary to have a "break" right after an unconditional
...
return in a switch case.
svn-id: r23198
2006-06-20 18:55:25 +00:00
Lars Persson
67d58ec4bb
Added assert to audiostream allocation since failure causes serious problems
...
svn-id: r23184
2006-06-19 21:08:34 +00:00
Travis Howell
c77ad1a24c
Rename AdlibInstrument fields
...
svn-id: r22951
2006-06-06 11:07:03 +00:00
Torbjörn Andersson
a5fc242946
Clip samp to 2047, not 2048, so that it stays positive when multiplied by 16.
...
This seems to fix sound distortion in the Inherit the Earth demo.
svn-id: r22812
2006-05-31 22:37:28 +00:00
Travis Howell
04bf129416
Fix compressed sound in makeWAVStream()
...
svn-id: r22596
2006-05-24 06:11:39 +00:00
Torbjörn Andersson
dfda0555c3
Cleanup.
...
svn-id: r22573
2006-05-23 09:46:48 +00:00
Torbjörn Andersson
2531fd5873
Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. It
...
could use some cleanup, and there are a couple of TODOs sprinkled throughout
the code, but it seems to work reasonably well. Until the Kyra 3 main menu is
implemented, it won't actually be used though.
It uses the appendable audio stream class, which I have moved out of the SCUMM
engine.
svn-id: r22526
2006-05-18 21:46:07 +00:00
Torbjörn Andersson
ccac2aea20
Whitespace changes. (Oh dear, now *I'm* forcing myself to large re-compiles.)
...
svn-id: r22413
2006-05-12 12:03:36 +00:00
Eugene Sandulenko
d2546e3979
- Updated MSVC8 project files
...
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
int <-> bool conversions.
svn-id: r22397
2006-05-09 14:16:43 +00:00
Max Horn
ccfb74431b
cleanup
...
svn-id: r22244
2006-04-30 13:40:35 +00:00
Max Horn
27307acd7c
Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
...
svn-id: r22231
2006-04-29 22:33:31 +00:00
Travis Howell
30b4b87f58
Fix valgrind warning
...
svn-id: r22082
2006-04-22 05:48:40 +00:00
Eugene Sandulenko
ff6028b00b
- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it is
...
out of sync with video. See TODO there.
- Fixed bug with MS IMA ADPCM mono to make it possible to work in real streams.
svn-id: r22080
2006-04-22 03:00:21 +00:00
Max Horn
ce13d8e946
cleanup
...
svn-id: r21920
2006-04-15 21:27:56 +00:00
Johannes Schickel
fac96dfb34
Fixes possible illegal writes/segfaults in compressToType0 (added a comment about the changes).
...
svn-id: r21853
2006-04-13 23:13:56 +00:00
Eugene Sandulenko
3631505437
Fix typo reported in #1469339 : "FluidSynth error typo"
...
svn-id: r21831
2006-04-12 20:36:45 +00:00
Won Star
e1bbc61bb5
GP32 uses custom version of libtremor, so update header path.
...
svn-id: r21665
2006-04-07 10:44:20 +00:00
Eugene Sandulenko
8fa9bd6728
Removed extra exclamation marks in warning() calls as well.
...
svn-id: r21608
2006-04-04 22:21:10 +00:00
Eugene Sandulenko
d292c0ec55
Since our debug() adds an exclamation mark at the message end, remove
...
it in several calls to avoid duplication!!11!
svn-id: r21607
2006-04-04 22:04:51 +00:00
Max Horn
e4930bd96d
Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h instead
...
svn-id: r21605
2006-04-04 21:45:13 +00:00
Max Horn
9217472f0e
With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
...
svn-id: r21557
2006-04-02 14:16:31 +00:00
Max Horn
8cdee5a931
Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
...
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
9f93e5bb81
Renamed various container isEmpty() methods to empty() to match STL conventions
...
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
f7d16b0000
Updated/added some comments on VOC/WAVE functions
...
svn-id: r21384
2006-03-19 14:11:32 +00:00
Travis Howell
6632a4df53
Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
...
svn-id: r21376
2006-03-19 05:15:49 +00:00
Torbjörn Andersson
839b5d3e86
Added workaround in FMOPL for the pathological case where a note was turned off
...
while still at the very beginning of the "attack" phase. This is the very
lowest point on the attack curve, yet it would continue from the beginning of
the release curve, i.e. its very highest point. This is what caused Kyra to
often play low-frequency notes at the very beginning of a new song. (That, and
a truly bizarre function for initialising the channels.)
The proper fix would be to locate the correct point on the release curve and
continue from there. For now, though, only handle the trivial case.
svn-id: r21302
2006-03-14 23:01:44 +00:00
Torbjörn Andersson
59b6f0f715
Fixed a potential bug that could cause memory to be read out-of-bounds.
...
(Unfortunately, this does not fix the Kyra bug I'm looking for.)
In the most extreme case:
* DR and RR will point to &DR_TABLE[60], and AR will point to &AR_TABLE[60]
* SLOT->KSR will be 0
* CH->kcode will be 15
In that case, it will attempt to access AR[15], RR[15] and DR[15], i.e.
AR_TABLE[75] and DR_TABLE[75]. So these arrays need to be 76 elements, not 75.
We used to initialise element 75, but this was changed to 74 to match the size
of the arrays. Buf if my reasoning is correct, it was the arrays that were too
small.
svn-id: r21301
2006-03-14 20:09:32 +00:00
Eugene Sandulenko
233c2a42f9
WIP of maemo port
...
svn-id: r21055
2006-03-04 01:32:04 +00:00
Max Horn
140f6fce26
Hiding the implementation of ADPCMInputStream from the public, in favor of a factory function (just like with the other AudioStream subclasses)
...
svn-id: r21043
2006-03-03 15:51:33 +00:00
Max Horn
5833b3b0aa
It's really 'MPEG', not 'Mpeg'
...
svn-id: r21042
2006-03-03 15:46:39 +00:00
Max Horn
a836a83d84
Explain the (admittedly strange) usage of some of our makeXXXStream factory functions
...
svn-id: r21040
2006-03-03 15:36:12 +00:00
Jamieson Christian
2469e00248
SysEx data now passed around with const pointers. Permits simplification of some SysEx client code.
...
Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers.
svn-id: r20952
2006-02-27 01:59:07 +00:00
Max Horn
a161b09728
Moved dummy MIDI driver from backends/ to sound/ (this fixes bug #1435221 )
...
svn-id: r20878
2006-02-25 14:45:31 +00:00
Paweł Kołodziejski
bb03e03561
fixed warnings for msvc7
...
svn-id: r20831
2006-02-23 18:11:22 +00:00
Max Horn
80cf2fa46f
Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
...
svn-id: r20584
2006-02-12 00:16:31 +00:00
Chris Apers
075e509605
- Use midi drivers only when needed
...
- disable zodiac midi driver with scumm engine since it doesn't work with it in ARM mode (??)
svn-id: r20524
2006-02-11 10:57:07 +00:00
Max Horn
406703148f
Change CVS keywords to SVN keywords
...
svn-id: r20515
2006-02-11 10:05:31 +00:00
Max Horn
0ad58cdb95
Removed .cvsignore files
...
svn-id: r20424
2006-02-07 22:50:14 +00:00
Chris Apers
4a6f2ab3d3
Wrong #ifdef
...
svn-id: r20314
2006-01-30 19:13:25 +00:00
Travis Howell
e990352219
Fix memory leak, if called directly.
...
svn-id: r20199
2006-01-27 00:10:18 +00:00
Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Torbjörn Andersson
a61e62db95
Lowered FluidSynth's default gain, and added config file and command-line
...
options to specify it. FluidSynth's gain ranges from 0.0 through 10.0 and
is probably measured in decibel, but to keep things simple, ScummVM uses
settings from 0 through 1000 instead. (Though currently there's no guard
against invalid settings.)
This is a slightly revised version of the non-GUI part of patch #1336171 .
svn-id: r20030
2006-01-14 20:05:56 +00:00
Max Horn
60fcd5a171
* Replaced MDT_PREFER_NATIVE/MDT_NATIVE by MDT_PREFER_MIDI/MDT_MIDI).
...
* Changed MidiDriver::createMidi so that if MD_ADLIB is passed, it
now *does* instantiate the adlib driver.
* Rewrote MidiDriver::detectMusicDriver (code should be clearer now,
and hopefully easier to adapt/maintain). Note that the behavior
changed slightly (this may require some tweaking).
* Added MidiDriver::findMusicDriver which works similar to the old
MidiDriver::parseMusicDriver but returns the full MidiDriverDescription
and ignores all characters in the passed driver name following a colon ":".
* Changed MidiDriver::parseMusicDriver to use MidiDriver::findMusicDriver.
* Changed game engines to match the changes made to MidiDriver.
* Modified SCUMM engine to not record the selected midi/music driver
(in _midiDriver), but rather the music *type* (in _musicType).
svn-id: r19859
2005-12-30 14:18:21 +00:00
Max Horn
911300a9e3
Disable 'coreaudio' driver name alias for now -- it makes the CoreAudio driver appear twice in the GUI
...
svn-id: r19845
2005-12-29 17:11:07 +00:00
Max Horn
9de7536057
MidiDriver: Some cleanup, added some comments/TODOs, preparations for a potential cleanup
...
svn-id: r19844
2005-12-29 16:55:21 +00:00
Joost Peters
c4c9ca6f99
Fix MI1 & BS1 bugs reported in #1276592 - both are related to the number of open file handles.
...
svn-id: r19837
2005-12-27 19:17:53 +00:00
Max Horn
fcf1af2ffc
New CoreMIDI midi backend for OS X
...
svn-id: r19832
2005-12-26 11:18:25 +00:00
Max Horn
2c12614ae1
Simplify ADPCM IMA decoding (based on IMA docs). The result will only be 99.9% identical, but the code should be faster on most modern machines
...
svn-id: r19777
2005-12-11 13:18:27 +00:00
Max Horn
3107d08f27
Unified IMA code a little bit
...
svn-id: r19767
2005-12-09 22:04:28 +00:00
Max Horn
e0e1dcda08
URL pointing to an IMA format reference
...
svn-id: r19766
2005-12-09 21:42:19 +00:00
Lars Persson
6ed67205ec
1. New build structure for Symbian builds to allow easier build and project updates
...
2. Updated framework files for new structure
3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether.
4. Incorporated Sevs code formatting changes in the new Symbian source structure.
5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered.
6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked)
7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome.
8. Built for S60V1 and UIQ2 targets from the cvs
9. Updated Readme with new build instructions.
Any comments are welcome. Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated.
svn-id: r19739
2005-12-03 21:29:13 +00:00
Chris Apers
64bfec97d9
Not needed anymore :)
...
svn-id: r19735
2005-12-03 19:04:33 +00:00
Johannes Schickel
3a9bd3c18c
Fixed (wrongly) changed address in the header.
...
svn-id: r19733
2005-12-03 13:31:09 +00:00
Lars Persson
47ad571e0c
Updated to follow ScummVM coding standards i.e spaces, indents & "studpid" things fixed.
...
svn-id: r19728
2005-12-02 18:36:21 +00:00
Lars Persson
a6b7333b33
Working Vorbis support for Symbian OS
...
svn-id: r19725
2005-12-01 19:14:38 +00:00
Eugene Sandulenko
edfae828f6
Patch #1341626 : "New GP32 port"
...
svn-id: r19710
2005-11-27 02:35:57 +00:00
Travis Howell
81a956eeb3
Revert as requested.
...
svn-id: r19582
2005-11-13 09:21:15 +00:00
Travis Howell
d17e916543
Fix sound looping regression in simon2 (Windows).
...
Sound flags were been reset.
svn-id: r19557
2005-11-11 06:43:38 +00:00
Joost Peters
f94b11ec55
the PSP port of libtremor was updated, so this define is no longer needed
...
svn-id: r19488
2005-11-06 13:49:52 +00:00
Max Horn
5e75092dec
Avoid using powf/expf/logf under Mac OS X, as they cause binary & compile incompatibilities with older system versions
...
svn-id: r19396
2005-11-02 20:50:37 +00:00
Eugene Sandulenko
37fbcf61ad
Fix MS IMA ADPCM decoder. I like Microsoft so much for reinventing another
...
standard.
svn-id: r19203
2005-10-21 02:00:12 +00:00
Eugene Sandulenko
4306c9344c
Improved IMA ADPCM decoder. It appeared that MS violated yet another standard
...
and nibbles order in samples appeared to be swapped. Had to untemplate
whole thing over again because I have no idea how to speicalize one of two
parameters in templates.
Now voices are clean but have some ticks, looks like overload. ITE wasn't
broken ;)
svn-id: r19166
2005-10-19 04:59:18 +00:00
Eugene Sandulenko
a050da784f
Simplified common buffer reader. Implemented now unused Microsoft IMA
...
ADPCM buffer reader. These folks invented ye another incompatible standard
and here it will sit #if 0'ed just for a case.
svn-id: r19164
2005-10-19 03:25:00 +00:00
Eugene Sandulenko
26ad88ec23
Fix bug #1221549 "MT32emu: doesn't compile under gcc 3.4.2 / i386"
...
svn-id: r19147
2005-10-18 04:26:51 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
797b6e5a7c
PalmOS ARM too
...
svn-id: r19040
2005-10-12 19:47:15 +00:00
Torbjörn Andersson
744a01b449
Looks like my pitch wheel change still has the ability to break things. See
...
bug #1324103 .
I've changed it - again - so that now it only centers the pitch wheels on
unload if a new mpCenterPitchWheelOnUnload property has been set. Currently
only the SAGA engine does that, so if it still breaks it only breaks SAGA.
I've also fixed what looked like an unintentional fall-through in the
MidiParser::property() function. Surently that can't cause any new
regressions? Please.
svn-id: r19032
2005-10-12 06:57:25 +00:00
Torbjörn Andersson
bb14140ca7
Moved the pitch wheel centering to unloadMusic() instead, since having it
...
in allNotesOff() broke the Kyra music. I have no idea why.
svn-id: r19023
2005-10-11 17:48:16 +00:00
Torbjörn Andersson
abb9ee416f
Removed the "reset all controllers" message. It currently breaks on Adlib,
...
and I don't want to have to worry about it. Centering the pitch wheel is
the change that I primarily wanted to make, and that should be supported by
every MIDI driver we have.
svn-id: r18999
2005-10-10 09:31:27 +00:00
Torbjörn Andersson
5b92d1e9fa
I noticed yesterday that if you change music in IHNM at the "right" moment,
...
the music will be horribly out of tune because the pitch wheel setting from
the old music will still apply.
I hope allNotesOff() is the correct place to ensure that the pitch wheel is
centered.
svn-id: r18998
2005-10-10 07:00:31 +00:00
Eugene Sandulenko
2b1d4ef990
Fix regression caused by recent code cleanup. Each input byte should be
...
processed twice, so even if stream end is reached, there should be another
iteration. Otherwise it always returned one byte less than expected.
svn-id: r18859
2005-09-22 20:45:46 +00:00
Max Horn
7aa398a9d0
Clarify the AudioStream::readSample requirements
...
svn-id: r18844
2005-09-18 14:49:54 +00:00
Max Horn
114efafe7d
Cleaned up the ADPCM code
...
svn-id: r18840
2005-09-17 10:58:01 +00:00
Joost Peters
42d01d468d
libtremor is installed to a different location when using the port from pspdev svn
...
svn-id: r18838
2005-09-17 10:28:50 +00:00
Gregory Montoir
ad3c2e1dbc
committed patch #1281714 'Kyra 1 Sound Patch'. Thanks LordHoto.
...
svn-id: r18807
2005-09-11 14:35:34 +00:00
Chris Apers
5870531184
Change PalmOS ident
...
svn-id: r18756
2005-09-03 18:05:19 +00:00
Jonathan Gray
603a5e4d6f
Don't explicity check for tremor and vorbis everywhere and
...
require both USE_TREMOR and USE_VORBIS to be defined when
using tremor.
svn-id: r18642
2005-08-10 12:42:56 +00:00
Jonathan Gray
3c1b5648ae
Rest of the changes required for tremor to actually work.
...
Based on patches against 0.7.1 by Jolan Luff.
svn-id: r18641
2005-08-10 06:16:26 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
f7749e4789
I believe this fixes a GCC 4 compile error, but I can't run the MT-32
...
emulator (my computer is too slow, and anyway I don't have the necessary
data files) so I haven't tested it other than by compiling it.
See bug #1224138 for details.
svn-id: r18558
2005-07-19 17:30:49 +00:00
Max Horn
8a59ff208c
Fix more GCC 4.0 warnings
...
svn-id: r18533
2005-07-11 00:48:27 +00:00
Jerome Fisher
407dd03e28
- Small changes to sync with Munt.
...
svn-id: r18488
2005-07-03 22:56:51 +00:00
Jonathan Gray
2e273bad42
Enhanced tremor support from Jolan Luff.
...
The configure script now works as follows for detection:
Tremor only: use tremor
Vorbis only: use vorbis
Both: use vorbis
This behaviour can be changed with newly added configure script options.
svn-id: r18478
2005-06-30 09:14:36 +00:00
Max Horn
48a00b6846
Fix warning
...
svn-id: r18469
2005-06-26 23:47:19 +00:00
Lars Persson
f001a43830
Updated Scummvm MP3 implementation with patch so it works with Symbian multithreading. This openingen/closing the file for each chunk to read. This does only affect the Symbian build and the other ports should work as normal.
...
svn-id: r18466
2005-06-26 19:44:55 +00:00
Max Horn
02568d4498
oops forgot this in my previous commit
...
svn-id: r18457
2005-06-24 16:39:17 +00:00
Max Horn
9da50d6662
Fixed Oki table entry; added doc URL; mention IMA ADPCM
...
svn-id: r18456
2005-06-24 16:21:10 +00:00
Torbjörn Andersson
40236ee7c1
For consistency, specify directory when including files.
...
svn-id: r18454
2005-06-24 16:16:46 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a
Patches needed to build for SYMBIAN32 WINS/GCC added.
...
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).
svn-id: r18430
2005-06-21 22:08:21 +00:00
Max Horn
21efddda22
Added virtual destructor, to silence a few more GCC 4 warnings
...
svn-id: r18420
2005-06-20 18:27:33 +00:00
Torbjörn Andersson
eeab93cf09
More whitespace changes.
...
svn-id: r18273
2005-05-27 12:43:19 +00:00
Oliver Kiehl
868f2b3f71
Mixer is now in namespace Audio. fix compiling.
...
svn-id: r18056
2005-05-11 17:20:32 +00:00
Max Horn
2de46dc8eb
Moved some more stuff to namespace Audio (enough for tonight)
...
svn-id: r18040
2005-05-11 00:01:44 +00:00
Max Horn
1a615346ab
Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
...
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
72f4c03b0b
Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
...
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Paweł Kołodziejski
39cb499fcf
fixed warning
...
svn-id: r18012
2005-05-09 22:38:44 +00:00
Max Horn
52bbc86797
Patch #1181544 (AmigaOS 4 changes)
...
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn
9bfc9281a1
Fix doxygen message
...
svn-id: r18000
2005-05-09 12:26:07 +00:00
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Max Horn
d00117ec4b
Fixed some doxygen warnings
...
svn-id: r17923
2005-05-05 15:59:24 +00:00
Travis Howell
77d6a04abc
Switch link to web page with more detailed information on compression types.
...
svn-id: r17905
2005-05-04 01:57:03 +00:00
Eugene Sandulenko
575e94602c
o Fixed ADPCM decoder length bug
...
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-03 22:12:23 +00:00
Eugene Sandulenko
a71d60686c
Moved Oki ADPCM aka VOX decoder from SAGA engine to common sound/ directory.
...
Implemented IMA ADPCM decoder.
svn-id: r17903
2005-05-03 20:36:07 +00:00
Max Horn
969ef3dac9
* Added new virtual base class 'Stream', ReadStream and
...
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-22 17:40:09 +00:00
Gregory Montoir
8b559ff875
code conventions
...
svn-id: r17714
2005-04-20 11:13:56 +00:00
Gregory Montoir
5a930d8fe7
this should fix bug #1181979
...
svn-id: r17713
2005-04-20 11:03:36 +00:00
Andrew Kurushin
b31ee93c75
vc compile warn
...
svn-id: r17637
2005-04-16 17:05:14 +00:00
Gregory Montoir
0f3ab2206a
Only cache a track if it really exists, this should prevent some issues when playing with invalid compressed tracks. See also bug report #1181979 .
...
svn-id: r17591
2005-04-13 19:50:58 +00:00
Max Horn
839c8add38
Get rid of errno; add some (optional) error checking facilities to SaveFile classes (they are ugly, and to simple, but better than nothing)
...
svn-id: r17589
2005-04-13 18:36:55 +00:00
Eugene Sandulenko
bdbd56406c
Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
...
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.
svn-id: r17571
2005-04-13 00:11:49 +00:00
Torbjörn Andersson
d4d045b117
Forgot to add files when committing patch #1175374 .
...
svn-id: r17513
2005-04-10 14:35:11 +00:00
Torbjörn Andersson
13dc149ded
Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
...
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-10 14:33:44 +00:00
Jonathan Gray
24c92d0091
Remove usage of vsprintf in favour of vsnprintf and make
...
more use of STRINGBUFLEN. Some ports may need a new stub for
this, discussed with Chrilith.
svn-id: r17463
2005-04-09 01:52:44 +00:00
Max Horn
9e2e00881f
Renamed getActiveChannelSoundID to getSoundID and fixed its semantics to avoid race conditions
...
svn-id: r17377
2005-04-04 17:43:00 +00:00
Travis Howell
f230fe65e8
Add 8 sound channel support for HE games
...
-Allows sound looping to work
Added support for WAVE format musuc used in later HE100 games.
svn-id: r17372
2005-04-04 11:43:25 +00:00
Jerome Fisher
eda317924e
Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. 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-04-03 22:01:38 +00:00
Max Horn
3084724d7d
To prevent race conditions, SoundMixer::isSoundHandleActive must lock the 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-23 16:41:44 +00:00
Max Horn
61d0e3f02c
Make sure SoundHandle's are inited
...
svn-id: r17194
2005-03-22 18:29:02 +00:00
Jerome Fisher
7f83c47860
Merged with latest Munt CVS.
...
* 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-20 16:24:55 +00:00
Max Horn
0e784d41d7
Simplified SoundHandle implementation
...
svn-id: r17107
2005-03-12 20:26:49 +00:00
Max Horn
7cd2cb2b17
PlayingSoundHandle -> SoundHandle; also, turned the handle activity check into a mixer method
...
svn-id: r17106
2005-03-12 18:56:09 +00:00
Chris Apers
a68d6ad671
PalmOS : ARM optimized OPL driver
...
svn-id: r17079
2005-03-11 11:01:52 +00:00
Max Horn
0ec193b4be
changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
...
svn-id: r17052
2005-03-09 18:12:54 +00:00