Commit Graph

206 Commits

Author SHA1 Message Date
Max Horn
3e75807fa8 more cleanup
svn-id: r14816
2004-08-28 14:33:34 +00:00
Max Horn
13356dfa17 Reduce code duplication
svn-id: r14815
2004-08-28 14:19:56 +00:00
Max Horn
98bcae943d Cleaning up code a bit while trying to understand it...
svn-id: r14814
2004-08-28 14:06:36 +00:00
Travis Howell
057ea5cba8 Fix compile
svn-id: r14745
2004-08-25 07:23:48 +00:00
Paweł Kołodziejski
5b7f8b5e78 added comment for insane hack and not tested fix for deadlock bug imuse + debugger
svn-id: r14742
2004-08-25 07:03:38 +00:00
Max Horn
bf7eae7932 Added another sanity assert (I got one crash in this sport while using a memory debugger -- likely a thread race condition
svn-id: r14635
2004-08-16 22:24:24 +00:00
Max Horn
41288cb8e0 Init _compInput (prevents bad free)
svn-id: r14506
2004-08-07 18:17:09 +00:00
Torbjörn Andersson
963aa6085d Valgrind complained about an uninitialized value. This appears to fix it,
and anyway it won't hurt.

svn-id: r14279
2004-07-19 15:26:07 +00:00
Torbjörn Andersson
bc300cb062 Applied patch #993803 (fix for a COMI hang) after some discussion with
aquadran. Let's hope the cure isn't worse than the disease...

svn-id: r14277
2004-07-19 15:21:29 +00:00
Paweł Kołodziejski
9e7f2342c7 removed not needed code and moved pause mixer after pause imuse
svn-id: r14274
2004-07-19 10:51:00 +00:00
Nicolas Bacca
74d898d160 Fix Digital Imuse deadlocks for CE platforms. Other platforms using event-based timers may be interested in it, too
svn-id: r14248
2004-07-18 16:30:01 +00:00
Paweł Kołodziejski
11d552ff7e added code for bundle script vars
svn-id: r14166
2004-07-04 06:14:18 +00:00
Max Horn
b7f9e2137b Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14088
2004-06-27 22:03:38 +00:00
Paweł Kołodziejski
5ce27765af dont wait for end of stream while playing insane
svn-id: r13998
2004-06-21 19:37:54 +00:00
Paweł Kołodziejski
416b9b2ab4 fixed status of sounds for stream2
svn-id: r13991
2004-06-21 05:31:51 +00:00
Paweł Kołodziejski
8b789937c6 changed check to _insaneRunning
svn-id: r13986
2004-06-20 21:01:32 +00:00
Paweł Kołodziejski
6268fdae25 missed changes
svn-id: r13984
2004-06-20 20:19:09 +00:00
Paweł Kołodziejski
af3d123730 added exception for insane sounds to prevent deadlock
svn-id: r13983
2004-06-20 20:13:01 +00:00
Eugene Sandulenko
dad3482500 Fix compilation
svn-id: r13981
2004-06-20 19:19:53 +00:00
Paweł Kołodziejski
38ed122c95 what was that ?
svn-id: r13980
2004-06-20 18:48:17 +00:00
Paweł Kołodziejski
dcc12aa49f stop track after stream is reach end
svn-id: r13978
2004-06-20 18:36:10 +00:00
Paweł Kołodziejski
24f5130de2 better check if track is used
svn-id: r13976
2004-06-20 15:58:28 +00:00
Paweł Kołodziejski
92fce3fa49 i wanted 16 not 24
svn-id: r13975
2004-06-20 15:32:46 +00:00
Paweł Kołodziejski
83d4d9058e trackOffset is obsolote, added few debugs, added flush sounds while smush plying to prevent overload tracks
svn-id: r13974
2004-06-20 15:28:11 +00:00
Paweł Kołodziejski
b6ce351f6d fix for not finding sample
svn-id: r13970
2004-06-20 13:19:22 +00:00
Paweł Kołodziejski
8f1191b379 some optimisations
svn-id: r13969
2004-06-19 17:48:06 +00:00
Paweł Kołodziejski
4b9aa09f03 moved a bit
svn-id: r13968
2004-06-19 17:22:18 +00:00
Paweł Kołodziejski
f5c8c66642 chnaged fps in imuse digi to dynamic param
svn-id: r13967
2004-06-19 16:00:11 +00:00
Paweł Kołodziejski
22048dca58 that was very bad
svn-id: r13966
2004-06-19 15:17:50 +00:00
Paweł Kołodziejski
212a451b1a correct for last commit, changed dummy reads to seek
svn-id: r13965
2004-06-19 15:05:18 +00:00
Paweł Kołodziejski
eb867d6d3d removed unused code
svn-id: r13964
2004-06-19 14:54:13 +00:00
Paweł Kołodziejski
726ac17b6e experimental fix for expired sounds
svn-id: r13963
2004-06-19 14:41:04 +00:00
Paweł Kołodziejski
3f5c651551 better fix for unloaded sound resources in imuse digi
svn-id: r13918
2004-06-01 20:22:48 +00:00
Paweł Kołodziejski
136c7593d2 fix for imuse digi bug 952775
svn-id: r13917
2004-06-01 19:32:36 +00:00
Paweł Kołodziejski
b559e5e58f apply mixer vol/pan at first time
svn-id: r13897
2004-05-28 20:46:50 +00:00
Torbjörn Andersson
ddc104d4ef Use the same volume and panning values when starting the sound as when
adjusting these values later. I don't know about the volume thing, but I've
noticed that new sounds would often play their first fraction of a second
in the right speaker only. This change should fix that.

svn-id: r13896
2004-05-28 14:42:49 +00:00
Paweł Kołodziejski
5edb86d6bd decreased usage of stack mutex locks for imuse digital
svn-id: r13893
2004-05-26 17:03:31 +00:00
Paweł Kołodziejski
916dec37ac moved stacklock to allocSlot() from startSound(). there is no need lock track which is not yet used
svn-id: r13853
2004-05-23 21:28:32 +00:00
Paweł Kołodziejski
a6fd5a3fa9 ops
svn-id: r13852
2004-05-23 19:44:10 +00:00
Paweł Kołodziejski
a26cfc8a38 some optimisations in imuse digi
svn-id: r13851
2004-05-23 19:32:11 +00:00
Max Horn
14cc9b6e3e fix warning
svn-id: r13836
2004-05-13 19:33:24 +00:00
Paweł Kołodziejski
576e2986dd back to old method
svn-id: r13832
2004-05-11 06:23:51 +00:00
Paweł Kołodziejski
8d86693893 forgot to remove
svn-id: r13805
2004-05-07 07:40:37 +00:00
Paweł Kołodziejski
b672cf26fb increase a little limit for better lipsync
svn-id: r13803
2004-05-07 07:32:17 +00:00
Paweł Kołodziejski
eec8b61b8d tuned a little
svn-id: r13754
2004-05-02 17:48:30 +00:00
Paweł Kołodziejski
8e56e7b0bb - fix for cuting voices in comi,
- fix for lipsync stuff (compromise append buffer ahead to sync position)

svn-id: r13753
2004-05-02 16:46:51 +00:00
Paweł Kołodziejski
7da4eccb1d enabled save/load code for imuse digital
svn-id: r13746
2004-05-02 14:03:21 +00:00
Paweł Kołodziejski
f6b8830158 forgot it
svn-id: r13745
2004-05-02 13:58:57 +00:00
Paweł Kołodziejski
ffb842c026 this too
svn-id: r13743
2004-05-02 13:17:02 +00:00
Paweł Kołodziejski
8c6f3ddc0a changed from int to int32 to be sure
svn-id: r13742
2004-05-02 13:15:33 +00:00