Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2003-08-07 | replace code in readBuffer by slightly less efficient but hopefully working ↵ | Max Horn | |
code (at least it fixes an endless loop in COMI for me). I did fix the originaly bug in my optimization, and right now I clueless as to why that code isn't working as it should <sigh>. Need sleep svn-id: r9588 | |||
2003-08-06 | Added comment to new macro | Jamieson Christian | |
svn-id: r9581 | |||
2003-08-06 | Changed readSample template function | Jamieson Christian | |
to Fingolfin's new READSAMPLE macro. Circumvents buggy template function handling in MSVC6. Props to Fingolfin for tracking this bug down by remote. svn-id: r9580 | |||
2003-08-06 | some cleanup | Max Horn | |
svn-id: r9575 | |||
2003-08-06 | Fixed type mismatch error compiling palmos port | Chris Apers | |
svn-id: r9552 | |||
2003-08-05 | getting rid of g_mixer; removing lots of whitespace | Max Horn | |
svn-id: r9527 | |||
2003-08-05 | some cleanup; added Channel::getVolume, once somebody tells me what exactly ↵ | Max Horn | |
is needed, I can add per-channel volume, and also per-channel panning svn-id: r9525 | |||
2003-08-05 | begone, old mixer code | Max Horn | |
svn-id: r9521 | |||
2003-08-05 | more cleanup | Max Horn | |
svn-id: r9513 | |||
2003-08-05 | cleanup | Max Horn | |
svn-id: r9512 | |||
2003-08-05 | fix bug #783423 | Max Horn | |
svn-id: r9484 | |||
2003-08-05 | more cleanup (like the previous two, I just moved around code, to clearly ↵ | Max Horn | |
separate the old and the new mixer code) svn-id: r9479 | |||
2003-08-05 | some more cleanup | Max Horn | |
svn-id: r9478 | |||
2003-08-05 | cleanup; removed some code duplication | Max Horn | |
svn-id: r9477 | |||
2003-08-05 | and finally VorbisInputStream::readBuffer. Once we verified the new ↵ | Max Horn | |
readBuffer methods all work, we can get rid of readIntern again and merge those back into the regular read() methods svn-id: r9476 | |||
2003-08-05 | optimized MP3InputStream::readBuffer (once more, I won't gurantee for ↵ | Max Horn | |
correctness although it seems to work fine over here) svn-id: r9475 | |||
2003-08-05 | simplified code a bit | Max Horn | |
svn-id: r9474 | |||
2003-08-05 | optimized WrappedMemoryStream::readBuffer (It's almost 3 AM, so I don't ↵ | Max Horn | |
trust myself, hence I'll leave this as an #ifdef for now :-) svn-id: r9473 | |||
2003-08-05 | catch one potential problem, namely if eos is already reached when ↵ | Max Horn | |
readBuffer is called ('This should never happen anyway', famous last words) svn-id: r9472 | |||
2003-08-05 | get rid of calls to the obsolete AudioInputStream::size method | Max Horn | |
svn-id: r9471 | |||
2003-08-04 | not really sure if using readBuffer would give any gain in CopyRateConverter | Max Horn | |
svn-id: r9470 | |||
2003-08-04 | renamed eof -> eos (end of stream); hid MP3/Vorbis stream classes completly ↵ | Max Horn | |
(by providing factory methods); new readBuffer method for AudioInputStream for improved speed of the mixer; new MusicStream class (subclassed for MP3/Vorbis sound) which offers a getRate method; some other tweaks svn-id: r9467 | |||
2003-08-04 | fixed EOF handling of MP3 streams (subtract time from duration timer, ↵ | Max Horn | |
instead of adding it...) svn-id: r9464 | |||
2003-08-02 | one addition less | Max Horn | |
svn-id: r9425 | |||
2003-08-02 | some more tweaks | Max Horn | |
svn-id: r9424 | |||
2003-08-02 | slightly cut down on the number of times eof() is called | Max Horn | |
svn-id: r9423 | |||
2003-08-02 | slightly optimized MP3InputStream::eof, and some cleanup | Max Horn | |
svn-id: r9422 | |||
2003-08-02 | don't use asserts in these tight spots | Max Horn | |
svn-id: r9420 | |||
2003-08-02 | optimize code flow a little | Max Horn | |
svn-id: r9419 | |||
2003-08-02 | cleanup | Max Horn | |
svn-id: r9417 | |||
2003-08-02 | added FLAG_REVERSE_STEREO support | Max Horn | |
svn-id: r9416 | |||
2003-08-02 | remove debug output | Max Horn | |
svn-id: r9415 | |||
2003-08-02 | fix for st_rate_flow, code is more straightforward now, too | Max Horn | |
svn-id: r9414 | |||
2003-08-02 | obsolete | Max Horn | |
svn-id: r9410 | |||
2003-08-02 | garhg | Max Horn | |
svn-id: r9409 | |||
2003-08-02 | previous mod was techincally incorrect, this one should be better (but might ↵ | Max Horn | |
still be buggy?) svn-id: r9408 | |||
2003-08-02 | I think this fixes bug #780167 ("SIMON1/2: Sound problems"). When | Torbjörn Andersson | |
st_rate_flow() had filled the output buffer, rate->icur and rate->ilast held the same values, which led to some samples being duplicated on the next call. svn-id: r9403 | |||
2003-08-02 | oops | Max Horn | |
svn-id: r9396 | |||
2003-08-02 | converted ChannelMP3 to use new rate conversion scheme, too. Only thing ↵ | Max Horn | |
missing now is FLAG_REVERSE_STEREO support (and of course fixing regressions, and the long term goal is to make resample.cpp usable, too) svn-id: r9395 | |||
2003-08-02 | fix ChannelMP3CDMusic volume, too :-) | Max Horn | |
svn-id: r9393 |