Commit Graph

938 Commits

Author SHA1 Message Date
Max Horn
7d984d1a67 factory functions should be documented at least roughly...
svn-id: r29560
2007-11-18 21:13:08 +00:00
Gregory Montoir
c76c6e2256 added rjp1 module specific pattern playback
svn-id: r29559
2007-11-18 20:27:31 +00:00
Gregory Montoir
c0cebe93bb skip silence VOC block (used in Igor)
svn-id: r29551
2007-11-18 06:24:40 +00:00
Max Horn
c8ce5b1865 Changed Audio::makeADPCMStream so that the stream passed to it can automatically be disposed
svn-id: r29517
2007-11-16 10:05:18 +00:00
Travis Howell
3cb8d404b5 Fix loading common sample data for modules in Waxworks.
svn-id: r29511
2007-11-16 03:37:15 +00:00
Max Horn
02b929e06e Patch #1816901: MT-32 emu: Low volume
svn-id: r29378
2007-11-02 16:10:53 +00:00
Max Horn
8eb73f2694 Patch #1815526: Add TiMidity++ MIDI server support
svn-id: r29377
2007-11-02 16:01:52 +00:00
Johannes Schickel
1bf448ac37 Add DMedia MIDI driver just to the list of MIDI drivers if on IRIX, since at least the code for it is just build on IRIX and not on every UNIX system.
svn-id: r29316
2007-10-29 21:41:50 +00:00
Max Horn
4630f49f48 Patch #1800085: small 'unknown control change byte 32' patch
svn-id: r29289
2007-10-28 13:55:16 +00:00
Max Horn
9998620379 Added support for more ROM versions, see FR #1820331
svn-id: r29269
2007-10-27 18:51:37 +00:00
Nicola Mettifogo
485b70b2b0 * Changed IFF/8SVX audio to use signed data (int8), and modified Parallaction accordingly.
* Implemented proper beep in Parallaction for Amiga.

svn-id: r29226
2007-10-15 20:20:50 +00:00
Max Horn
5a07c3c552 Patch #1804801: DMedia MIDI driver for IRIX
svn-id: r29142
2007-09-30 12:12:22 +00:00
Gregory Montoir
28c1f3fbb3 removed unused function, simplified handlePattern
svn-id: r29139
2007-09-30 11:16:25 +00:00
Robin Watts
9262b47dd2 Add PALMOS sections to ARM rate conversion sound code to preserve r10
for calls back into C/C++. 

svn-id: r29117
2007-09-28 09:38:08 +00:00
Johannes Schickel
88da0d4d00 Silence some warnings.
svn-id: r29086
2007-09-24 17:14:56 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
664446f5d8 Fixed some more warnings
svn-id: r28948
2007-09-18 20:48:42 +00:00
Max Horn
4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +00:00
Chris Apers
500481c4ec Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
2007-09-01 19:13:04 +00:00
Filippos Karapetis
99a5545702 Reverted commit #28696, as the cause for it was different and has been fixed with commit #28697
svn-id: r28699
2007-08-22 22:43:47 +00:00
Filippos Karapetis
532c8c4230 Detach the player callback handler when the music is being unloaded. Fixes bug #1734416 - "AUDIO: ITE: Random crashes with the MIDI parser"
svn-id: r28696
2007-08-22 12:20:21 +00:00
Kari Salminen
ef1fca15f0 Removed extra commas from lookup-tables' ends.
svn-id: r28676
2007-08-20 10:43:07 +00:00
Travis Howell
d764dca90f Ooops, fix typo in last commit.
svn-id: r28257
2007-07-28 07:56:58 +00:00
Travis Howell
bb2796c57a Add support for multi-tune Protracker modules used in the Amiga version of Waxworks.
svn-id: r28256
2007-07-28 07:52:24 +00:00
Max Horn
19ad20c201 Don't be so strict about un-pausing sounds which are not paused currently
svn-id: r28163
2007-07-22 11:54:35 +00:00
Max Horn
11b2806741 Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway)
svn-id: r28110
2007-07-15 18:29:05 +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
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +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
e2ad271bd8 Removing non-ASCII chars from source code
svn-id: r27818
2007-07-01 12:47:07 +00:00
Max Horn
93b1a53c72 Changed semantics of Mixer::pause*() methods -- if you pause n times, you have to unpause n times before the sound resumes (this means pauseAll works correct in engines which selectively pause/resume single sounds)
svn-id: r27798
2007-06-30 21:02:58 +00:00
Max Horn
6290f0b20a Tabs -> spaces
svn-id: r27790
2007-06-30 13:40:52 +00:00
Robin Watts
b9c8c6c868 Update the ARM version of the rate conversion code, in line with Fingolfins
optimisatins of the C version last night. Saves about 5 cycles per sample.

svn-id: r27789
2007-06-30 12:54:07 +00:00
Max Horn
3535eaec20 Tweak LinearRateConverter code so that opos is in the range [0,1[ instead of [-1,0[ when entering the interpolation loop (this allows us to get rid of '& FRAC_LO_MASK')
svn-id: r27780
2007-06-30 00:03:32 +00:00
Max Horn
b62ef0496c Added small explanatory comment
svn-id: r27779
2007-06-29 23:33:16 +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
1a3724b59b cleanup
svn-id: r27765
2007-06-28 20:18:56 +00:00
Max Horn
5b75e49182 Fix a bad, bad out-of-bounds write in the Protracker code
svn-id: r27764
2007-06-28 20:15:10 +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
6dfa44dbd5 Moved some fixed point code to its own header file; simplified the LinearRateConverter code a bit; corrected some comments; split makeRateConverter into two funcs (one of them being a template func), for easier maintenance
svn-id: r27760
2007-06-28 19:35:48 +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
c69fe68112 Minor cleanup
svn-id: r27758
2007-06-28 16:39:04 +00:00
Robin Watts
b53cebe62d Fix for a stupid typo in yesterdays sound fill tweak.
This fixes bug 1743016. Thanks to erictorbjorn and md5 for pointing me at it.

svn-id: r27718
2007-06-25 21:09:08 +00:00
Eugene Sandulenko
22f06325d4 Patch #1742574: "GUI: Unify "Default" options text"
svn-id: r27698
2007-06-25 07:01:13 +00:00
Robin Watts
997253fe6a Small tweak to the readBuffer routines of sound/audiostream.cpp; by counting a
variable down we save 1 cycle per sample copied (at least) on most
architectures.

svn-id: r27693
2007-06-24 17:42:36 +00:00
Max Horn
a106f01d2f Remove useless startPlay override from ProtrackerStream
svn-id: r27692
2007-06-24 12:35:50 +00:00
Max Horn
61af086e8e Mod code cleanup
svn-id: r27690
2007-06-24 11:40:00 +00:00
Max Horn
e01c939229 cleanup
svn-id: r27501
2007-06-16 23:50:57 +00:00
Max Horn
1b28bd4644 cleanup
svn-id: r27500
2007-06-16 23:41:37 +00:00
Max Horn
a435757699 Avoid using the 'st_sample_t out[2]' arrays inside tight loops, as some compilers are bad at optimizing array access due to pointer aliasing
svn-id: r27499
2007-06-16 23:07:25 +00:00