Johannes Schickel
0ba9e14ec9
Double volume of DOSBox' OPL emulator, like DOSBox does too.
...
svn-id: r41014
2009-05-29 17:59:07 +00:00
Max Horn
e23e1ffcb7
Added Audio::Timestamp::addMsecs method
...
svn-id: r40957
2009-05-28 10:29:25 +00:00
Johannes Schickel
33de8c9a5f
Add include guard.
...
svn-id: r40932
2009-05-27 00:34:31 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Johannes Schickel
dfb6ca6bae
Add support for "getTotalPlayTime" in LinearMemoryStream again.
...
svn-id: r40840
2009-05-23 23:49:47 +00:00
Sven Hesse
be6fd784b4
Allow for different MOD signatures
...
svn-id: r40827
2009-05-23 20:38:08 +00:00
Marcus Comstedt
64e75b91b7
Fixed a warning: printf("%f") should take a double, not a float.
...
svn-id: r40785
2009-05-22 17:15:39 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Johannes Schickel
90b4afd41b
Add some simple implementation for type 8 data blocks:
...
- Fix sound effect in LoL demo
svn-id: r40708
2009-05-18 22:11:56 +00:00
Travis Howell
e59e65aa99
Fix crash when any movie is played in the Macintosh version of The Feebles Files, a regression caused by revision 36085.
...
svn-id: r40679
2009-05-18 10:40:22 +00:00
Johannes Schickel
297a9c6c5f
Fix spelling of AdLib (it's AdLib not Adlib).
...
svn-id: r40533
2009-05-13 21:02:50 +00:00
Johannes Schickel
a866e90342
Make g++ 4.4 happy (warning about out of bounds access).
...
svn-id: r40526
2009-05-13 17:29:48 +00:00
Johannes Schickel
72686a5a9e
Make 'create' return an OPL2 by default.
...
svn-id: r40503
2009-05-12 19:24:04 +00:00
Johannes Schickel
4190e256bf
Cleanup.
...
svn-id: r40502
2009-05-12 19:03:54 +00:00
Johannes Schickel
4c156d3c78
Fix OPL emulator IDs.
...
svn-id: r40498
2009-05-12 18:53:44 +00:00
Johannes Schickel
4f0768b909
- Add support for selecting the OPL emulator being used (config entry: "opl_driver")
...
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes
svn-id: r40496
2009-05-12 18:42:44 +00:00
Johannes Schickel
b33bf76c70
For the time being rename opl.h to opl_inc.h and opl.cpp to opl_impl.h, so MSVC does not try to compile the former opl.cpp. (Needs cleanup in the future anyway...)
...
svn-id: r40365
2009-05-06 20:19:47 +00:00
Johannes Schickel
262363f2b3
Another attempt at fixing MSVC compiliation. (someone test this please ;-)
...
svn-id: r40364
2009-05-06 20:05:58 +00:00
Max Horn
5dc234a4e2
Patch #2758080 : GSOC09: XMIDI parser switch cases
...
svn-id: r40361
2009-05-06 14:22:13 +00:00
Johannes Schickel
47e426f271
Don't include headers inside namespace scopes. This should fix compilation on NDS at least.
...
svn-id: r40360
2009-05-06 13:57:05 +00:00
Paul Gilbert
c02aad90b2
Added a reference to scummsys.h to fix compilation errors
...
svn-id: r40351
2009-05-06 10:28:07 +00:00
Johannes Schickel
c35d6db60c
Fix feedback/algorithm register write bugs in Dual OPL2 mode.
...
svn-id: r40342
2009-05-06 00:40:37 +00:00
Johannes Schickel
25ca710eae
Really fix Dual OPL2 initialization.
...
svn-id: r40341
2009-05-05 23:40:54 +00:00
Johannes Schickel
6f840550b9
Dual OPL2 initialization bugfix.
...
svn-id: r40339
2009-05-05 22:34:04 +00:00
Johannes Schickel
625f41c135
Cleanup:
...
- Rename OPL_DOSBox to OPL, since it's inside a seperate namespace anyway
- Reanme MAME_OPL to OPL, since it's inside a seperate namespace anyway
svn-id: r40338
2009-05-05 22:18:26 +00:00
Johannes Schickel
5cc44292a2
- Remove default parameter from OPL::create
...
- Add some note that no one should use the legacy API for new code
svn-id: r40337
2009-05-05 22:14:34 +00:00
Johannes Schickel
16bd319684
At request by DrMcCoy enable DOSBox OPL2 by default whenever DISABLE_DOSBOX_OPL isn't defined.
...
svn-id: r40335
2009-05-05 22:06:54 +00:00
Johannes Schickel
08581ed698
AdLib emulator changes part2:
...
- Add new OPL emulator API (and legacy access API) in sound/fmopl.h
- Add DOSBox OPL emulator.
- Update MAME OPL emulator for the API changes.
svn-id: r40334
2009-05-05 21:47:12 +00:00
Johannes Schickel
d9e0499a36
AdLib emulator changes part1 (breaks compilation :-/):
...
- Add new directory sound/softsynth/opl
- Move sound/fmopl to sound/softsynth/opl/mame
svn-id: r40333
2009-05-05 21:40:50 +00:00
Johannes Schickel
e7506eb99e
Rename adlib_read to adlib_get_reg_value, since it return the (cached) register value, which can not be achieved by read AdLib read.
...
svn-id: r40084
2009-04-22 20:51:33 +00:00
Johannes Schickel
0638a8a27a
Renamed some variables and parameters to match their real use.
...
svn-id: r40083
2009-04-22 20:18:12 +00:00
Fabio Battaglia
9c5cf77287
vag: delete stream after use
...
svn-id: r39767
2009-03-30 21:04:19 +00:00
Fabio Battaglia
0c1bae6b15
Rate selection is now possible for VAG audio decoder, also decoder doesn't die with incomplete/corrupted files
...
svn-id: r39764
2009-03-30 13:42:28 +00:00
Willem Jan Palenstijn
07d3ae07ac
Fix regression from r39702: look up music_driver in config
...
svn-id: r39707
2009-03-27 13:49:11 +00:00
Max Horn
e5e1615280
MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int
...
svn-id: r39702
2009-03-26 13:52:43 +00:00
Max Horn
fb364ee281
Changed doxygen comments in sound/midiparser.h to match with our usual formatting conventions
...
svn-id: r39700
2009-03-26 13:11:11 +00:00
Matthew Hoops
1817dd9bc5
Do not use TO_LE_16 for the IMA ADPCM decoder as it breaks sound on BE systems.
...
svn-id: r39465
2009-03-17 02:35:43 +00:00
Fabio Battaglia
647276b885
Moving sword1/vag.* into sound/, to be used by Broken Sword 2 PSX
...
svn-id: r39416
2009-03-15 10:25:22 +00:00
Andre Heider
c72cba069b
Use pow() instead of powf() when compiling with MinGW32 to work around a libstdc++ cross-compile bug, see #2673362
...
svn-id: r39309
2009-03-10 19:32:38 +00:00
Max Horn
77b40251ca
Added some more Audio::Timestamp unit tests
...
svn-id: r39262
2009-03-09 16:15:25 +00:00
Max Horn
7cd40da1be
Added some comments to Audio::Timestamp
...
svn-id: r39257
2009-03-09 03:45:40 +00:00
Eugene Sandulenko
ef1e3ebc3c
Patch #2658710 : "Add comments to specify which engines use which decoders"
...
svn-id: r39236
2009-03-08 15:57:59 +00:00
Max Horn
673a21b249
Added Audio::Timestamp class, based on SCI's sfx_timestamp_t; also provide a unit test for it, based on the old (and very outdated) timetest.cpp. To be used by Audio::Mixer one day...
...
svn-id: r39112
2009-03-04 06:58:28 +00:00
Willem Jan Palenstijn
4fbda3b8b0
Fix typo.
...
svn-id: r38940
2009-02-27 23:38:37 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Eugene Sandulenko
0a532dfc30
Add interleave parameter to FMOPL as needed by SCI engine
...
svn-id: r38211
2009-02-15 10:07:50 +00:00
Travis Howell
4131d3d07f
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36236
2009-02-07 05:05:14 +00:00
Travis Howell
8c84ec82fc
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36235
2009-02-07 04:49:10 +00:00
Travis Howell
934a59941d
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
...
svn-id: r36234
2009-02-07 04:40:39 +00:00
Joost Peters
e8e3397a3c
make readBufferTinsel*() output in native endianness, rather than little endian.
...
svn-id: r36215
2009-02-04 16:40:44 +00:00