5716 Commits

Author SHA1 Message Date
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
Travis Howell
42ba111063 A few warnings
svn-id: r9224
2003-07-28 03:49:25 +00:00
Travis Howell
0dfde5caba Ooops
svn-id: r9223
2003-07-28 03:34:47 +00:00
Travis Howell
ccc40eecc9 Compiles on mingw now
svn-id: r9222
2003-07-28 03:12:49 +00:00
Max Horn
d4933386a9 big FIXME
svn-id: r9221
2003-07-28 02:39:40 +00:00
Max Horn
544168e96b fixed yet more warnings
svn-id: r9220
2003-07-28 02:37:47 +00:00
Max Horn
44048d2434 fixed more warnings
svn-id: r9219
2003-07-28 02:23:04 +00:00
Max Horn
55cbdd5c5f more warnings
svn-id: r9218
2003-07-28 02:14:28 +00:00
Jonathan Gray
78c39e150d update for bs2
svn-id: r9217
2003-07-28 02:12:59 +00:00
Max Horn
80bea5bc72 fixed some warnings
svn-id: r9216
2003-07-28 02:10:24 +00:00
Jonathan Gray
88b70db20f make people happy
svn-id: r9215
2003-07-28 02:06:49 +00:00
Max Horn
81baae7ddc added CopyRateConverter (used if inrate == outrate)
svn-id: r9214
2003-07-28 01:50:46 +00:00
Jonathan Gray
9865deb0bc bs2
svn-id: r9213
2003-07-28 01:50:45 +00:00
Jonathan Gray
dc6aa9912c bs2 driver
svn-id: r9212
2003-07-28 01:47:41 +00:00
Jonathan Gray
f020d28b5e bs2
svn-id: r9211
2003-07-28 01:44:38 +00:00
Max Horn
d592095fb9 Patch #715991: Quit Confirmation Dialog (feature request #642721) with some tweaks by me
svn-id: r9210
2003-07-28 01:36:16 +00:00
Max Horn
e87bc6d89e use a single converter for both channels (if input data is stereo), for improved efficency; renamed MemoryAudioInputStream -> LinearMemoryStream and use some template voodoo to make the baseclass of Input8bitSignedStream etc. variable; added (commented out) draf of WrappedMemoryStream
svn-id: r9209
2003-07-28 01:13:31 +00:00
Max Horn
12d872f754 more sanity checks
svn-id: r9208
2003-07-28 01:09:54 +00:00