Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-10-03 | undo aquadran's recent changes here. If this doesn't compile on MSVC7, fine, ↵ | Max Horn | |
simply remove it from your project file - it's not supposed to be compiled ATM svn-id: r10564 | |||
2003-10-03 | fixed compilation under msvc7 | Paweł Kołodziejski | |
svn-id: r10562 | |||
2003-10-02 | cleanup & restructuring; in particular move the midi driver list to its own ↵ | Max Horn | |
source file svn-id: r10550 | |||
2003-09-28 | removed duplicate g_timer object (one was global, one was static to ↵ | Max Horn | |
timer.cpp); set g_system earlier (might prevent a few race conditions) svn-id: r10471 | |||
2003-09-27 | Timer services are now available through g_timer, so | Jamieson Christian | |
you don't have to go through the Engine to get to them. svn-id: r10450 | |||
2003-09-26 | Converted the MPU-401 timer to use the Timer class. | Jamieson Christian | |
Since this was the only place where we were using create_thread, that method should be removable now. I also removed the midi_driver_thread overrides for the MorphOS and YPA1 (Palm) backends. These need to be tested by their respective porters. svn-id: r10414 | |||
2003-09-25 | Fix for Bug [810564] ALL: missing instruments with native MT-32 | Jamieson Christian | |
As defined in Patch [811623] MT-32 patch for Bug 810564 Added a channel mask to MPU-401 devices so that --native-mt32 may force the device to use only the subset of MIDI channels actually supported by the MT-32. Also added a best-guess interpretation of iMuse Part priority in the SysEx 0x00 msg, since part priorities become more of an issue when the channel count is cramped. svn-id: r10409 | |||
2003-09-19 | work around silly bug in Microsoft Visual Studio .NET 2003. M$ does not stop ↵ | Max Horn | |
at breaking HTML and Java, no, now they have to mutilate C/C++, too. MS-C instead of ANSI-C, anybody? *grmbl* svn-id: r10319 | |||
2003-09-18 | changed & documented the premixer semantics | Max Horn | |
svn-id: r10294 | |||
2003-09-18 | moved engine.* to base; this fixes some linking issues when building a ↵ | Max Horn | |
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287 | |||
2003-09-17 | some tweaks to the build system (work toward plugin support) | Max Horn | |
svn-id: r10279 | |||
2003-09-16 | Don't call the premix function when the mixer is paused. (This is | Torbjörn Andersson | |
particularly noticeable in games with PC speaker emulation, but I could hear faint noises in AdLib music as well.) svn-id: r10262 | |||
2003-09-11 | some (untested!) support for backends which require unsigned audio samples | Max Horn | |
svn-id: r10183 | |||
2003-09-10 | fixed module.mk | Max Horn | |
svn-id: r10155 | |||
2003-09-10 | moved declaration of error/warning/debug from engine.h to util.h; added voc.cpp | Max Horn | |
svn-id: r10150 | |||
2003-09-09 | Up debug level of this warning, since it floods output in loom | Travis Howell | |
svn-id: r10131 | |||
2003-09-09 | map 0xA5 to 11025 Hz, too | Max Horn | |
svn-id: r10129 | |||
2003-09-09 | map 0xD3 in VOC headers to 22050 Hz, too | Max Horn | |
svn-id: r10128 | |||
2003-09-08 | start to use code from the original resample codebase, since it uses fixed ↵ | Max Horn | |
point math instead of float; however, the code is not at all complete right now, I just commit this to get it off my HD (neither the old nor the new code in resample.cpp work anyway) svn-id: r10089 | |||
2003-09-07 | new header file for VOC specific stuff | Max Horn | |
svn-id: r10072 | |||
2003-09-06 | removed pauseMixer method from mixer, and renamed stop to stopChannel | Max Horn | |
svn-id: r10042 | |||
2003-09-05 | optimized channel volume/pan handling | Max Horn | |
svn-id: r10028 | |||
2003-09-05 | moved the sound ID param in playRaw before volume/pan | Max Horn | |
svn-id: r10023 | |||
2003-09-05 | oops | Max Horn | |
svn-id: r10021 | |||
2003-09-05 | added default volume/pan values | Max Horn | |
svn-id: r10019 | |||
2003-09-05 | cleaned up sound/mixer.h a bit; renamed some mixer methods for consistency | Max Horn | |
svn-id: r10018 | |||
2003-09-05 | fixes for uninitialized pan and volume | Paweł Kołodziejski | |
svn-id: r9998 | |||
2003-09-02 | remove shadow'd var by using variable name from prototype | Jonathan Gray | |
svn-id: r9979 | |||
2003-09-02 | moved volume and pan control into flow func | Paweł Kołodziejski | |
svn-id: r9976 | |||
2003-09-02 | Fixed compiler warning that I introduced earlier. | Torbjörn Andersson | |
svn-id: r9974 | |||
2003-09-02 | Added per-channel pausing. Maybe I should have named the pauseChannel() | Torbjörn Andersson | |
function simply pause() to be consistent with stop(), but there already is a pause() function and I don't want to have two functions with the same name doing different things. (The current pause() function pauses all channels.) svn-id: r9968 | |||
2003-09-01 | forgot this | Paweł Kołodziejski | |
svn-id: r9957 | |||
2003-09-01 | The channel could be destroyed so changeVolumeAndPan can't access it in that ↵ | Chris Apers | |
case svn-id: r9955 | |||
2003-08-31 | added comments: | Paweł Kołodziejski | |
volume: 0 - 127 pan: (-127 <-> 0 <-> 127) (left <-> center <-> right) svn-id: r9945 | |||
2003-08-31 | added mixer features: volume and pan control per channel | Paweł Kołodziejski | |
svn-id: r9944 | |||
2003-08-30 | Made PlayingSoundHandle unsigned again, since the mixer change was | Torbjörn Andersson | |
reverted. svn-id: r9930 | |||
2003-08-30 | revert id handle stuff | Paweł Kołodziejski | |
svn-id: r9927 | |||
2003-08-30 | If -1 is going to be a valid value for a PlayingSoundHandle, the data type | Torbjörn Andersson | |
had better be signed... svn-id: r9925 | |||
2003-08-30 | added func isChannelActive for mixer, and fixed handling numbers of channel 0 | Paweł Kołodziejski | |
svn-id: r9924 | |||
2003-08-24 | small cleanup for the Ogg playback code | Max Horn | |
svn-id: r9852 | |||
2003-08-16 | More corrections to the VAR_MUSIC_TIMER | Jamieson Christian | |
computations, mostly to produce the exptected output with AD resources. svn-id: r9730 | |||
2003-08-16 | Corrected timing mechanism for RO music streams. | Jamieson Christian | |
RO streams have built-in timer markers (the unknown 0xA0 mentioned in FR [742249]) that override automated methods of updating VAR_MUSIC_TIMER. Since these timer markers do not seem to be present in AD resources, the old mechanism is used if MD_ADLIB is the current MidiDriver. svn-id: r9720 | |||
2003-08-14 | Removed incorrect acknowledgements (copy/paste error) | Jamieson Christian | |
svn-id: r9680 | |||
2003-08-13 | ZeroInputStream::readBuffer didn't have the same signature as the base class ↵ | Bertrand Augereau | |
version, making VC.NET 2K3 complain svn-id: r9668 | |||
2003-08-13 | Added PC Speaker and PCjr command line options, | Jamieson Christian | |
in preparation for Kirben's addition of WA support for games that already have AD tracks. svn-id: r9656 | |||
2003-08-09 | added SoundMixer::pauseChannels for pausing SFX and keeping adlib music ↵ | Robert Göffringmann | |
running (needed by BASS when menu bar drops down) svn-id: r9607 | |||
2003-08-08 | Added generic send() option to MidiChannel. | Jamieson Christian | |
This circumvents problems doing generic send() calls to MidiDrivers that support more than 16 MIDI channels (i.e. Adlib). Because of the way it interacts with MidiDriver, Simon could have run into a problem if it tried to allocate more than 15 Adlib music channels (though this would only happen in very, VERY rare circumstances). Also fixed a problem with the channel numbering scheme used by MidiDriver_Adlib, in particular the percussion channel number. svn-id: r9604 | |||
2003-08-08 | Send All Notes Off to every channel on close | Jamieson Christian | |
svn-id: r9593 | |||
2003-08-07 | my code was actually right. Rather the calling code is evil, it passes us ↵ | Max Horn | |
odd buffer sizes for 16 bit audio data, which of course made no sense -> I added some asserts against this svn-id: r9590 | |||
2003-08-07 | Fix for Bug [780924] IMUSE: Pitchbend isn't reset when changing tracks | Jamieson Christian | |
When scanning (not jumping) to a target location in a different track, the current track is first scanned to the end to update the player state before starting into the new track. Miscellaneous scan-related cleanup is included. svn-id: r9589 |