84 Commits

Author SHA1 Message Date
Paweł Kołodziejski
7edc0abd5b changed messages from warning to debug
svn-id: r6888
2003-03-30 16:54:03 +00:00
Max Horn
80e3c23482 cleanup; add stopID method to stop a currently playing sound via its ID
svn-id: r6835
2003-03-18 21:46:44 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
a8c3057875 and more cleanup ....
svn-id: r6719
2003-03-06 18:30:44 +00:00
Max Horn
7e2391fce2 Patch #641607: Louder MP3 sound effects
svn-id: r5882
2002-12-08 14:18:41 +00:00
Nicolas Bacca
cb160cfbf3 Adapt MAD sampling rate to the real sampling rate for WinCE
svn-id: r5657
2002-11-21 08:46:01 +00:00
Max Horn
49d6b10fc3 Patch #639931: ALL: Fix for possible mixer distortion
svn-id: r5602
2002-11-19 01:50:15 +00:00
James Brown
ffa6e2c87f 637471: Hack to work-around 'bad sound in stream' problem.
svn-id: r5560
2002-11-15 10:47:36 +00:00
Oliver Kiehl
a413779432 oops
svn-id: r5504
2002-11-10 17:01:51 +00:00
Oliver Kiehl
fb8f8c6105 added looping support to playRaw
svn-id: r5501
2002-11-10 16:23:02 +00:00
James Brown
63ee97b1ee Fix using MAD -without- Vorbis, and remove COMPRESSED_SOUND_FILE define.
Please keep in mind that if you put an 'else' statement in an if clause, keep in mind that if the code it's supposed to
'else' is in another define.... and that isn't set... the NEXT statement of code will be used as the 'if..else'
condition.

svn-id: r5344
2002-10-28 12:56:42 +00:00
Paweł Kołodziejski
bf3505da5c don't put samples into stream SoundMixer if sound card is disabled
svn-id: r5338
2002-10-27 19:32:36 +00:00
Travis Howell
a0734ef3f9 Add monster.sog support, patch #629362
Enable ogg support by default in mingw builds and link in ogg lib

svn-id: r5333
2002-10-27 11:41:08 +00:00
Jonathan Gray
d93e639086 patch #628997 support for ogg vorbis instead of cd tracks by Daniel Schepler. Uncomment the relevant lines in the makefile to use
svn-id: r5320
2002-10-27 01:12:10 +00:00
Paweł Kołodziejski
99ec620c58 changing warnings to debug level 2
svn-id: r5273
2002-10-23 06:48:10 +00:00
Max Horn
ab13e67b09 fix -Wshadow warnings
svn-id: r5270
2002-10-23 00:24:43 +00:00
Max Horn
6631df898c compilation fix
svn-id: r5158
2002-10-16 00:24:45 +00:00
Paweł Kołodziejski
09225027f1 changes to imuse
svn-id: r5157
2002-10-15 21:55:04 +00:00
Paweł Kołodziejski
15ac1c1ee9 fix
svn-id: r5156
2002-10-15 18:08:20 +00:00
James Brown
bc6d4f130b Sanity checking to fix crash caused by latest sound commits
svn-id: r5151
2002-10-15 14:17:59 +00:00
Paweł Kołodziejski
dc87eff416 changes to soundmixer - added timeout param to stream
svn-id: r5149
2002-10-15 07:01:34 +00:00
Paweł Kołodziejski
98d90696ad added panning control in imuse and reverse stereo support
svn-id: r5076
2002-10-02 17:31:55 +00:00
James Brown
b7e83decd7 Fix 'isSoundRunning' for Creative samples (eg, Full Throttle)
svn-id: r5072
2002-10-02 10:12:19 +00:00
Paweł Kołodziejski
bff43de73a changes for stoping sounds
svn-id: r5062
2002-10-01 18:11:30 +00:00
Paweł Kołodziejski
e6751d0d8f new smush player need bigger buffer
svn-id: r4942
2002-09-15 06:19:33 +00:00
Paweł Kołodziejski
2f91c18b22 speed changes to play smush movies
svn-id: r4941
2002-09-15 05:38:04 +00:00
Paweł Kołodziejski
fb91bdd21d fixed stream in mixer, not completed yet - bad wrap around.
svn-id: r4940
2002-09-14 12:12:25 +00:00
Max Horn
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Paweł Kołodziejski
687e82c0fa fixes
svn-id: r4897
2002-09-02 20:15:14 +00:00
Paweł Kołodziejski
ca03c9b5fc changed file io in sounds to class File
svn-id: r4896
2002-09-02 07:53:43 +00:00
Max Horn
41c2d6fba3 sound system cleanup
svn-id: r4867
2002-08-29 23:45:15 +00:00
Paweł Kołodziejski
9f993a1d29 synced with scummvm
svn-id: r4821
2002-08-24 15:31:37 +00:00
Max Horn
08b161f113 fix for bug #598938: sfx/music volume set 0 is not mute; some cleanup
svn-id: r4805
2002-08-23 20:33:29 +00:00
Paweł Kołodziejski
f3ceaf7f81 applied patch 597414, thanks Xavier
svn-id: r4778
2002-08-20 06:36:50 +00:00
Max Horn
8786311655 move _volume_table creation into constructor, and discard it in destructor
svn-id: r4764
2002-08-18 21:42:22 +00:00
Ruediger Hanke
b6091fd7c5 Removing some system ifdef's that won't be required anymore soon
svn-id: r4726
2002-08-11 11:56:06 +00:00
Paweł Kołodziejski
99e11501f4 this remove clicks end of sounds in smush
svn-id: r4724
2002-08-10 13:59:40 +00:00
Ruediger Hanke
e6b0eb5057 Got rid of annoying blips and scratches on my system. It's just for MorphOS not to annoy Ender (see his comment in the source). Happens probably only here.
svn-id: r4723
2002-08-09 13:35:01 +00:00
Ruediger Hanke
0e2f835d1f Fixed Mixer full warnings, Dig music plays much better now on MorphOS
svn-id: r4722
2002-08-09 11:23:14 +00:00
Max Horn
30a2f9b23b fixed compile error
svn-id: r4702
2002-08-04 16:54:59 +00:00
Paweł Kołodziejski
9fa6145d90 DIG: preliminarily support for music in the game
svn-id: r4701
2002-08-04 16:30:59 +00:00
Max Horn
c56c8ea5e6 patch 587769 by Fridvin Logi (supposedly helps with Nexus in The Dig)
svn-id: r4678
2002-07-29 16:18:32 +00:00
Max Horn
7117f5aec1 fixed volume table (that was a neat trick, that int8 cast, really got me; but I prefer readability over the 5 ns time saved <g>)
svn-id: r4675
2002-07-28 20:46:07 +00:00
Max Horn
6dd5de48f9 added constants for the default volumes; changed the volume ranges from 0-255 to 0-256
svn-id: r4670
2002-07-28 15:03:45 +00:00
Max Horn
7fb8139210 fixed some warnings, fixed clamped_add_16 to do the right thing now (wow, nobody noticed this.. :-)
svn-id: r4652
2002-07-27 13:16:32 +00:00
Max Horn
072ed82a37 when mixing data, clamp the addition - otherwise we might get overflows for high volumes
svn-id: r4647
2002-07-26 23:30:35 +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
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