Max Horn
84c8d4b689
added painelf's (still unfinished) sound dialog in NewGUI. Beware, this is work in progress, don't report problems with it just yet, we already know they are there :-)
...
svn-id: r4635
2002-07-26 00:41:07 +00:00
Max Horn
d6e1332f49
fixed Channel_MP3::mix to deal correctly with _silence_cut (this improves lip sync); put cubic interpolation code into a utility class, CubicInterpolator; now three mixers use this, converting the other ones should be simple
...
svn-id: r4623
2002-07-23 14:54:02 +00:00
Max Horn
07966f6ccc
renamed SPECIAL_CHANNEL to PERCUSSION_CHANNEL; don't apply MT32->GM conversion on percussion channel; some indention fixes
...
svn-id: r4621
2002-07-23 10:29:11 +00:00
Max Horn
1c4167f080
pulled out arisme's recent changes to pauseMode, they are not correct as they break pause mode for all systems that use real MIDI drivers (see bug #584684 ). If you need a mute music mode, then add an according function to iMUSE/mixer but don't abuse pause mode, please
...
svn-id: r4615
2002-07-22 12:44:57 +00:00
James Brown
8de1ace6c7
Apply patch from Torbj�rn Andersson to make MP3_CDMUSIC mixer use
...
music_volume instead of sfx_volume.
svn-id: r4611
2002-07-21 06:55:33 +00:00
Nicolas Bacca
74041e2120
Fixed Monkey Island 2 freeze when sound is paused
...
svn-id: r4608
2002-07-20 07:57:22 +00:00
Max Horn
5317b473b2
added cubic spline interpolation (only to mix_unsigned_mono_8 because that's what I used to test); next step will be to put this into a seperate function which all the 9 mixers (8 normal ones and one for MP3) will then use, but I gotta sleep now :-)
...
svn-id: r4585
2002-07-17 23:50:38 +00:00
Max Horn
2b97c496c2
indent run
...
svn-id: r4475
2002-07-07 18:04:03 +00:00
Max Horn
87cbab8d96
fixed compilation of imuse.cpp
...
svn-id: r4454
2002-07-04 10:05:40 +00:00
James Brown
9ac3f92be1
Hacks to make SMUSH mixer a bit more tollerable.
...
svn-id: r4429
2002-06-26 10:20:56 +00:00
Lionel Ulmer
f8190443ca
As long as I am fixing regression bug introduced by my streaming
...
patch, fix also the 'FLAG_FILE' stuff.
Endy, you should be able to revert your patch to Simon as it should
not be needed anymore now :-)
svn-id: r4412
2002-06-06 21:50:20 +00:00
Lionel Ulmer
6abeab5b5a
This should fix the regression introduced by my streaming changes (bug
...
#564756 ). Thanks Oliver Kiehl for the find :-)
svn-id: r4411
2002-06-06 21:42:11 +00:00
Lionel Ulmer
a639c1be6f
Added the mutex support to ease the streaming (ie to prevent all race
...
conditions between an 'append' and a playing by the sound
thread). Porters should add the relevant stuff to their OSystem
interfaces.
But finally, the bug reported by Valgrind was much more trivial than
that and is also fixed in this commit :-)
svn-id: r4398
2002-06-03 21:20:11 +00:00
Lionel Ulmer
8b7207666e
Fix the streaming used in the movies in TheDig (warning, did not test
...
Full Throttle).
This should be less buggy (ie crash less often, maybe not better
quality) than the previous code.
NOTE: the '1024 *' is here for testing purposes and will need to be
severely reduced :-/
svn-id: r4396
2002-06-02 20:30:21 +00:00
Paweł Kołodziejski
c9f67e27b3
Fix for mixer 16 bits samples. Samples are clear now.
...
bbrox: This patch works fine for me, previous not. (MSVC6 + SP5)
svn-id: r4368
2002-05-22 05:55:10 +00:00
Lionel Ulmer
f6b934e068
Add volume control like it is done for MP3 to the 16 bit 'mixers' (ie
...
using a 32 level only volume range).
svn-id: r4365
2002-05-20 20:35:25 +00:00
Paweł Kołodziejski
4aabb0378c
The Dig: stereo samples and mixer
...
svn-id: r4359
2002-05-19 20:38:53 +00:00
Paweł Kołodziejski
c9a53bcf76
The Dig: 16 bit samples and mixer
...
svn-id: r4358
2002-05-19 15:20:18 +00:00
Nicolas Noble
f453058bf2
The second part of armisme fix is here...
...
<Arisme> but on the bright side, now ScummVM will be #1 on Sourceforge :D
Oh well....
svn-id: r4353
2002-05-18 21:12:11 +00:00
Nicolas Noble
65b2c9793b
And now commiting the *REAL* arisme patch...
...
svn-id: r4352
2002-05-18 21:09:40 +00:00
Nicolas Noble
406d45cd0b
Next time, I'll have to kill you Arisme ok? ;-)
...
svn-id: r4351
2002-05-18 21:07:29 +00:00
Nicolas Bacca
481989c91e
Oops
...
svn-id: r4350
2002-05-18 20:56:04 +00:00
Nicolas Bacca
427cc598e0
Big ugly hairy hack to remove Scumm class dependencies to the MidiEmu driver, and add streaming (ahah) emulation - someone please fix this as soon as possible :)
...
svn-id: r4349
2002-05-18 20:12:41 +00:00
Lionel Ulmer
3b4c6ceb0f
Added infrastructure to support more than 8 bit signed / unsigned RAW
...
mixers. Porters, beware, the default configuration is now 16 bit
stereo instead of 16 mono as before (I changed X11 and SDL but no
others).
I did not add support for any other format yet, I will let Endy do it
when he needs it :-)
svn-id: r4348
2002-05-18 14:53:19 +00:00
Nicolas Noble
53f993be44
Fixing ALSA driver to not segfault when launching simon. It still isn't
...
supported but it's better signaled now. BTW I think there is a bug
somewhere since the close() method were called without beeing open()'d. Oh well...
svn-id: r4347
2002-05-18 11:48:48 +00:00
Max Horn
9c01a88e90
fixed shadow var warnings
...
svn-id: r4345
2002-05-17 17:41:07 +00:00
Nicolas Noble
9236c4f905
Cleaning up a little the ALSA driver, and removed the 'old beast': the old TiMidity code.
...
svn-id: r4344
2002-05-16 19:04:38 +00:00
Nicolas Noble
5edf1e6d7f
Added an ALSA sequencer support. Updated readme.txt to explain it, and
...
Makefile to allow the user to enable it. I also reorganised the Makefile
a bit, since there is now one more optionnal library. BBrox, I also
merged your Makefile.x11 in it, just take a look at it!
svn-id: r4341
2002-05-16 06:46:50 +00:00
Max Horn
4ac64b941d
added append() stubs for Channel_MP3/Channel_MP3_CDMUSIC
...
svn-id: r4296
2002-05-12 17:57:37 +00:00
James Brown
0d60185a88
Add new mixer 'append' function to allow pseudo-streaming for SMUSH
...
svn-id: r4291
2002-05-12 16:53:13 +00:00
James Brown
3beabb6c19
Fix crash if envvar not set.
...
svn-id: r4286
2002-05-12 10:18:40 +00:00
James Brown
b9e335ef0f
Add new MIDIPORT parameter to solve Linux sequencer issues.
...
svn-id: r4285
2002-05-12 09:21:27 +00:00
James Brown
ecbf23da72
Impliment what we call 'random guesses' for Sam and Max iMUSE
...
svn-id: r4271
2002-05-10 20:21:12 +00:00
James Brown
ceb97152c7
Fix odd Sam and Max iMUSE crash. Thread syncronisation bug?
...
svn-id: r4256
2002-05-09 18:03:07 +00:00
James Brown
539313fea4
Remove 373 type conversion warnings
...
svn-id: r4247
2002-05-08 10:51:48 +00:00
Lionel Ulmer
ca382bbc1d
Hacked away some code from Timidity to support 'Pitch wheel'. The DOTT
...
intro now sounds a bit better than before using the 'midiemu' driver.
svn-id: r4246
2002-05-08 10:41:30 +00:00
Lionel Ulmer
2676b82833
Remove the setting of 'adlib_mode' to _RYTHM value (did for testing).
...
svn-id: r4241
2002-05-08 08:49:23 +00:00
Lionel Ulmer
96beb07529
Fixed the 'myinsbank' init (to not read memory that it should
...
not). Change the 'write_adlib' function to be more in line to what
AdPlug does.
svn-id: r4240
2002-05-08 08:47:20 +00:00
James Brown
4d9db49484
Fix compile warnings.
...
svn-id: r4237
2002-05-08 06:17:59 +00:00
James Brown
a3edfd87ad
Add possible code for Modulation/Sustain to Emulated Midi Driver
...
svn-id: r4236
2002-05-08 05:32:59 +00:00
James Brown
b2afb797cd
Major cleanup of fmopl, and change incorrect uint32 typecasting.
...
Midi Emulation driver sounds a lot better now.
svn-id: r4235
2002-05-08 02:06:26 +00:00
Lionel Ulmer
dd3129b882
First commit of the OPL2 MIDI driver (to have MIDI music without
...
requiring any OS-level MIDI support).
This was taken from AdPlug.
This is *very* buggy for now (well, it works, but it sounds just plain
ugly :-) ).
svn-id: r4232
2002-05-07 22:07:28 +00:00
Lionel Ulmer
e08b53ce9c
Fix a (very rare outside of running with GDB) race condition between
...
thread start and the parameters used by the thread.
svn-id: r4230
2002-05-07 21:42:51 +00:00
Max Horn
2f2d4527ef
cleaning up the mess drigo left... <sigh>
...
svn-id: r4215
2002-05-05 20:04:26 +00:00
Enrico Rolfi
00f35bec5a
Fixed some things to support MacOS port and QuickTime
...
svn-id: r4211
2002-05-05 19:04:04 +00:00
Max Horn
c7002262bb
automatic detecion of MT32 vs. GM midi; removed obsolete -r command line option
...
svn-id: r4193
2002-05-04 00:20:39 +00:00
Max Horn
4e76591ba6
my version of MAD (0.14.2b) has no MAD_ERROR_NONE; where did that come from?
...
svn-id: r4191
2002-05-04 00:10:01 +00:00
Lionel Ulmer
fe54e1caec
Remove floating point in the MP3 volume control (baaaaaaaad on PDAs
...
like the iPAQ where no FPU is present). Instead replace it by a '32
level' volume control.
svn-id: r4184
2002-05-03 19:47:51 +00:00
James Brown
31fa7f6172
Change default tempos.
...
svn-id: r4172
2002-05-02 14:47:17 +00:00
Nicolas Bacca
3849080ed7
Pause and start of volume support
...
svn-id: r4165
2002-05-01 22:22:22 +00:00