Commit Graph

5757 Commits

Author SHA1 Message Date
Max Horn
9b2d4f92aa removed the AudioInputStream::size method -> only eof() is really needed, and this can be implemented more efficiently stand-alone; implemented MP3InputStream (work in progress)
svn-id: r9313
2003-07-31 01:21:38 +00:00
Max Horn
5225597d85 cleanup
svn-id: r9312
2003-07-31 01:06:01 +00:00
Paweł Kołodziejski
b9f227bb90 moved turn off warnings into vc7 project files. someone must also update vc6
svn-id: r9311
2003-07-30 22:55:18 +00:00
Paweł Kołodziejski
efc32d9dbc disable empty statement warnings for vc
svn-id: r9310
2003-07-30 22:04:31 +00:00
Paweł Kołodziejski
66635b5e97 disable conversion type warnings for vc
svn-id: r9309
2003-07-30 21:54:50 +00:00
Marcus Comstedt
12f9de02b4 Merged fixes from branch-0-5-0:
* Max's "adjustment" was incomplete, fixed.
* Initialize shake_pos to 0 (fixes Sky, which never sets the shake_pos).
* Changed sematics of X button to allow boxing in Indy (I hope...)

svn-id: r9307
2003-07-30 21:44:43 +00:00
Paweł Kołodziejski
f64a8793f3 update vc7 files
svn-id: r9305
2003-07-30 21:37:53 +00:00
Max Horn
1a70fe4413 version 0.5.3cvs
svn-id: r9304
2003-07-30 20:26:59 +00:00
Oliver Kiehl
c2e9916199 now how did that happen...
svn-id: r9303
2003-07-30 20:01:26 +00:00
Max Horn
6143058422 fixed incorrect MSVC fixes; simplified readSample code (bugs #780167 and #780420)
svn-id: r9302
2003-07-30 19:43:51 +00:00
Oliver Kiehl
0f85cc3061 rename bs2 to sword2 to have the same name as the original engine.
besides this way all our engines start with an "s" ;)

svn-id: r9301
2003-07-30 19:25:31 +00:00
Max Horn
26d05c0190 the VC warning for unknown pragmas is now gloabally disabled, no need to work around it locally
svn-id: r9300
2003-07-30 18:40:28 +00:00
Max Horn
cae96f35b0 globally disable 'unknown pragma' warning for VC
svn-id: r9299
2003-07-30 18:24:50 +00:00
Torbjörn Andersson
15378172cd Partial fix for bug #780167 ("SIMON1/2: Sound problems"). It seems to fix
the crash, but the sounds play at the wrong rate, I believe.

svn-id: r9298
2003-07-30 18:20:45 +00:00
Travis Howell
26ed12953d Update simon1
svn-id: r9296
2003-07-30 16:40:33 +00:00
Travis Howell
e739a9644c Fix Golum Ring causes graphic glitches, bug #777966
svn-id: r9294
2003-07-30 16:25:05 +00:00
Travis Howell
2ddd3a9895 typo
svn-id: r9293
2003-07-30 11:17:51 +00:00
Travis Howell
00bcd731f5 Add/remove/update simon comments
svn-id: r9292
2003-07-30 11:16:09 +00:00
Jamieson Christian
318c245f86 Added new scummvm/sound modules.
Disabled BS2 references until
MSVC project can be set up.

svn-id: r9291
2003-07-30 10:14:16 +00:00
Travis Howell
f503013b5a Small cleanup
svn-id: r9290
2003-07-30 10:05:09 +00:00
Jamieson Christian
269757dabc vc_10_no_depack_swap implementation
svn-id: r9289
2003-07-30 09:36:48 +00:00
Jamieson Christian
20d06e2c3d Fixed MSVC errors
svn-id: r9288
2003-07-30 09:26:54 +00:00
Travis Howell
7fbd161cad Fix unit'd array and variable in simon
svn-id: r9285
2003-07-30 01:43:28 +00:00
Torbjörn Andersson
f4f63d71db Partial fix for bug #779013. It no longer crashes, but the config file
setting still overrides the command-line option.

