266 Commits

Author SHA1 Message Date
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
James Brown
6ac9551e81 Remove getpid() debug calls from mixer.cpp - not all platforms support this
function.

svn-id: r4100
2002-04-27 04:33:24 +00:00
Lionel Ulmer
9868f6590d Fixed race conditions in the sound code (where a sound could be
'freed' while it was mixed at the same time in the sound thread).

Now Monkey1 seems to play well with Valgrind without any memory
warning.

svn-id: r4096
2002-04-26 20:53:48 +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
a2217e35ff Fix MP3 compilation.
svn-id: r4050
2002-04-22 11:36:41 +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
James Brown
9809c86373 Add boilerplate license to some files, to satisfy Debian types :)
fmopl.c/fmopl.h are infringing on the GPL at the moment. We either need to
replace these, or get permission to relicense them, before 0.2.0

svn-id: r4036
2002-04-21 17:46:42 +00:00
James Brown
32d213bc12 Remove left over debug line. BBrox is anally retentive.
svn-id: r4011
2002-04-19 15:15:47 +00:00
James Brown
82192a3172 Fix PocketSCUMM. Palette is wrong tho. BBrox is a genius.
svn-id: r4009
2002-04-19 15:02:16 +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
0d580b358e Small fix to get sounds to actually finish :-)
svn-id: r3963
2002-04-16 19:49:15 +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
Ludvig Strigeus
71eac5acd3 endian fixes,
don't use adlib driver if sound initialization fails,
simon1 savedialog works

svn-id: r3955
2002-04-16 12:07:19 +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