124 Commits

Author SHA1 Message Date
Max Horn
0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Max Horn
630bdf542d Oops
svn-id: r17015
2005-03-06 23:16:45 +00:00
Max Horn
81eadf1a35 Fix for bug #1153648 (Compressed BUN files play incorrectly on BE systems)
svn-id: r17014
2005-03-06 23:15:57 +00:00
Paweł Kołodziejski
ddd97c96da fix/workaround for bug: 1120625
svn-id: r16779
2005-02-12 15:00:16 +00:00
Max Horn
abd12dd1b6 Use class Mutex instead of MutexRef
svn-id: r16679
2005-01-28 22:05:51 +00:00
Paweł Kołodziejski
ac06b41894 fixed restoration of sounds params after cross non/compressed bundles
svn-id: r16660
2005-01-28 11:51:57 +00:00
Paweł Kołodziejski
e891988298 double check
svn-id: r16658
2005-01-28 11:21:38 +00:00
Paweł Kołodziejski
9171951cf9 ah, forgot that
svn-id: r16657
2005-01-28 11:16:21 +00:00
Paweł Kołodziejski
a5a02d3f43 clear compressed entries before restore for compatibility with old savegames
svn-id: r16655
2005-01-28 10:58:02 +00:00
Paweł Kołodziejski
065a27daab added support for compressed bun files
svn-id: r16639
2005-01-25 22:21:26 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
f15f517bb4 Add 'speech' sound type to mixer; make use of that in iMuse Digital
svn-id: r16331
2004-12-27 01:32:40 +00:00
Max Horn
67b311713d Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
2004-12-27 00:27:00 +00:00
Max Horn
10dd548b85 Changed parameter order of SoundMixer::playInputStream to match that of playRaw
svn-id: r15950
2004-11-28 23:02:28 +00:00
Max Horn
666d7d106d Some code transformations (no functional change)
svn-id: r15874
2004-11-24 09:47:32 +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
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
Paweł Kołodziejski
6268fdae25 missed changes
svn-id: r13984
2004-06-20 20:19:09 +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
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
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
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
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
6c682fcfba fixed two arrays
svn-id: r13740
2004-05-02 12:52:19 +00:00
Paweł Kołodziejski
351eaff329 start only used tracks
svn-id: r13739
2004-05-02 12:46:01 +00:00
Paweł Kołodziejski
054acfbbd3 added rest of save/load code
svn-id: r13737
2004-05-02 12:20:55 +00:00
Paweł Kołodziejski
24ccdb85e9 ops
svn-id: r13736
2004-05-02 11:53:10 +00:00
Paweł Kołodziejski
b877df6da4 added some save/load code (in progress)
svn-id: r13735
2004-05-02 11:49:08 +00:00
Paweł Kołodziejski
cdc7324951 stub for digital imuse save/load
svn-id: r13734
2004-05-02 10:07:59 +00:00
Paweł Kołodziejski
319ae4deed cleanup
svn-id: r13659
2004-04-28 05:39:53 +00:00
Paweł Kołodziejski
88643e3363 imuse audio stream are use dynamic append size now
svn-id: r13647
2004-04-26 21:29:49 +00:00
Paweł Kołodziejski
32d7c8c181 fixed stopping imuse sounds
svn-id: r13635
2004-04-26 07:47:12 +00:00
Paweł Kołodziejski
cc5fb7fc58 dropped pull method for imuse
svn-id: r13628
2004-04-25 17:24:17 +00:00
Paweł Kołodziejski
bcb5005c31 few corrections, more debug
svn-id: r13618
2004-04-24 20:41:30 +00:00
Paweł Kołodziejski
be28bc0403 add check if track is meanwhile stoped
svn-id: r13617
2004-04-24 20:02:17 +00:00