Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-08-13 | Reverted r33815 (But not r33816). | Kari Salminen | |
svn-id: r33819 | |||
2008-08-13 | Shutting up Valgrind about using uninitialised values from array _chn in ↵ | Kari Salminen | |
function stopNote. svn-id: r33816 | |||
2008-08-13 | Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. ↵ | Kari Salminen | |
Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game. svn-id: r33815 | |||
2008-04-21 | Fix timing in Apple IIGS MIDI parsing. Now sounds should get triggered at ↵ | Kari Salminen | |
the correct times without the previously observed time jitter effect. svn-id: r31636 | |||
2008-04-17 | Fixed gcc warnings. | Johannes Schickel | |
svn-id: r31550 | |||
2008-04-17 | Fix building with GCC (a few extra ;'s got in there somehow). | John Willis | |
svn-id: r31545 | |||
2008-04-17 | Implemented Apple IIGS MIDI playing with software mixing. | Kari Salminen | |
(NOTE: As you can hear this is a work in progress ;-)) - Added IIgsSoundMgr class for handling Apple IIGS sounds and moved functionality inside it - Added IIgsMidiChannel class for handling Apple IIGS MIDI channels - Made sound effects playing use the IIgsSoundMgr class too - Modified software mixing routine to mix multiple sounds svn-id: r31544 | |||
2008-04-15 | Make convertWave-function static as it uses no member variables. | Kari Salminen | |
svn-id: r31510 | |||
2008-04-15 | Cleanup (Remove unneeded functions and rename a struct correctly). | Kari Salminen | |
svn-id: r31509 | |||
2008-04-15 | Move MIDI program change mappings to their own structs (Useful for later ↵ | Kari Salminen | |
changes). svn-id: r31508 | |||
2008-04-08 | Implement the full range of Apple IIGS MIDI program number to instrument ↵ | Kari Salminen | |
mapping. Switch to using 8-bit signed sample data with Apple IIGS (In preparation for mixing multiple channels). Make Apple IIGS wavefile handling use SharedPtr and Array. svn-id: r31451 | |||
2008-04-03 | Add Apple IIGS MIDI program number to instrument number mappings (Both for ↵ | Kari Salminen | |
the older instrument set used by SQ1 only and for the newer instrument set used by all the other tested Apple IIGS games). svn-id: r31371 | |||
2008-04-03 | After further testing it seems Apple IIGS midi playing speed is actually 60 ↵ | Kari Salminen | |
ticks per second. Hurrah! svn-id: r31367 | |||
2008-04-03 | Fix naming of the Apple IIGS midi speed variable and its value (Was ↵ | Kari Salminen | |
erronously named bpm although was really ticks per second rather than ticks per minute). svn-id: r31366 | |||
2008-04-03 | Fix Apple IIGS midi playing speed (Based on tests with Apple IIGS KQ1 and ↵ | Kari Salminen | |
SQ1 under MESS 0.124a) svn-id: r31365 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-09-18 | Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵ | Max Horn | |
compilation on some ports) svn-id: r28944 | |||
2007-09-11 | Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵ | Max Horn | |
comments; and some other related cleanup svn-id: r28890 | |||
2007-09-03 | Fix warning about unused static function | Max Horn | |
svn-id: r28847 | |||
2007-09-03 | Some updates to preagi's sound system and code cleanup | Filippos Karapetis | |
svn-id: r28844 | |||
2007-08-28 | Fix relative pitch handling (It's signed, was interpreted as unsigned before). | Kari Salminen | |
svn-id: r28759 | |||
2007-08-21 | An encountered zero in an Apple IIGS sample stream turns off looping for ↵ | Kari Salminen | |
that stream. Implemented this. svn-id: r28688 | |||
2007-08-19 | Made Apple IIGS MIDI file parsing work (They aren't completely standard MIDI ↵ | Kari Salminen | |
files). Enables playing the MIDI files (No sound! Only stepping through). Speed's probably not correct. svn-id: r28674 | |||
2007-08-19 | Removed superfluous variable checkings. Made it so that Apple IIGS mixing ↵ | Kari Salminen | |
code doesn't try to mix MIDI sounds yet as mixing them isn't yet supported. svn-id: r28673 | |||
2007-08-19 | Fixes previously crashing sound. Crash happened because of PCjr 4-channel ↵ | Kari Salminen | |
mixing code trying to use uninitialized values (phase, ins etc) when mixSound was called before anything was playing. svn-id: r28672 | |||
2007-08-19 | Some cleanup / const correctness / OOfication | Max Horn | |
svn-id: r28671 | |||
2007-08-19 | Fixed warning about global symbol 'chn' being shadowed by local declaration ↵ | Max Horn | |
'chn' (note: naming a global var 'chn' is probably a bad idea. And using a class would be far better anyway ;) svn-id: r28669 | |||
2007-08-18 | Changed Apple IIGS sample playing frequency multiplier from 1076.0 to C6 ↵ | Kari Salminen | |
(i.e. about 1046.5). Commented out a warning that comes too often. svn-id: r28657 | |||
2007-08-18 | Added support for playing Apple IIGS samples. The code's not very pretty at ↵ | Kari Salminen | |
the moment (Work in progress). Apple IIGS MIDI sound probably broken somehow at the moment. svn-id: r28656 | |||
2007-08-17 | Added a definition for Apple IIGS sound emulation mode, made sound ↵ | Kari Salminen | |
initialization set it when appropriate and instruments loading use it. svn-id: r28647 | |||
2007-08-16 | Fixed some warning | Max Horn | |
svn-id: r28638 | |||
2007-08-15 | Added rudimentary classes for different AGI sound resources (IIgsMidi, ↵ | Kari Salminen | |
IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound. svn-id: r28630 | |||
2007-08-15 | Removed unneeded code from inside #if 0 ... #endif -clauses. | Kari Salminen | |
svn-id: r28628 | |||
2007-08-15 | Removed use of decodeSound(int resnum). Not needed at the moment (Probably ↵ | Kari Salminen | |
going to be replaced by other functionality later). svn-id: r28627 | |||
2007-08-15 | Removed use of USE_IIGS_SOUND (#define). | Kari Salminen | |
svn-id: r28626 | |||
2007-08-15 | Changed use of USE_CHORUS (#define) to g_useChorus (static boolean). | Kari Salminen | |
svn-id: r28625 | |||
2007-08-15 | Made AGI's 4-channel PCjr sound not need structure packing pragmas anymore. ↵ | Kari Salminen | |
Also added more use of little endian reading macros. svn-id: r28624 | |||
2007-08-14 | Moved Apple IIGS related structs' read & finalize functions' implementations ↵ | Kari Salminen | |
to sound.cpp and left the declarations in sound.h. svn-id: r28614 | |||
2007-08-14 | Defined some functions in Agi::SoundMgr and moved stuff generally around ↵ | Kari Salminen | |
between AGI's sound.h and sound.cpp. Assimilated calcTrueSampleSize into another function. svn-id: r28613 | |||
2007-08-14 | Unified intendation, purely visual changes. | Kari Salminen | |
svn-id: r28611 | |||
2007-08-14 | Not saving Apple IIGS instrument header's unneeded info anymore (Priority ↵ | Kari Salminen | |
increment and spare byte). svn-id: r28610 | |||
2007-08-13 | Added a couple of simple AgiSound stop, play, isPlaying-functions. | Kari Salminen | |
svn-id: r28598 | |||
2007-08-13 | Grouped wave lists together into oscillators (Oscillators always consists of ↵ | Kari Salminen | |
two waves). svn-id: r28597 | |||
2007-08-13 | Made calcTrueSampleSize seek back to stream's start when ending the function. | Kari Salminen | |
svn-id: r28595 | |||
2007-08-13 | Moved read- and finalize-functions into corresponding structs and fixed ↵ | Kari Salminen | |
calls to them where needed. svn-id: r28594 | |||
2007-08-13 | Added more functions to help with determining the Apple IIGS samples' real ↵ | Kari Salminen | |
lengths. svn-id: r28592 | |||
2007-08-11 | Fix warning() format string | Max Horn | |
svn-id: r28518 | |||
2007-08-10 | Added Apple IIGS sample's true size calculation (A zero byte can end the ↵ | Kari Salminen | |
sample prematurely). svn-id: r28514 | |||
2007-08-10 | Parsing Apple IIGS wave info into more easily accessible variables in the ↵ | Kari Salminen | |
memory. svn-id: r28513 | |||
2007-08-09 | Added Apple IIGS instruments and wave file loading.\n(Apple IIGS music ↵ | Kari Salminen | |
playing is broken at the moment). svn-id: r28508 |