James Brown
cf46277a7f
Revert incorrect endian fixes.
...
If there's something wrong here, it's with the MKID_BE define in scummsys.h, not this code.
svn-id: r4250
2002-05-09 03:51:51 +00:00
Ruediger Hanke
9687c60621
Big endian fixes
...
svn-id: r4249
2002-05-08 20:50:07 +00:00
James Brown
e2df4d2b3b
Added rate detection for The Dig - solves problems with other language versions.
...
svn-id: r4226
2002-05-07 11:48:34 +00:00
James Brown
21e14b44c5
Add raw PCM part to dig .bun decompressor.
...
svn-id: r4219
2002-05-06 15:32:32 +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
38d048b86b
Fixed some things for Macintosh ports
...
svn-id: r4212
2002-05-05 19:06:51 +00:00
James Brown
46f7c4d543
Add more Dig compatability, fix Dig sounds due to Endian.
...
svn-id: r4201
2002-05-05 17:44:39 +00:00
Lionel Ulmer
4c605357cf
Added the 'MKID' macro the the ids to make big endian people happy.
...
svn-id: r4199
2002-05-05 07:52:17 +00:00
James Brown
9f699a21a1
Make the bundle parser code a little cleaner :)
...
svn-id: r4198
2002-05-05 02:28:35 +00:00
James Brown
eeda732b36
Fix Dig bundle 'clicking'
...
svn-id: r4197
2002-05-05 01:54:06 +00:00
Lionel Ulmer
ab0401242e
Change the 'poperty' call to be 64-bits clean.
...
Porters, please check that I did not break anything while updating
your ports. Thanks :-)
svn-id: r4196
2002-05-04 09:55:10 +00:00
Lionel Ulmer
bcae301bf7
Finally easier than what I thought... Removed the last 'float' from
...
the sound code :-)
People with LoomCD and MP3 tracks should test that I did not break
anything.
svn-id: r4186
2002-05-03 21:37:49 +00:00
Lionel Ulmer
aa09cbf8fe
Fixed a 'file descriptor' leak in the MP3 tracks caching
...
system. Rewrote a bit the call to the MAD timer API.
svn-id: r4185
2002-05-03 21:11:16 +00:00
Nicolas Bacca
cdb1af9ad2
Start of volume support + mixer pause
...
svn-id: r4169
2002-05-01 22:36:15 +00:00
Lionel Ulmer
7fa28ffec2
Removed ScummVM's private alloc / free / realloc functions. If I break
...
something, just yell :-)
svn-id: r4160
2002-05-01 17:16:47 +00:00
Lionel Ulmer
75f0674e46
Fix the AUTOFREE problem on TheDig sounds. 'Proper' fix may come later
...
if I get answers on my -devel post :-)
svn-id: r4159
2002-05-01 12:57:12 +00:00
Ruediger Hanke
d1ba5f354f
Fixes for Dig sound on big endian systems
...
svn-id: r4157
2002-05-01 11:39:21 +00:00
James Brown
4924ecd7da
Added missing Dig smush codecs. Dig movies are now perfect, graphically.
...
Thanks Aquadran.
svn-id: r4139
2002-04-30 07:40:56 +00:00
James Brown
4d5a8492fb
Fix compile issue.
...
svn-id: r4133
2002-04-29 10:42:53 +00:00
Ruediger Hanke
991d988b23
Fix compile error (old-style ANSI for scoping)
...
svn-id: r4132
2002-04-29 09:28:47 +00:00
James Brown
eefae397da
Oops, bundle audio is UNSIGNED.
...
svn-id: r4131
2002-04-29 08:37:11 +00:00
James Brown
5f9bd8343c
Small inSANE patch for the dig, and start of Dig Audio support.
...
It seems to crash using AUTOFREE for some reason. Can someone Valgrind/Purify this for me?
svn-id: r4129
2002-04-29 08:28:27 +00:00
Lionel Ulmer
c134803976
MI1 CD audio should work better now. Still a bit flaky but should be
...
better than before :-)
svn-id: r4128
2002-04-28 14:01:40 +00:00
Lionel Ulmer
35d305ce64
MP3 CD tracks should now be working properly.
...
Ludde, maybe you should check if Simon is still working OK as now the
change of the sound playing handle is 'asynchronous' (ie if you call
'stop' on a sound, the handle will NOT be put to NULL right away, but
at the next 'mix' thread call). Maybe we should completely remove this
handle stuff and always use instead the index returned by the
'play_XXX' functions.
svn-id: r4101
2002-04-27 07:42:14 +00:00
Lionel Ulmer
f24777a998
Remove useless debug code.
...
svn-id: r4094
2002-04-26 17:22:58 +00:00
Lionel Ulmer
8fccbb0612
Fixed one memory overwrite problem in MP3-CD support. First pass at
...
some code clean-up. More ahead (once I understand better the code :-) ).
svn-id: r4093
2002-04-26 17:11:05 +00:00
James Brown
b065d233d1
Commit MI1/Indy4/etc crash fix :)
...
svn-id: r4081
2002-04-26 02:53:40 +00:00
James Brown
c8cfb1e25a
Fix MI1 CD Music, I hope.
...
svn-id: r4068
2002-04-24 07:19:00 +00:00
Nicolas Bacca
9bd56e63ac
Removed fstat - not needed and not implemented on WinCE
...
svn-id: r4056
2002-04-22 19:29:22 +00:00
James Brown
a2217e35ff
Fix MP3 compilation.
...
svn-id: r4050
2002-04-22 11:36:41 +00:00
James Brown
c74f966991
Apply urkles MI1 MP3 CD Audio patch and Loom MP3 syncronisation fix patch
...
svn-id: r4049
2002-04-22 11:18:11 +00:00
James Brown
d447f05709
Add voice channel tracking to stop script race in BumpusVille VR.
...
svn-id: r4048
2002-04-22 08:16:16 +00:00
Nicolas Bacca
d9ce5c659c
Pause SFX, pre-initialized volume
...
svn-id: r4045
2002-04-21 21:58:21 +00:00
Lionel Ulmer
f5a8c89eb3
Fixed other warnings and removed ^M in costume.cpp.
...
svn-id: r4015
2002-04-19 17:06:08 +00:00
Lionel Ulmer
3cf038930f
Small warning fix.
...
svn-id: r4014
2002-04-19 16:56:58 +00:00
James Brown
89d957090e
Use relative include paths to easy some ports.
...
svn-id: r4005
2002-04-19 11:12:27 +00:00
Nicolas Bacca
bb06400d00
Return of the MP3 CD patch ... use CBR 22 kHz
...
svn-id: r3981
2002-04-17 20:23:45 +00:00
Lionel Ulmer
ef5c23c608
Proper commit now for MP3 sound support....
...
svn-id: r3962
2002-04-16 18:33:04 +00:00
James Brown
ff1d72962b
Add hack for loom staff verbs.
...
Readd CD Audio
svn-id: r3956
2002-04-16 12:18:50 +00:00
James Brown
6cb3d8fe1b
Make CVS compile again. BBrox, you put a call to play_mp3.. but forgot to
...
add the function!
svn-id: r3952
2002-04-16 04:34:35 +00:00
Lionel Ulmer
dabc6a24e8
Fixed the MP3 support for .SOU files. I will let Arisme fix his MP3 audio track support :-)
...
svn-id: r3949
2002-04-15 20:22:47 +00:00
Ludvig Strigeus
c3b734f79c
command line option for sfx volume
...
svn-id: r3947
2002-04-15 18:07:56 +00:00
Ludvig Strigeus
ac62a7cb2e
wrote new mixer class,
...
cleaned up sound header files,
integrated mixer into scummvm & simon
svn-id: r3937
2002-04-14 18:13:08 +00:00
Ludvig Strigeus
9f191ea9c5
new midi driver API,
...
no more USE_ADLIB,
a couple of sdl graphics driver fixes.
svn-id: r3925
2002-04-13 18:34:11 +00:00
James Brown
7696081c54
Large pointless reindentation of all the code. Also fixed a few mistakes
...
in the object flags code cleanup.
Flags used:
indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip
-ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader
-TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader
-TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm
-TSoundEngine -TPart -TPlayer
svn-id: r3908
2002-04-11 17:19:16 +00:00
James Brown
011cf6e066
Start of The Dig voice support. Don't get excited, it doesn't do anything yet. :)
...
svn-id: r3895
2002-04-08 13:55:03 +00:00
Mutwin Kraus
6b0840f588
Changed the name of OffsetTable to MP3OffsetTable, as OffsetTable is already defined in the Apple Headers
...
svn-id: r3893
2002-04-07 18:46:50 +00:00
James Brown
8448963ee5
Fix mp3_cd support
...
svn-id: r3869
2002-04-05 04:35:41 +00:00
Nicolas Bacca
cbad525cd3
MP3 cd music patch - still WIP, VBR doesn't work, compress the audio track X to MP3 CBR and name them trackX.mp3 in the game directory - only tested with Loom
...
svn-id: r3861
2002-04-04 22:47:03 +00:00
James Brown
f49bbb0fd8
Move some box stuff from scumm.h to new boxes.h
...
Also move some sound-related items from scumm.h to sound.h
svn-id: r3797
2002-03-21 16:12:02 +00:00