scummvm/sound
Jamieson Christian 154e872d5a Added generic send() option to MidiChannel.
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 11:54:24 +00:00
..
.cvsignore fixed the 'intelligent' GCC build rules; added .cvsignore files 2002-08-21 16:28:19 +00:00
audiostream.cpp my code was actually right. Rather the calling code is evil, it passes us odd buffer sizes for 16 bit audio data, which of course made no sense -> I added some asserts against this 2003-08-07 23:54:39 +00:00
audiostream.h replace code in readBuffer by slightly less efficient but hopefully working 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 2003-08-07 22:19:55 +00:00
fmopl.cpp Reverted to "old" YM3812 (FMOPL) emulator code. 2003-07-11 07:14:21 +00:00
fmopl.h #include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) 2003-08-01 12:21:04 +00:00
mididrv.h Added generic send() option to MidiChannel. 2003-08-08 11:54:24 +00:00
midiparser_smf.cpp Use stdafx.h instead of manually including system headers. 2003-06-18 21:10:05 +00:00
midiparser_xmidi.cpp Use stdafx.h instead of manually including system headers. 2003-06-18 21:10:05 +00:00
midiparser.cpp Fix for Bug [780924] IMUSE: Pitchbend isn't reset when changing tracks 2003-08-07 23:42:15 +00:00
midiparser.h Fix for Bug [766426]: V5 Games: Adlib SFX not looped 2003-07-10 04:34:44 +00:00
mixer.cpp some cleanup 2003-08-06 17:13:04 +00:00
mixer.h some cleanup; added Channel::getVolume, once somebody tells me what exactly is needed, I can add per-channel volume, and also per-channel panning 2003-08-05 23:03:42 +00:00
module.mk experimental new rate conversion code (use SOX_HACK to en-/disable it); note that right now only the linear filter works, the high quality resample in resample.cpp is in flux; right now the top priority for me is to get MP3/Vorbis resampling working 2003-07-28 20:42:54 +00:00
mpu401.cpp Added generic send() option to MidiChannel. 2003-08-08 11:54:24 +00:00
mpu401.h Added generic send() option to MidiChannel. 2003-08-08 11:54:24 +00:00
rate.cpp some cleanup 2003-08-06 17:13:04 +00:00
rate.h some cleanup 2003-08-06 17:13:04 +00:00
resample.cpp some cleanup 2003-08-06 17:13:04 +00:00
resample.h some cleanup 2003-08-06 17:13:04 +00:00