Commit Graph

5733 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
e0ee9d3688 Fix for bug #778060 ("DOTT: Subtitle drawing glitch").
svn-id: r9249
2003-07-28 15:47:46 +00:00
Max Horn
462898465a StopSpeech -> StopSpeechBS2 (avoid conflict wiht SpeechSynthesis framework on OS X)
svn-id: r9248
2003-07-28 14:50:54 +00:00
Jonathan Gray
da1cdeb0ec change version to 0.5.3-cvs allowing room for two follow up minor releases...
svn-id: r9247
2003-07-28 12:59:39 +00:00
Jonathan Gray
6d392a73e2 fix shadow'd vars
svn-id: r9245
2003-07-28 12:24:13 +00:00
Max Horn
2ef51278b2 fix shadow warning
svn-id: r9244
2003-07-28 11:56:34 +00:00
Max Horn
43cd0cac87 fixed const errors
svn-id: r9243
2003-07-28 11:54:26 +00:00
Max Horn
a57263fa0a unification
svn-id: r9242
2003-07-28 11:48:07 +00:00
Jonathan Gray
deef4a5314 correct cflags variables
svn-id: r9241
2003-07-28 11:46:32 +00:00
Jonathan Gray
c1cbd4605e fix some VC7 warnings
svn-id: r9240
2003-07-28 11:21:25 +00:00
Max Horn
9e051fa507 instead of 'int channels', use 'bool stereo' (less extensible, but then I don't think we'll ever support 5.1 sound :-)); fixed a bug in st_rate_flow where it sometimes would overflow the output buffer; made CopyRateConverter a template, too, increasing efficency
svn-id: r9239
2003-07-28 11:13:01 +00:00
Jonathan Gray
2b0c2a20b2 match prototype
svn-id: r9238
2003-07-28 10:28:29 +00:00
Jonathan Gray
f22cca2be2 rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VC
svn-id: r9237
2003-07-28 09:49:46 +00:00
Jonathan Gray
84bccaa83b substitute long int for LARGE_INTEGER
svn-id: r9236
2003-07-28 08:08:42 +00:00
Jonathan Gray
98b1a0d7ff replace DWORD usage with uint32
svn-id: r9235
2003-07-28 08:04:03 +00:00
Jonathan Gray
5d309dd171 rename memory struct as well
svn-id: r9234
2003-07-28 07:52:01 +00:00
Jonathan Gray
d520390cc5 rename functions with windows specific names
svn-id: r9233
2003-07-28 07:47:21 +00:00
Jonathan Gray
71a9b1bc2d rename _mkdir
svn-id: r9232
2003-07-28 07:36:27 +00:00
Jonathan Gray
b17e45c9bc undefine these functions for now but in the long run we should probably rename them
svn-id: r9231
2003-07-28 07:31:14 +00:00
Jonathan Gray
a05c4bda0f -Werror cleanup
svn-id: r9230
2003-07-28 07:22:40 +00:00
Jonathan Gray
77cf6b7c3e add bs2demo target for broken sword 2 demo
svn-id: r9229
2003-07-28 07:00:15 +00:00
Paweł Kołodziejski
376f78f7f6 added vc7 files for bs2
svn-id: r9228
2003-07-28 06:53:55 +00:00
Jonathan Gray
ea5822ed23 it would be nice if people would update functions when adding qualifiers to prototypes
svn-id: r9227
2003-07-28 05:30:42 +00:00
Jonathan Gray
2fbcfb01a0 missed one
svn-id: r9226
2003-07-28 05:29:37 +00:00
Travis Howell
836f82fbbf Ooops
svn-id: r9225
2003-07-28 03:52:05 +00:00