svn-id: r9283
2003-07-29 21:03:25 +00:00
Max Horn
aa6c99b5da removed some debug output
svn-id: r9282
2003-07-29 13:36:06 +00:00
Max Horn
6b470390f7 cleanup
svn-id: r9281
2003-07-29 12:39:41 +00:00
Jonathan Gray
f1a6025aa2 turn d_sound.cpp into class BS2Sound
svn-id: r9280
2003-07-29 12:34:46 +00:00
Travis Howell
11aa36ff90 Add option for the demo included in Maniac Mansion (Classic version)
svn-id: r9279
2003-07-29 12:13:39 +00:00
Travis Howell
bbbebd9d14 Some basic suport for reversed text for hebrew version.
svn-id: r9278
2003-07-29 06:12:52 +00:00
Max Horn
45ebcdbde1 account for the data in the _buffer, too
svn-id: r9276
2003-07-29 03:02:25 +00:00
Max Horn
fb7deafaef after looking at SAM and DOTT, it seems the actor-voice sync actually is *worse* with a non-zero _silenceCut value - setting it to 0 gives perfect sync for me... odd, when did this change? Anyway, removing _silenceCut. If you notice sync problems, tell me
svn-id: r9275
2003-07-29 02:48:38 +00:00
Max Horn
04843469eb some cleanup; moved around some stuff, preparing to unify more code of ChannelMP3CDMusic and ChannelMP3
svn-id: r9274
2003-07-29 02:21:07 +00:00
Max Horn
bb35528f43 return immediately after commiting suicide; enable new rate conversion code
svn-id: r9273
2003-07-29 01:43:35 +00:00
Max Horn
021a701827 hooked up ChannelVorbis to the new rate converter system, using VorbisInputStream
svn-id: r9272
2003-07-29 01:37:50 +00:00
Max Horn
77eb284062 added VorbisInputStream
svn-id: r9271
2003-07-29 01:37:03 +00:00
Max Horn
1be944755f added makeRateConverter factory function
svn-id: r9270
2003-07-29 01:36:10 +00:00
Travis Howell
3f99e8d1d4 Fix mingw compile
svn-id: r9269
2003-07-29 01:35:37 +00:00
Max Horn
4e7c115681 cleanup
svn-id: r9266
2003-07-29 00:05:36 +00:00
Max Horn
c62b74a08f Added FIXME
svn-id: r9265
2003-07-29 00:05:19 +00:00
Paweł Kołodziejski
83940e1867 fix vc compilation
svn-id: r9263
2003-07-28 21:55:09 +00:00
Max Horn
5e7988ae6f checkin for LavosSpawn: 'work around bug #778105 (line width exceeded)'
svn-id: r9262
2003-07-28 20:59:53 +00:00
Max Horn
57a413f028 experimental new rate conversion code (use SOX_HACK to en-/disable it); note that right now only the linear filter works, the high quality resample in resample.cpp is in flux; right now the top priority for me is to get MP3/Vorbis resampling working
svn-id: r9261
2003-07-28 20:42:54 +00:00
Max Horn
ed6521f332 fix for bug #776169
svn-id: r9259
2003-07-28 20:25:09 +00:00
Max Horn
c6a4a1d37d make wrapped stream work (I can hear some music in CoMI now before it segfaults :-)
svn-id: r9258
2003-07-28 18:01:56 +00:00
Max Horn
475bc72277 moved st_gcd to resample.cpp
svn-id: r9257
2003-07-28 18:01:00 +00:00
Max Horn
13eee4b06f rewrote the input streams, this should be more straightforward and inline slightly better (the fact that the main AudioInputStream methods are virtual still means that no inlining can take place there; but of course, if we did change that, all the rate converters would have to exist in 8, instead of currently 2, compiled versions)
svn-id: r9256
2003-07-28 17:28:29 +00:00
Marcus Comstedt
4dfd76fb9d <memory.h> is not a standard header file. (Merge from branch-0-5-0.)
svn-id: r9255
2003-07-28 17:14:41 +00:00
Max Horn
5c75ec90e7 no need to zero these variables twice
svn-id: r9254
2003-07-28 16:56:52 +00:00
Max Horn
7ea67048c1 more work on WrappedMemoryStream (not yet tested)
svn-id: r9253
2003-07-28 16:55:43 +00:00
Max Horn
7caa1a0c9e removed _encbyte (it's only used locally)
svn-id: r9252
2003-07-28 16:55:06 +00:00