aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2008-12-02Apparently, constraining the number of mixing samples to be divisible by 4 ↵Sven Hesse
is too strict, so I'm changing readBufferTinsel6() around a bit to allow for any number of samples (at the cost of adding 2 variables and a bit complexity ;)) svn-id: r35209
2008-11-30- Extended MidiDriver::sysEx to allow 264 byte sysEx messagesJohannes Schickel
- Updated all drivers to allow 264+2 byte sysEx messages - Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly. svn-id: r35180
2008-11-30Initial version of proper MIDI support for KYRA.Johannes Schickel
svn-id: r35174
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-11-17Fixed a warning on the DS build, added some clarifying comments, reformatted ↵Max Horn
the okiStepSize and imaStepTable tables (the former really is a subtable of the latter) svn-id: r35106
2008-11-17Factoring shared code of template classes into a shared base class saves ↵Max Horn
another 4-7kb code size svn-id: r35104
2008-11-17Saving 32kb DATA sizeMax Horn
svn-id: r35103
2008-11-16Implementing getTotalPlayTime() for AppendableMemoryStreamSven Hesse
svn-id: r35098
2008-11-15Added support for the ADPCM used in Discworld 2Sven Hesse
svn-id: r35089
2008-11-13Fixed compiling of MT32 emulator with -O2 and -Werror.Johannes Schickel
svn-id: r35040
2008-11-12Verify sanity of LinearMemoryStream params in the factory function instead ↵Max Horn
of the constructor (which is replicated for each instantiation of the LinearMemoryStream template class) -> saves some bytes svn-id: r35014
2008-11-09Made getSoundElapseTime() work better when the sound has been paused. A newTorbjörn Andersson
variable, _pauseTime, keeps track of how long the sound has been paused since the last mixer time stamp. svn-id: r34955
2008-11-05Fixed compile error.Torbjörn Andersson
svn-id: r34907
2008-11-05Turned enum PluginError into Common::Error, which in the future is to be ↵Max Horn
used in more places. Help with this is highly welcome svn-id: r34906
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-06MT32 emu: eof -> eosMax Horn
svn-id: r34390
2008-09-05Removed useless dependencies from common/file.h in common code. When ↵Nicola Mettifogo
complete removal was not possibile, dependency has been pushed to the cpp files from the headers. svn-id: r34343
2008-09-03Removed unused readLine code from the MT-32 emuMax Horn
svn-id: r34314
2008-09-03Some cleanup by peresMax Horn
svn-id: r34308
2008-09-03Fix for MSVC warning about ambiguous usage of MINFilippos Karapetis
svn-id: r34299
2008-08-30Fix (?) Solaris detection in some workaround code in the MT-32 emulatorMax Horn
svn-id: r34216
2008-08-27Partial commit of patch #2012839: Atari Patch for adding Native MIDI and Fix ↵Max Horn
Compile svn-id: r34194
2008-08-10Committed my patch #2040074 ("XMIDI callback control events"). At the ↵Torbjörn Andersson
moment, I'm not aware of any game that actually uses this XMIDI feature, so its primary function right now is to silence lots of warnings while running the DOS version of Simon the Sorcerer 2. svn-id: r33763
2008-08-01Print a warning if unsupported XMIDI controllers are usedMax Horn
svn-id: r33495
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-09cleanup / code formattingMax Horn
svn-id: r32973
2008-07-08On reading some more about XMIDI, I believe the NEXT and BREAK variants of theTorbjörn Andersson
controller are mutually exclusive cases, i.e. a BREAK simply means forget about the innermost loop, and continue as if nothing had happened. svn-id: r32966
2008-07-06Fixed silly error. The NEXT_BREAK event should, of course, jump to the eventTorbjörn Andersson
*after* the FOR_LOOP event. Apart from simplifying things, this should allow limited number of repeats to work. svn-id: r32931
2008-07-06Implemented Good Enough(TM) XMIDI looping. This is used by Kyrandia 2 (theTorbjörn Andersson
loop hack is no longer needed, and has been removed), and will be used by Discworld. svn-id: r32930
2008-06-28Patch ##1956946 (Audio::Mixer internal API revision) with some tweaksMax Horn
svn-id: r32828
2008-06-22Fixed getTotalPlayTime implementation for MP3InputStream.Johannes Schickel
svn-id: r32755
2008-06-13Added initial interface to list music devices and their typesJordi Vilalta Prat
svn-id: r32695
2008-06-13Renamed MIDI plugins to Music pluginsJordi Vilalta Prat
svn-id: r32693
2008-06-11use kMaxChannelVolume instead of hardcoding 255Max Horn
svn-id: r32666
2008-05-31Avoid some warnings when compiling in non-DEBUG mode (i.e. with assert() ↵Max Horn
disabled) svn-id: r32435
2008-05-27- Cleanup code for FlacInputStream::getTotalPlayTimeJohannes Schickel
- Reset input stream position in MP3InputStream after calculating total play time svn-id: r32323
2008-05-27Implemented getTotalPlayTime for MP3InputStream.Johannes Schickel
svn-id: r32322
2008-05-26Fixed some code formatting thanks to LordHotoJordi Vilalta Prat
svn-id: r32275
2008-05-24Instead of simply returning 0 for "infinite" looping in FLAC and OGG/Vorbis ↵Johannes Schickel
streams in getTotalPlayTime return kUnknownPlayTime. svn-id: r32265
2008-05-24Take numLoops in account for getTotalPlayTime in FLAC and OGG/Vorbis streams.Johannes Schickel
svn-id: r32264
2008-05-24Implementation of AudioStream::getTotalPlayTime for FLAC and OGG/Vorbis streams.Johannes Schickel
svn-id: r32263
2008-05-24Made AudioStream::getTotalPlayTime virtual (Ooops :-)Johannes Schickel
svn-id: r32261
2008-05-24Patch #1970427: AudioStream play length queryingMax Horn
svn-id: r32258
2008-05-24typoMax Horn
svn-id: r32245
2008-05-20Move makeAdlibOPL inside the #include guardsMax Horn
svn-id: r32193
2008-05-14- Added more information (ID and capabilities) to the MIDI driversJordi Vilalta Prat
- Added the MidiPlugin interface to the remaining MIDI drivers - Added an initial MidiManager to handle the MIDI plugins (just static plugins by now) svn-id: r32117
2008-05-14Moved midiplugin.h to sound/ since it will be used for more than just the ↵Jordi Vilalta Prat
native MIDI drivers. svn-id: r32097
2008-05-11Removed the remaining traces of the MorphOS ETUDE driver.Jordi Vilalta Prat
svn-id: r31994
2008-05-11Added the MidiPlugin interface (first step towards the MIDI plugins)Jordi Vilalta Prat
svn-id: r31993
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927