Commit Graph

27 Commits

Author SHA1 Message Date
Paweł Kołodziejski
ca03c9b5fc changed file io in sounds to class File
svn-id: r4896
2002-09-02 07:53:43 +00:00
Paweł Kołodziejski
9f993a1d29 synced with scummvm
svn-id: r4821
2002-08-24 15:31:37 +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
Max Horn
edae5b06db MAJOR change to the way how Engine objects are instantiated
svn-id: r4758
2002-08-18 17:48:18 +00:00
Max Horn
89cf95ce34 pedantic #define rename :-)
svn-id: r4755
2002-08-18 16:10:38 +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
Paweł Kołodziejski
0b3c263857 moved file bundle stuff into class Bundle
svn-id: r4671
2002-07-28 15:35:26 +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
Max Horn
2b97c496c2 indent run
svn-id: r4475
2002-07-07 18:04:03 +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
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
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
Nicolas Bacca
3849080ed7 Pause and start of volume support
svn-id: r4165
2002-05-01 22:22:22 +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
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
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
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
ef5c23c608 Proper commit now for MP3 sound support....
svn-id: r3962
2002-04-16 18:33:04 +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