Mercurial > SDL_sound_CoreAudio
annotate CHANGELOG @ 520:64ae7ac242b9
Fixed uninitialized buffer in mpglib. (Thanks, Phil!).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 06 Jul 2007 11:29:02 +0000 |
parents | 16cbfcb8d7fb |
children | 205a9b400da2 |
rev | line source |
---|---|
0 | 1 /* |
2 * CHANGELOG. | |
3 */ | |
4 | |
520
64ae7ac242b9
Fixed uninitialized buffer in mpglib. (Thanks, Phil!).
Ryan C. Gordon <icculus@icculus.org>
parents:
518
diff
changeset
|
5 07062007 - Fixed uninitialized buffer in mpglib. (Thanks, Phil!). |
518
16cbfcb8d7fb
Fixed bogus memory deference when SMPEG fails init (thanks, Chris!).
Ryan C. Gordon <icculus@icculus.org>
parents:
516
diff
changeset
|
6 10292006 - Fixed bogus memory deference when SMPEG fails init (thanks, Chris!) |
516
46d5f399cb35
Patch from stable-1.0 branch r528:529.
Ryan C. Gordon <icculus@icculus.org>
parents:
514
diff
changeset
|
7 10272006 - FLAC 1.1.3 breaks their API _again_, so we try to do the right |
46d5f399cb35
Patch from stable-1.0 branch r528:529.
Ryan C. Gordon <icculus@icculus.org>
parents:
514
diff
changeset
|
8 thing at build time. (Thanks, Josh!). |
514
6c4f29fc3d87
Ogg Vorbis files return samples in system byte order by default.
Ryan C. Gordon <icculus@icculus.org>
parents:
513
diff
changeset
|
9 07282006 - Ogg Vorbis decoding defaults to system byte order now. |
6c4f29fc3d87
Ogg Vorbis files return samples in system byte order by default.
Ryan C. Gordon <icculus@icculus.org>
parents:
513
diff
changeset
|
10 05122006 - Patched to get mpglib compiling again (thanks, Sam!). |
6c4f29fc3d87
Ogg Vorbis files return samples in system byte order by default.
Ryan C. Gordon <icculus@icculus.org>
parents:
513
diff
changeset
|
11 03312006 - Wedged in a temporary hack for Speex rewinding. |
504
6455549cd562
Clean up gcc4 compiler warnings.
Ryan C. Gordon <icculus@icculus.org>
parents:
497
diff
changeset
|
12 12172005 - Fixed gcc4 whining in playsound_simple.c. |
497
0b244f36049e
Trimmed a bunch of junk out of the build system, and now it works on Mac
Ryan C. Gordon <icculus@icculus.org>
parents:
496
diff
changeset
|
13 12062005 - Trimmed a bunch of junk out of the build system, and now it works |
0b244f36049e
Trimmed a bunch of junk out of the build system, and now it works on Mac
Ryan C. Gordon <icculus@icculus.org>
parents:
496
diff
changeset
|
14 on Mac OS X again. |
496
67d785044411
Forward port from stable branch: fix modplug header detection.
Ryan C. Gordon <icculus@icculus.org>
parents:
494
diff
changeset
|
15 10122005 - Check for libmodplug headers in two possible places (thanks, Tyler!) |
494
355129c687b7
Added playsound_simple.c, as a basic example.
Ryan C. Gordon <icculus@icculus.org>
parents:
490
diff
changeset
|
16 10012005 - Added playsound_simple.c. |
490 | 17 09142005 - Happy September. Patched smpeg.c and some other things to compile. |
482
9999f59cf591
Updated Project Builder project files to include missing exports.
Ryan C. Gordon <icculus@icculus.org>
parents:
480
diff
changeset
|
18 01062005 - Fixed Project Builder project files (Thanks, Martin!) |
480
00b61987b555
Fixed logic bug in .voc decoder that caused crash at open time.
Ryan C. Gordon <icculus@icculus.org>
parents:
479
diff
changeset
|
19 11122004 - Fixed automake nonsense. Fixed logic bug in voc decoder. |
482
9999f59cf591
Updated Project Builder project files to include missing exports.
Ryan C. Gordon <icculus@icculus.org>
parents:
480
diff
changeset
|
20 07032004 - Removed altcvt from the source tree. Started pounding out initial |
9999f59cf591
Updated Project Builder project files to include missing exports.
Ryan C. Gordon <icculus@icculus.org>
parents:
480
diff
changeset
|
21 mixer implementation. |
9999f59cf591
Updated Project Builder project files to include missing exports.
Ryan C. Gordon <icculus@icculus.org>
parents:
480
diff
changeset
|
22 05152004 - Added Sound_NewSampleFromMem(), and implementation of RWops pooling. |
477
3e705c9180e5
Fixed binary compatibility, added Sound_GetDuration().
Ryan C. Gordon <icculus@icculus.org>
parents:
475
diff
changeset
|
23 05112004 - Added Sound_GetDuration() and moved total_time out of Sound_Sample |
3e705c9180e5
Fixed binary compatibility, added Sound_GetDuration().
Ryan C. Gordon <icculus@icculus.org>
parents:
475
diff
changeset
|
24 struct and into it's opaque data...this fixes binary compatibility |
3e705c9180e5
Fixed binary compatibility, added Sound_GetDuration().
Ryan C. Gordon <icculus@icculus.org>
parents:
475
diff
changeset
|
25 with apps written for SDL_sound 1.0. |
474
c66080364dff
Most decoders now report total sample play time, now. Technically, this
Ryan C. Gordon <icculus@icculus.org>
parents:
473
diff
changeset
|
26 05082004 - Started 1.1.0 development branch with code to determine the total |
c66080364dff
Most decoders now report total sample play time, now. Technically, this
Ryan C. Gordon <icculus@icculus.org>
parents:
473
diff
changeset
|
27 length of a sample (thanks to Wesley, Eric, Wang, and Ahilan!)... |
c66080364dff
Most decoders now report total sample play time, now. Technically, this
Ryan C. Gordon <icculus@icculus.org>
parents:
473
diff
changeset
|
28 this patch was originally committed to CVS on 10252003, but it is |
475
f0b8865577db
"bootstrap" script works with MacOSX, now.
Ryan C. Gordon <icculus@icculus.org>
parents:
474
diff
changeset
|
29 getting re-merged in the svn repository. Fixed "bootstrap" to |
f0b8865577db
"bootstrap" script works with MacOSX, now.
Ryan C. Gordon <icculus@icculus.org>
parents:
474
diff
changeset
|
30 work with MacOSX. |
470
be0ffe96c931
Some subversion changes.
Ryan C. Gordon <icculus@icculus.org>
parents:
469
diff
changeset
|
31 05072004 - Backed out some commits, converted repository to Subversion, and |
473 | 32 branched off to a 1.1.0 development tree. Changed MikMod URL...old |
33 one is now a porn site. :( | |
469 | 34 10252003 - VOC decoder was broken. Now it isn't. |
467 | 35 10142003 - Build system fix: acinclude.m4 had some word wrapping badness. |
464 | 36 10122003 - Fixed "make dist" behaviour to not packaged generated docs, and |
37 made sure other files are always packaged, regardless of config. | |
38 Upped version to 1.0.1. | |
460 | 39 10102003 - Changed some SDL_Error()s to __Sound_SetError() in new DLS code |
40 to fix linking issues. | |
461 | 41 10052003 - Fixed memory corruption when freeing DLS instruments, |
42 and bug when timidity is initialized multiple times (Thanks, Sam!). | |
457 | 43 09252003 - Sam Lantinga added support for DLS instruments to the MIDI decoder. |
452 | 44 09132003 - Happy September. Added Speex (.spx) decoder. |
448 | 45 08052003 - Fixed MIDI decoder on bigendian systems. |
446 | 46 03102003 - Never actually created samplelist_mutex (Thanks, Glenn Maynard!). |
47 01302003 - Patches to make SDL_sound more Visual C happy (Thanks, Eric!). | |
439 | 48 01122003 - Fix to smpeg.c's rewinding code (Thanks, Eric). Put Visual C 6 |
49 project files in CVS, without external binaries (Thanks, Eric). | |
435 | 50 12212002 - Fixed ogg.c to decode a full buffer at a time instead of one ogg |
51 packet per call, and mikmod has a check during initialization to | |
52 prevent a clash with SDL_mixer (Thanks, Eric). | |
431 | 53 12092002 - Changed Sound_Init()'s call to SDL_Init() to SDL_InitSubSystem(), |
54 to prevent unwanted use of the SDL parachute (thanks, Glenn). | |
429 | 55 10092002 - Fixed a "make dist" issue and upped version to 1.0.0! Woohoo! |
423 | 56 09302002 - libFLAC broke their API (again!) for version 1.0.4. That was the |
57 last straw. I ripped the version detection and obsolete FLAC | |
58 support out, so you need libFLAC 1.0.4 for that decoder now (and | |
59 they'll probably break the API again for 1.0.5. Argh). | |
418 | 60 09262002 - Happy September. Fixed SDLCALL issues in SDL_sound.h, so it should |
419 | 61 work with Win32/WinCE builds again. I hope. Merged latest altcvt |
62 from Frank into CVS. | |
413 | 63 08222002 - Borland project files in CVS, thanks to Dominique Louis. There are |
64 project files for C++ Builder 6 (Windows), C++ Builder for Linux | |
65 (aka Kylix 3) and Borland's C++ Command line compiler. | |
412 | 66 08172002 - Timidity memory leak cleanup by Torbjörn. |
410 | 67 07292002 - Valgrind cleanups; memory leak patches, etc. |
407 | 68 07212002 - done_flag was not being reset between files in playsound, so the |
69 first file would playback, and then any following tracks in a given | |
70 run would "finish" immediately. Fixed. | |
404 | 71 07132002 - More altcvt fixes from Frank Ranostaj. |
402 | 72 07122002 - Changed inline keyword to compile universally. |
394 | 73 07102002 - Fixed a bug in command line handling in playsound.c. Fixes from |
74 Torbjörn and myself to get flac.c friendly between versions of | |
396 | 75 libFLAC. Mutex'd a potential race condition in decoders/modplug.c. |
399 | 76 FIXME cleanups here and there. |
390 | 77 07092002 - Fixed typo in documentation (SDL_sound.h). |
384 | 78 07052002 - Cleaned up some stuff in playsound.c, removing some FIXMEs. |
426 | 79 Commandline validation is improved, too. FIXME removal in |
387
fb519e6028e3
Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
Ryan C. Gordon <icculus@icculus.org>
parents:
384
diff
changeset
|
80 voc.c; should report i/o errors correctly now. Changed DECLSPEC |
fb519e6028e3
Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
Ryan C. Gordon <icculus@icculus.org>
parents:
384
diff
changeset
|
81 to SNDDECLSPEC to prevent SDL conflict, and added SDLCALL support. |
388 | 82 Removed all instances of Sound_SetError()...now they are either |
83 __Sound_SetError or BAIL*_MACRO. | |
379 | 84 07022002 - Added WinCE support pack to website, updated INSTALL with CE info. |
381 | 85 More altcvt fixes from Frank Ranostaj. |
377
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
86 07012002 - Fixed configure.in to work around bug in older autoconfs. Started |
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
87 merging Tyler's WinCE (PocketPC) port. Added checks for assert.h |
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
88 and signal.h to configure.in/config.h.in, and #if HAVE_*_H checks |
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
89 where appropriate in the code. Moved #include <assert.h> (along |
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
90 with the HAVE_ASSERT_H check) to SDL_sound_internal.h, and removed |
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
91 unnecessary #includes from the individual source files. Added |
cbb15ecf423a
WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents:
374
diff
changeset
|
92 "md_reverb = 1;" to MIKMOD_init(). Modplug got some WinCE-specific |
379 | 93 setting tweaks, and some settings maintanance code. configure.in |
94 checks if setbuf() is available. | |
381 | 95 06292002 - More altcvt fixes from Frank Ranostaj...mostly working now? |
372 | 96 06252002 - More altcvt fixes from Frank Ranostaj. |
370 | 97 06132002 - Patch from Torbjörn to fix stereo AIFF files. |
367 | 98 06212002 - More altcvt fixes from Frank Ranostaj. |
363 | 99 06132002 - Patch from Torbjörn to make the WAV decoder more tolerant. |
361 | 100 06122002 - Committed some altcvt enhancements from Frank Ranostaj. |
359 | 101 06112002 - Fixed some debug messages in smpeg.c and mpglib.c. |
356 | 102 06072002 - Manpages! Finally installed Doxygen and scratched together a |
103 Doxyfile. After some revision to physfs.h, we've got a rather | |
104 nice API reference. | |
350 | 105 06062002 - Added URLs for official and unofficial versions of ModPlug in |
352 | 106 decoders/modplug.c. Cleaned up some FIXMEs. |
348 | 107 05222002 - Torbjörn sent in some more fixes for altcvt: mono to stereo |
346 | 108 conversion works, now. |
344 | 109 05222002 - Torbjörn sent in some initial cleanups and fixes for altcvt, and |
110 fixed a bug in playsound when not all three of --rate, --channels | |
111 and --format are specified. | |
336 | 112 05202002 - Some .cvsignores from Max and me. Added a seek implementations for |
113 the SMPEG, ogg, aiff, wav-adpcm, voc, and au decoders. Added a seek | |
114 stub to quicktime.c. playsound now takes milliseconds in the seek | |
115 lists: --seek "00:00:400" or whatnot. Corrected playsound's usage | |
339 | 116 text. Other au.c cleanups for extra robustness. Added an |
117 experimental audio converter that Frank Ranostaj sent to the SDL | |
118 mailing list about a month ago: enable it with --enable-altcvt at | |
119 configure time, but be warned that it doesn't work very well right | |
120 now. | |
336 | 121 04292002 - Darrell Walisser updated the Mac Classic and OS X project |
319 | 122 files, fixed some portability issues, and added an |
426 | 123 experimental decoder that uses Apple's QuickTime libraries |
124 (see decoders/quicktime.c). I've included the Mac project files | |
319 | 125 in CVS, now. Removed all use of alloca() from playsound. |
313 | 126 04242002 - Added --seek option and bugfixes to playsound.c. Torbjörn comes |
315 | 127 through with seek support for the FLAC, MIDI, and ModPlug |
128 decoders (and some stub code for MikMod), and a bugfix for sample | |
129 flag manipulation in the base library (and his own --seek code for | |
130 playsound, which unfortunately we're not using). | |
309 | 131 04232002 - Cleaned up the playsound command line handling. Most command line |
132 options (--rate, --format, --predecode, etc) are specified per-file | |
133 and reset to their defaults after each sample is played back. | |
134 --loop now takes a numeric argument: --loop 2 will playback the | |
135 sample three times (one playback and two loops). Added Darrell | |
136 to the playsound credits. | |
304 | 137 04212002 - Initial work to add a Sound_Seek() API. Removed the NEEDSEEK |
306
c97be6e1bd27
Added framework for Sound_Seek() support.
Ryan C. Gordon <icculus@icculus.org>
parents:
304
diff
changeset
|
138 sample flag (replaced it with CANSEEK). Hack to change the internal |
c97be6e1bd27
Added framework for Sound_Seek() support.
Ryan C. Gordon <icculus@icculus.org>
parents:
304
diff
changeset
|
139 Sound_SetError() function to __Sound_SetError(). Added internal |
c97be6e1bd27
Added framework for Sound_Seek() support.
Ryan C. Gordon <icculus@icculus.org>
parents:
304
diff
changeset
|
140 function __Sound_convertMsToBytePos(). |
426 | 141 04082002 - Cleaned up the archive support in playsound a little bit, and |
303 | 142 fixed a PhysicsFS bug in the process. |
300 | 143 03252002 - Win32 patches and fixes from Tyler Montbriand: handled "inline" |
144 keyword, fixed SNDDBG macros in mpglib, and renamed a conflicting | |
145 file (decoders/mpglib/common.c to decoders/mpglib/mpglib_common.c). | |
289 | 146 03172002 - Removed an unneeded #include in mpglib that broke build on BeOS. |
291 | 147 mpglib seems to work find on BeOS. Reworked some of mpglib.c so we |
148 can determine the audio format when accepting the data stream. Some | |
149 other minor cleanups here and there. | |
289 | 150 03162002 - Tied the PhysicsFS code into the build system (code disabled if |
151 physfs not found or --disable-physfs passed to ./configure.) | |
284 | 152 03152002 - Added PhysicsFS support to playsound, so you can play sound files |
153 that are in ZIP files without unzipping them. Needs to be merged | |
154 into build system (I was just testing my PhysFS->RWops glue code). | |
278 | 155 03142002 - Changed configure script's --enable-vorbis to --enable-ogg. Removed |
282 | 156 global state variable from mpglib, so it should be reentrant now |
157 (patches sent to mpglib's actual maintainer). playsound can now | |
158 read from stdin. | |
275 | 159 03102002 - Added a FIXME note to decoders/mpglib.c. playsound now reports |
160 errors in the thread where they occured, which also fixes a double | |
161 report of errors during predecoding. Removed all calls to exit() in | |
162 mpglib. These calls now report errors correctly to SDL_sound, which | |
163 passes them on to the application (patch also sent to mpglib's | |
164 actual maintainer). Replaced all stderr chatter in mpglib with | |
165 Sound_SetError() calls. | |
267 | 166 03072002 - decoders/mpglib.c now disregards ID3 tags instead of passing them |
269 | 167 on as valid MP3 data to mpglib. Added some (buggy) example code for |
168 adjusting an audio stream's volume (via the new --volume command | |
169 line in playsound). | |
265 | 170 03032002 - Fixed mpglib's build configuration to include general build flags |
171 so that things like --enable-debug work as expected. | |
262 | 172 02212002 - Changed SMPEG's URL to point to the icculus.org site. Added an |
173 mpglib decoder (internal to SDL_sound; relies on no external libs) | |
174 and changes mp3.c to smpeg.c (and other associated things). | |
255 | 175 02112002 - Committed a patch from Torbjörn to fix incorrect memory accesses |
256 | 176 in the Timidity code. Changed the magic number in the AU decoder |
177 to be bigendian (seems appropriate). Updated README for | |
258 | 178 completeness, and TODO for accuracy. Darrell sent in updated |
179 MacOS X Project Builder files (on the website). | |
250 | 180 02072002 - Committed a patch Torbjörn sent in awhile ago for preventing |
181 confusion with Timidity++-specific stuff in the timidity.cfg file. | |
251
b9e090f89ef6
Tweaked comments, upped version to 0.1.5.
Ryan C. Gordon <icculus@icculus.org>
parents:
250
diff
changeset
|
182 Tyler Montbriand sent in an updated Visual C package. |
b9e090f89ef6
Tweaked comments, upped version to 0.1.5.
Ryan C. Gordon <icculus@icculus.org>
parents:
250
diff
changeset
|
183 Updated SDL_sound.h's comments a little. Upped version to 0.1.5. |
248 | 184 02052002 - Fixed a cleanup I broke last night. Added CWProject.sit to the |
185 EXTRA_DIST section of Makefile.am, and updated the README with | |
186 MacOS (9/X) install instructions. | |
243 | 187 02042002 - Darrell Walisser submitted some cleanups and CodeWarrior project |
188 files for MacOS 9. Sweet! | |
189 01232002 - Max fixed decoders/Makefile.am to work with seperate build | |
190 directories, and corrected some dates in this file. | |
240 | 191 01192002 - Torbjörn sent in patches implementing the rewind method for the |
234 | 192 rest of the decoders except shn.c, for which I added a kludged |
238 | 193 implementation. Added more info to the README. Hunted down the |
194 reason why SMPEG can't decode before calling SDL_OpenAudio(), and | |
195 it can't be fixed without a change to SMPEG (not MY fault! :) ). | |
196 Made ModPlug take priority over MikMod when selecting a decoder. | |
197 Mutex-protected the internal samples list, and fixed some bugs in | |
198 the management of that list. Changed some stuff to use uniform | |
199 coding conventions. | |
240 | 200 01182002 - SDL_sound/playsound builds and runs on BeOS now. Fixed an assertion |
225 | 201 bug I introduced yesterday. |
220 | 202 01172002 - Implemented Sound_Rewind(), and added a --loop command line to |
203 playsound for testing. Rewrote the audio callback to handle looping | |
204 with both predecoded and streamed samples. Most of the decoders | |
205 just have an assert(0) in their internal rewinding method at this | |
225 | 206 point. I implemented the WAV, VOC, AU, AIFF, and RAW ones, for now. |
207 (...and skeleton.c, for what that's worth.) A few tweaks in the | |
208 core API implementation to fix unlikely but possible leaks. | |
220 | 209 01112002 - Mattias Engdegård sent in an .AU decoder. Nice! He also tweaked |
215 | 210 playsound to try and wait until SDL has completed playing a given |
211 sound before closing the audio device. Changed a macro in | |
212 decoders/shn.c to be more uniform with the other decoders. | |
218 | 213 SDL_sound error messages are now maintained on a per-thread basis, |
214 and do not interfere with SDL_[GS]etError() anymore. | |
210 | 215 01112002 - Committed the rest of Torbjörn's MOD patches, to clean up file |
216 extension handling. | |
205 | 217 01092002 - Torbjörn comes through with a ModPlug-based decoder, which should |
218 work nicely for decoding multiple .MODs at once. Now we need to | |
219 figure out what to do with two decoders that can decode the same | |
220 file. For now, if you explicitly want either MikMod or ModPlug, you | |
221 should explicitly enable one decoder and disable the other on the | |
222 configure command line ("--enable-modplug --disable-mikmod", for | |
223 example), otherwise configure will try to sort out the best one for | |
224 your system. Choice is a wonderful thing. :) | |
225 01042002 - Forgot to bump playsound's version to match SDL_sound's. Fixed. | |
198 | 226 Added some notes to the top of COPYING about other libraries, etc. |
203 | 227 A real MIDI decoder (using a hacked version of the hacked version |
204
dfe83937103c
Credit where credit is due.
Ryan C. Gordon <icculus@icculus.org>
parents:
203
diff
changeset
|
228 of Timidity from SDL_mixer) is now in place and working well, |
dfe83937103c
Credit where credit is due.
Ryan C. Gordon <icculus@icculus.org>
parents:
203
diff
changeset
|
229 thanks to Torbjörn. |
205 | 230 01012002 - Happy New Year. Added some debug output to wav.c for future |
195 | 231 codecs (GSM comes to mind). Fixed the SMPEG decoder's URL to point |
232 to Loki's webpage. | |
190
aa0f8b5d2dac
Upped version to 0.1.4.
Ryan C. Gordon <icculus@icculus.org>
parents:
189
diff
changeset
|
233 12302001 - Upped version to 0.1.4. |
189 | 234 12272001 - Added --audiobuf and --decodebuf options to playsound to make |
235 tracking down a bug in the ADPCM decoder easier (plus, it could | |
236 help for benchmarking, etc later on...). Found a printf() bug in | |
237 playsound (extra comma in there...). ADPCM decoder appears to be | |
238 functional now. Tried to add ElectricFence support to | |
239 configure.in, and failed. All this libtool/autoconf stuff makes my | |
240 head hurt. | |
184
47cc2de2ae36
Changed reference to "LICENSE" file to "COPYING".
Ryan C. Gordon <icculus@icculus.org>
parents:
181
diff
changeset
|
241 12262001 - Changed remaining references to the "LICENSE" file into "COPYING". |
189 | 242 Work progresses on the ADPCM-compressed .wav decoder. Updates to |
243 the documentation in SDL_sound.h. Hhmm...find_chunk() in wav.c was | |
244 badly broken. Fixed. | |
181 | 245 12162001 - FLAC decoder now checks for the magic number unless the file |
246 extension is recognized. This was changed back because searching | |
247 for metadata, while probably more effective, is VERY expensive (and | |
248 useless) on non-FLAC streams. | |
175 | 249 12052001 - Put our names in a "--credits" option in playsound, and put the |
250 standard GNU disclaimers in there too, for good measure. Renamed | |
181 | 251 LICENSE to COPYING to match GNU standards more closely (and to |
177 | 252 end Max's torment. :) ) Tweaks to wav.c, and work on aiff.c to |
253 make it easier to support multiple audio formats (for compression | |
254 handling later down the road). | |
171 | 255 11302001 - Torbjörn and I make Sound_DecodeAll() more robust: checks for |
256 previous decoding failures and sets an appropriate error, handles | |
257 decoders that change their buffers on the fly (such as the FLAC | |
258 decoder), and deals with out-of-memory conditions more gracefully. | |
169 | 259 11252001 - (With thanks to Andreas Umbach for pointing it out) Fixed some |
260 problems with Sound_DecodeAll(). For local testing of this bug, | |
261 added a --predecode command line to playsound. Minor fixes to | |
262 theoretical bugs in Sound_FreeSample(). playsound no longer | |
263 buffers stdout and stderr. Updated Sound_DecodeAll()'s comments in | |
264 SDL_sound.h ... | |
265 11192001 - FLAC decoder cleanups from Torbjörn. | |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
266 11092001 - Torbjörn fixes playsound's audio callback after I broke it, again. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
267 A bug in configure.in was preventing SMPEG from being used unless |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
268 --enable-debug was set; fixed. Changed this file to list latest |
158 | 269 changes first. Torbjörn submitted a FLAC decoder that utilizes |
270 libFLAC (http://flac.sf.net/). Cool. | |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
271 11012001 - API COMPATIBILITY BREAKAGE: Decoders can now list multiple file |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
272 extensions each. Playsound has been updated to handle this. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
273 Playsound now registers a SIGINT handler, so you can skip tracks |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
274 and/or abort the way that mpg123 does. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
275 10232001 - Rewrote playsound.c's audio_callback() to no longer need the |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
276 overflow buffer hack, which streamlines it a little and trims the |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
277 memory requirements for playsound by about 16 kilobytes. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
278 10172001 - Torbjörn catches a problem with the overflow buffer in playsound's |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
279 audio callback. |
426 | 280 10152001 - Torbjörn sends in a default sample format for the MIDI decoder, |
281 and the starts of the audio conversion funcitonality (ripped | |
282 from SDL). Officially released 0.1.3. Added LICENSE and | |
283 CHANGELOG to the distribution. (Again, from Torbjörn) added in | |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
284 the start of a tweaked audio converter. |
426 | 285 10122001 - Torbjörn Andersson submitted command line enhancements to |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
286 playsound, and I cleaned up the --help output. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
287 10092001 - Patches to shn.c for Visual C compatibility. Visual C project files |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
288 available from the website. Changed Corona688 to Tyler Montbriand |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
289 in CREDITS. Upped version to 0.1.3. |
426 | 290 10082001 - Restructured decoders/wav.c to allow for multiple formats, and |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
291 put the start of a handler for the ADPCM format in place. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
292 10072001 - Changed the way decoders/mod.c handles samplerate so that it should |
191 | 293 work universally. This isn't an ideal solution, but it's probably |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
294 the best we can do without rewriting mikmod. Made a change to ogg.c |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
295 for portability: changed an int64_t to ogg_int64_t. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
296 10062001 - Made a change to SDL_sound.c for compiling on non-GNU toolchains. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
297 10052001 - Removed #include "SDL_endian" from aiff.c. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
298 10042001 - Changed some #if (defined SOUND_SUPPORTS_*) lines to |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
299 #ifdef SOUND_SUPPORTS_* in voc.c and shn.c, for consistency with |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
300 the other decoders. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
301 10032001 - After hours of tracking down a bogus pointer, the SHN decoder works! |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
302 I can die happy. :) Max placated me with an --enable-debug option |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
303 so I could stop my whining. Other autoconf goodies (such as |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
304 reenabling -Werror for debug builds, etc). Torbjörn brings in a |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
305 MIDI decoder, which reads from a Timidity process through a pipe. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
306 Changed playsound to open the audio device to match the properties |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
307 of each sound file, which results in less conversion (and therefore, |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
308 more chance of correct playback). |
426 | 309 10022001 - Changed a comment in mod.c to not refer to "the mikmod |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
310 directory" anymore. Committed Torbjörn's patch for MP3 detection. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
311 (better late than never). __Sound_strcasecmp() now handles NULL |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
312 strings gracefully, fixing the crash with "playsound bootstrap". |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
313 More work on the SHN decoder. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
314 10012001 - Fixed a memory leak that Torbjörn found in the MOD decoder. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
315 09252001 - More autoconf work. Gave Max Horn write access to the CVS |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
316 repository, so I don't drive him nuts tweaking this thing. :) |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
317 Fixed a const complaint and some other stuff needed for compilation |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
318 under Visual C++ 6.0 (no, it isn't ported yet). Put the SHN source |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
319 in CVS, even though it isn't ready (and doesn't even compile). Do |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
320 NOT enable it in your build! |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
321 09242001 - Thank goodness, Torbjörn came through with the MP3 fix. Apparently |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
322 SMPEG mixes each chunk of decoded data with whatever is already |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
323 in the buffer you give it. I hate that. I'm going to patch SMPEG |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
324 to let the programmer enable and disable that behaviour in a given |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
325 (SMPEG *), since it's just a CPU eater in this case. The _D(()) |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
326 macro is now SNDDBG(()), since _D is taken on MacOS X's version of |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
327 gcc (which was bound to happen on some platform sooner than later |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
328 anyhow). Renamed test_sdlsound to playsound, and made it more |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
329 robust in general: fixed potential overflow in audio_callback, |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
330 made it chatter less, made it take multiple files and some other |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
331 command lines. Initial autoconf support, thanks to Max Horn. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
332 09222001 - Torbjörn Andersson strikes again, with a collection of patches. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
333 First, some cosmetic tweaks for decoders/aiff.c. Next, a MOD player |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
334 based on MikMod. This inspired me to add two more methods to |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
335 Sound_DecoderFunctions: init() and quit(). Third, a fix to |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
336 decoders/mp3.c so that SMPEG won't claim every stream it sees, MP3 |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
337 or not. I removed the multiple-streams-per-rwops code, after |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
338 discussion on the mailing list. The init() and quit() methods |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
339 led to the possibility that certain decoders will flag themselves |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
340 as unavailable at runtime, and SDL_sound now handles this. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
341 Added [LIB|INC]PATH_[OGG|MOD]. Bigendian fixes; now works on |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
342 PowerPC Linux. MikMod tweaks. Changed version to 0.1.2. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
343 09202001 - Torbjörn Andersson submitted several patches: fixed a comment in |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
344 the .WAV decoder (whoops...screwed up my own search-and-replace. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
345 Hah.), made an attempt at putting multiple sound streams behind |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
346 one RWops (gotta think on that one first), and, most importantly, |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
347 added an AIFF decoder, which is very cool. |
23 | 348 09192001 - Added a skeleton decoder source file. Changed voc_read() to |
349 voc_read_waveform(), so it wouldn't be confused with VOC_read(). | |
350 Fixed a byte ordering bug in voc.c (reported as AUDIO_S16LSB, but | |
351 we were swapping byte order of data ourselves. Fixed). Added basic | |
352 .WAV support. Fixed Makefile so that -I. is always first; | |
353 otherwise, a previously installed header might get used for the | |
354 compiles, which is not good. SDL_sound.h now includes SDL_endian.h, | |
30 | 355 since SDL.h doesn't, for some reason. Moved version defines in |
356 SDL_sound.h to top of file so I can find them. :) | |
357 Changed version to 0.1.1. Committed patch from Tsuyoshi Iguchi to | |
358 fix a segfault (I forgot to put a NULL terminator at the end of | |
359 the available_decoders array), fixing the only bug preventing the | |
360 test program from running on FreeBSD 4.3. Sweet. Added Ogg Vorbis | |
361 decoder. Rewrote the test program's SDL audio callback to be more | |
33 | 362 robust (Ogg exposed a nasty bug in it). Fixed a byte-ordering issue |
38 | 363 in the VOC decoder. |
154
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
364 09182001 - Implemented MP3 support through SMPEG (not working yet, though) and |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
365 wrote the Reference Counting RWops wrapper. Added other little |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
366 things like the _D(()) macro. Added VOC support, which went up with |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
367 surprisingly little struggle, which means it MUST be leaking |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
368 memory. :) |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
369 09172001 - Changed some overlooked "voice" to "sound". Implemented base API. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
370 So...tired. Everything's different. :) |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
371 Also put in a RAW decoder and a simple test program. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
372 09142001 - Changed name to SDL_sound, added Sound_DecodeAll() to spec. |
feff6dab2278
Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents:
153
diff
changeset
|
373 09132001 - Initial spec proposed on SDL mailing list, under name "SDL_voice". |
0 | 374 |
375 --ryan. (icculus@clutteredmind.org) | |
376 | |
377 /* end of CHANGELOG ... */ | |
378 |