Commit Graph

985 Commits

Author SHA1 Message Date
Max Horn
63cb8227d3 Avoid some warnings when compiling in non-DEBUG mode (i.e. with assert() disabled)
svn-id: r32435
2008-05-31 19:35:37 +00:00
Johannes Schickel
9d13d90d4f - Cleanup code for FlacInputStream::getTotalPlayTime
- Reset input stream position in MP3InputStream after calculating total play time

svn-id: r32323
2008-05-27 13:28:47 +00:00
Johannes Schickel
e82295daa3 Implemented getTotalPlayTime for MP3InputStream.
svn-id: r32322
2008-05-27 13:15:51 +00:00
Jordi Vilalta Prat
2862a30dac Fixed some code formatting thanks to LordHoto
svn-id: r32275
2008-05-26 00:28:48 +00:00
Johannes Schickel
ff573ec1e2 Instead of simply returning 0 for "infinite" looping in FLAC and OGG/Vorbis streams in getTotalPlayTime return kUnknownPlayTime.
svn-id: r32265
2008-05-24 23:58:22 +00:00
Johannes Schickel
cff8ccccc9 Take numLoops in account for getTotalPlayTime in FLAC and OGG/Vorbis streams.
svn-id: r32264
2008-05-24 23:49:15 +00:00
Johannes Schickel
aba5082d19 Implementation of AudioStream::getTotalPlayTime for FLAC and OGG/Vorbis streams.
svn-id: r32263
2008-05-24 23:39:13 +00:00
Johannes Schickel
af7bc93c46 Made AudioStream::getTotalPlayTime virtual (Ooops :-)
svn-id: r32261
2008-05-24 22:59:20 +00:00
Max Horn
68fd8b74b0 Patch #1970427: AudioStream play length querying
svn-id: r32258
2008-05-24 22:41:15 +00:00
Max Horn
182ae52a98 typo
svn-id: r32245
2008-05-24 14:44:22 +00:00
Max Horn
9f12f0c450 Move makeAdlibOPL inside the #include guards
svn-id: r32193
2008-05-20 15:36:09 +00:00
Jordi Vilalta Prat
eb6c809d2b - Added more information (ID and capabilities) to the MIDI drivers
- 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-14 14:56:29 +00:00
Jordi Vilalta Prat
d942fd42bb Moved midiplugin.h to sound/ since it will be used for more than just the native MIDI drivers.
svn-id: r32097
2008-05-14 05:47:29 +00:00
Jordi Vilalta Prat
02fbdd1f05 Removed the remaining traces of the MorphOS ETUDE driver.
svn-id: r31994
2008-05-11 02:37:41 +00:00
Jordi Vilalta Prat
d696ed6ea2 Added the MidiPlugin interface (first step towards the MIDI plugins)
svn-id: r31993
2008-05-11 02:10:05 +00:00
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Torbjörn Andersson
15b4b62fbb Fixed comments.
svn-id: r31625
2008-04-20 19:02:34 +00:00
Max Horn
372d30c815 typo
svn-id: r31500
2008-04-14 12:08:00 +00:00
Travis Howell
27a39e7f12 Add cyx patch for bug #1915657 - ELVIRA1: Amiga crashes (paula.h:108).
svn-id: r31372
2008-04-03 23:41:24 +00:00
Max Horn
b0c6a12c81 Modified Patch #1925352: Memory leak fixes
svn-id: r31244
2008-03-26 19:29:33 +00:00
Max Horn
05b159609b Removed remaining traces of the dead MorphOS backend, which itself was removed about one year ago
svn-id: r31114
2008-03-12 18:42:47 +00:00
Max Horn
eb9f0dcbf8 Completed fix for bug #1523129 (SOLARIS: solaris 8 build broken)
svn-id: r30972
2008-02-26 17:03:10 +00:00
Robin Watts
2579136dd2 Another tiny speed tweak for fmopl.cpp; replace a division with a shift.
svn-id: r30968
2008-02-26 00:29:40 +00:00
Johannes Schickel
622076e15b Fixed warning on systems with unsiged char as default char type.
svn-id: r30953
2008-02-24 14:38:19 +00:00
Jordi Vilalta Prat
672a508bdd Added CAMD MIDI driver for AmigaOS4
svn-id: r30910
2008-02-20 17:07:58 +00:00
Robin Watts
890bca8f7e Tweaks to fmopl; same net effect overall, just faster.
Eliminate divisions, floating point, and mod operation from inner synth loop.

svn-id: r30896
2008-02-17 16:12:54 +00:00
Lars Persson
c098453ea1 Added template param to CLIP since implicit cast is not working 100% on all platforms. Target type is int32 so used that.
svn-id: r30760
2008-02-03 12:34:20 +00:00
Filippos Karapetis
97eb13c22f Corrected an off-by-one error introduced with the latest cleanups
svn-id: r30743
2008-02-02 18:31:07 +00:00
Filippos Karapetis
33a534b76c Cleanup
svn-id: r30738
2008-02-02 12:27:16 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
2c8910ade8 This 'if' should not be necessary anymore
svn-id: r30254
2008-01-05 20:40:27 +00:00
Max Horn
89da803724 Fix for bug #1795755: LOOM/FLAC: Pauses (temporary lockups) after speech
svn-id: r30252
2008-01-05 20:38:16 +00:00
Torbjörn Andersson
2147f59e36 Converted some spaces to tabs.
svn-id: r30225
2008-01-05 08:17:39 +00:00
Oystein Eftevaag
1c88ab2c47 Enabling the SMUSH/sound ARM optimizations for the iPhone. Converting any numerical expressions in the asm to absolute values (moving the expression to comments) since the iPhone assembler can't handle them, and prepending an underscore to the exported symbols (with some preprocessor magic similar to the hq3x asm for handle ports where it's not needed)
svn-id: r30093
2007-12-31 01:50:18 +00:00
Neil Millstone
df33fdd79e Fix memory leak in audiostream (I think)
svn-id: r29940
2007-12-21 18:28:59 +00:00
Max Horn
00ce6ac98d Patch #1853322: Patch for Atari ST/FreeMint
svn-id: r29906
2007-12-19 14:03:53 +00:00
Sven Hesse
79e22d29f4 Adding a method to check whether a note currently playing
svn-id: r29856
2007-12-13 23:27:36 +00:00
Max Horn
09028cc7aa Fixed typos
svn-id: r29793
2007-12-09 14:53:15 +00:00
Chris Apers
55c07ca845 Use the same define as in C++ code
svn-id: r29781
2007-12-09 11:12:42 +00:00
Gregory Montoir
b7f9d4797d doc
svn-id: r29759
2007-12-08 09:20:18 +00:00
Gregory Montoir
65779599de reverted commit #29736 with a proper fix (I think) to fmopl code
svn-id: r29741
2007-12-06 21:11:26 +00:00
Filippos Karapetis
d4831be986 Slight cleanup and commenting of the ADPCM decoder
svn-id: r29682
2007-12-01 16:31:10 +00:00
Max Horn
2a339d8ea3 Don't use M_PI, rather use our very own PI constant
svn-id: r29567
2007-11-19 12:44:54 +00:00
Filippos Karapetis
24d1eff8e4 Define M_PI if it's not defined (seems not to be defined under MSVC)
svn-id: r29566
2007-11-19 00:45:58 +00:00
Sven Hesse
b1f6be7baa Moved Gob's square wave generator to sound/softsynth/pcspk.h
svn-id: r29564
2007-11-18 23:35:09 +00:00
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