22 Commits

Author SHA1 Message Date
Johannes Schickel
8daaeae849 Fix gcc warning.
svn-id: r48077
2010-02-17 16:07:32 +00:00
Max Horn
dd5518d3c5 Add support for samples > 32kb to Paula chip emulation code.
In addition, the code got simplified considerably. Its behavior changed
slightly due to this, but I think the old behavior was wrong. In any
case, this may fix some bugs, or introduce regressions, or both. We'll
see ;).

svn-id: r48058
2010-02-14 01:54:21 +00:00
Norbert Lange
b4c689a3c1 fixed up some missing newlines
removed MSVC6 disable pragmas, the warnings are already disabled in the project files

svn-id: r43182
2009-08-09 18:59:22 +00:00
Norbert Lange
5952977ed0 use ticks for timing fadeout
svn-id: r42618
2009-07-19 15:36:11 +00:00
Norbert Lange
dbe300fc53 fixed retiring of external Notes
fixed/improved counting DMAs in Paula
added flag for looping songs
rearranged maxtrax.h a bit

svn-id: r42613
2009-07-19 14:02:19 +00:00
Norbert Lange
c5a3ab2af2 changed: period in Paula get set immediately instead of queued
svn-id: r42336
2009-07-10 14:30:37 +00:00
Norbert Lange
01c3db4d76 Fixed restarting of song (hopefully thouroughly)
replaced all modulos with masks
swapped Paulas stereo output

svn-id: r41856
2009-06-25 08:57:15 +00:00
Norbert Lange
fc174162f7 tfmx.c,.h: added portamento and envelope-effect (envelope not active yet)
renamed some variables
	made sure the fixed-point multiplications have the same results, even in cornercases
paula.cpp: changed/reverted stuff in Paula again.

svn-id: r41410
2009-06-09 20:54:55 +00:00
Norbert Lange
fe28f1c73c tfmx.cpp:
added "vibrato-effect"
paula.cpp: 
	fixed bug introduced in last commit

svn-id: r41392
2009-06-08 23:12:35 +00:00
Norbert Lange
d3ad5fc663 Initital commit modifying buildsystem and adding a TFMX Module-Player
Changes in Paula.cpp/Paula.h + soundfx.cpp:
Added (easy) queueing of samples by implementing methods that act similar
like writes to the Amiga-Chipset would.
Added counting of DMA-Interrupts, that is how often a sample finished
playing.
Added a base for the interrupt-interval, in most cases this will be the
Cia-clockrate. Derived classes can then set the interval without scaling to
the samplerate

Changes in common/scummsys.h:
Only disable warnings with pragmas for MS Compilers that cant do so
otherwise. Newer MSVC Versions can and should disable warnings in the
Project-Settings.

Files in tfmx:
Some files for debugging. Wont ever be commited back into trunk so those
will contain some messy and hackish code

Added: tfmx.h/tfmx.cpp
Player for TFMX-Modules.

Rest: main.cpp etc.
Modified buildsystem to include new directory, modified main.cpp so it
calls tfmxmain (tfmxplayer.cpp) instead of starting the GUI.

svn-id: r41382
2009-06-08 18:33:20 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
19bb631e94 Fix looping effect (at least DrMcCoy says it fixes it somehow, and I trust him in that :)
svn-id: r27835
2007-07-01 19:59:42 +00:00
Max Horn
f7041f94ce Once again rewrite Paula code (addings lots of comments, doing proper wrap around at the ends of samples and some other tweaks). More to follow
svn-id: r27828
2007-07-01 16:31:26 +00:00
Max Horn
f058edf860 Switched Paula (Amiga MOD) code to use fixed point math instead of doubles (caveat: this only works for samples < 32k right now; if this ever turns out to be a problem, I can fix it, though)
svn-id: r27767
2007-06-28 22:21:32 +00:00
Max Horn
21aa642e7a Some optimizations to the Paula sound chip emu code (removing common sub expressions and stuff)
svn-id: r27761
2007-06-28 19:47:47 +00:00
Max Horn
2249db2c6d Started to refactor the Paula / Amiga MOD code: Made some stuff in class Paula private and added accessor APIs instead
svn-id: r27759
2007-06-28 17:42:57 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 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
Sven Hesse
82e4318b02 Fixed a special case (frequency/rate > repeating sample length)
svn-id: r25521
2007-02-12 12:54:08 +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
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