Commit Graph

827 Commits

Author SHA1 Message Date
Max Horn
acdb32d84d Remove some leftover comments I made while writing the new MP3 code; make use of the new ReadStream::readStream() method in makeMP3Stream()
svn-id: r25755
2007-02-20 21:53:22 +00:00
Max Horn
227a080e5b Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by me
svn-id: r25752
2007-02-20 18:50:17 +00:00
Max Horn
91f088bb8b Rewrote MP3InputStream mostly from scratch:
- added support for  proper time-based seeking (for now internally only)
- this should permit VBR encoded MP3 audio CD tracks to be used (not tested)
- Symbian specific hacks were removed, as they hopefully aren't needed anymore
  (not tested))

This change will is likely to introduce regressions, everybody please test all
cases where we allow using MP3 encoded data

svn-id: r25750
2007-02-20 17:57:49 +00:00
Max Horn
35b191bad9 Document AudioCDManager::play
svn-id: r25742
2007-02-20 16:13:45 +00:00
Max Horn
b162e0dc04 Cleaned up AudioCDManager::getCachedTrack (in particular, don't empty a slot in the track cache if we are not going to use it)
svn-id: r25740
2007-02-20 13:50:20 +00:00
Max Horn
0b2602e424 So far we only accepted track1.* as name for audio tracks -- now we also accept track01.* (we still only document the former naming scheme, intentionally)
svn-id: r25728
2007-02-19 18:17:38 +00:00
Gregory Montoir
604f0cac0a cleanup and fixed _module memory leak
svn-id: r25708
2007-02-18 21:56:52 +00:00
Gregory Montoir
18cab2cc65 added basic support for playing FOTAQ amiga modules files (rjp1) instead of MIDI (code is currently #ifdef'ed out).
svn-id: r25707
2007-02-18 21:46:40 +00:00
Chris Apers
17b14e44c7 Correct warned class name
svn-id: r25694
2007-02-18 18:03:57 +00:00
Max Horn
4db72c8762 Unified how we deal with (and how we generate) MIDI sysex messages -- in particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class)
svn-id: r25630
2007-02-16 13:30:41 +00:00
Max Horn
8cef52294c Fix for bug #1660559: MANIAC/ZAK: Music does not stop when pausing (regression)
svn-id: r25605
2007-02-15 12:47:09 +00:00
Eugene Sandulenko
0a56c312f1 Fix MSVC warning
svn-id: r25586
2007-02-14 16:45:25 +00:00
Sven Hesse
82e4318b02 Fixed a special case (frequency/rate > repeating sample length)
svn-id: r25521
2007-02-12 12:54:08 +00:00
Travis Howell
028d077e2b Enable stereo by default for all ProTracker mods.
svn-id: r25482
2007-02-11 02:47:02 +00:00
Sven Hesse
023591a77a The status variables are set explicitely in the constructor instead through one memset now, to avoid setting the SoundHandle to 0 as well (the first play() would then stop SoundHandle 0, which doesn't strike me as being correct)
svn-id: r25409
2007-02-07 16:27:43 +00:00
Sven Hesse
0ed752aa6e - Moved the specific interrupt frequency of 80 Hz out of class Infogrames into the GobEngine's Infogrames instances
- Changed the 80 Hz to 75 Hz, which is more true to the original

svn-id: r25389
2007-02-04 15:59:05 +00:00
Max Horn
cb49cbdd45 * Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer

svn-id: r25356
2007-02-03 19:05:53 +00:00
Johannes Schickel
46609ad455 formatting.
svn-id: r25230
2007-01-27 22:03:33 +00:00
Sven Hesse
5dab7f823f Implemented some missing effects (arpeggio, sample delay, fine slides, finetune, pattern delay)
svn-id: r25229
2007-01-27 21:55:26 +00:00
Sven Hesse
7d1c2ecbb4 Ooops
svn-id: r25227
2007-01-27 17:53:56 +00:00
Sven Hesse
569136db75 Changed ProtrackerStream to inherit from Paula, unifying the mixing
svn-id: r25226
2007-01-27 17:32:54 +00:00
Travis Howell
20aca1092b Add changes from madmoose to fix initial song length.
svn-id: r25219
2007-01-27 00:33:38 +00:00
Max Horn
8205cd9d3d Removing two FIXMEs, based on what madmoose told me on #scummvm
svn-id: r25216
2007-01-27 00:11:15 +00:00
Max Horn
516cd07d10 Some cleanup / code formatting changes, and added some FIXME comments
svn-id: r25199
2007-01-26 11:47:26 +00:00
Sven Hesse
43fb2e6ed9 Moved Paula and Infogrames to sound/mods/
svn-id: r25191
2007-01-25 15:17:46 +00:00
Neil Millstone
9c12f89fc7 Changed size of sine table so it take less memory in cache RAM on DS port
svn-id: r24800
2006-12-01 22:44:19 +00:00
Torbjörn Andersson
a7950182f5 Changed the default instrument from "no instrument at all" to "the first
instrument in the instrument bank". It looks like Elvira 1 and 2 play music
without selecting any instruments first on some channels. This should fix bug
#1582389.

svn-id: r24657
2006-11-08 18:47:33 +00:00
Gregory Montoir
a8d7265c5e added basic handler for VOC block 9
svn-id: r24590
2006-11-03 21:03:12 +00:00
Max Horn
c718463a24 Added Audio::Mixer::setReady method to work around bug #1588848
svn-id: r24583
2006-11-01 21:28:14 +00:00
Max Horn
71763c3630 Modified version of patch #1584720 (add support for FLAC-1.1.3)
svn-id: r24554
2006-10-28 13:21:43 +00:00
Max Horn
a4a83df8a1 cleanup
svn-id: r24537
2006-10-27 22:47:53 +00:00
Travis Howell
99d6e6db5c Add patch to make ProTracker a subclass of AudioStream, from madmoose
svn-id: r24465
2006-10-23 01:37:59 +00:00
Max Horn
07f7761479 Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
9edf1e6a1a cleanup
svn-id: r24407
2006-10-21 12:44:10 +00:00
Max Horn
772affc7db Yuck, mark abuse of OSystem::setSoundCallback
svn-id: r24404
2006-10-21 11:14:41 +00:00
Travis Howell
8c72861de4 Add option to load a module via stream
svn-id: r24387
2006-10-19 05:37:22 +00:00
Johannes Schickel
cf60ba63e9 some cleanup.
svn-id: r24374
2006-10-18 18:34:40 +00:00
Eugene Sandulenko
7282e24d3b Add WIP (not yet plugged in) Protracker modules player
svn-id: r24351
2006-10-16 22:20:46 +00:00
John Willis
9aa0984702 Fix GP2X ifdef error in initial patch. Sorry.
svn-id: r24257
2006-10-09 20:38:59 +00:00
Eugene Sandulenko
3d84f11046 Patch #1432376: "Very basic GP2X Backend"
svn-id: r24144
2006-10-06 19:01:39 +00:00
Eugene Sandulenko
8f44098332 Revert part of commit 23552 by agent-q. Apparently this slipped in by
mistake, as DS port sets FMOPL quality in ds/arm9/source/osystem_ds.cpp
void OSystem_DS::initBackend().

svn-id: r24046
2006-09-30 19:33:43 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Eugene Sandulenko
4e8df88c81 Fix bug #1501302: "FF: Crackling Audio (Mac version)"
svn-id: r23970
2006-09-21 20:12:16 +00:00
Torbjörn Andersson
15f9a3ce33 Some more whitespace changes.
svn-id: r23655
2006-08-01 14:10:46 +00:00
Torbjörn Andersson
1e9e65d5bc Whitespace.
svn-id: r23654
2006-08-01 14:05:18 +00:00
Johannes Schickel
8d453f2267 Another little formatting and a typo fix.
svn-id: r23621
2006-07-29 23:51:43 +00:00
Johannes Schickel
43fbc9eb81 Adding comment about forced MQ on small devices.
svn-id: r23620
2006-07-29 23:44:09 +00:00
Johannes Schickel
1d52f836dc Some formatting 'fixes'
svn-id: r23619
2006-07-29 23:42:27 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00