annotate CHANGELOG @ 474:c66080364dff

Most decoders now report total sample play time, now. Technically, this breaks binary compatibility with the 1.0 branch, since it extends the Sound_Sample struct, but most (all?) programs are just passing pointers allocated by SDL_sound around, and might be okay. Source-level compatibility is not broken...yet! :) --ryan. -------- Original Message -------- Subject: SDL_sound patch: Finding total length of time of sound file. Date: Sun, 26 Jan 2003 09:31:17 -0800 (PST) Hi Ryan, I am working with Eric Wing and helping him modify SDL_sound. AS part of our efforts in improving and enhancing SDL_sound, we like to submit this patch. We modified the codecs to find the total time of a sound file. Below is the explanation of the patch. The patch is appended as an attachment to this email. * MOTIVATION: We needed the ability to get the total play time of a sample (And we noticed that we're not the only ones). Since SDL_sound blocks direct access to the specific decoders, there is no way for a user to know this information short of decoding the whole thing. Because of this, we believe this will be a useful addition, even though the accuracy may not be perfect (subject to each decoder) or the information may not always be available. * CONTRIBUTORS: Wesley Leong (modified the majority of the codecs and verified the results) Eric Wing (showed everyone how to do modify codec, modified mikmod) Wang Lam (modified a handful of codecs, researched into specs and int overflow) Ahilan Anantha (modified a few codecs and helped with integer math) * GENERAL ISSUES: We chose the value to be milliseconds as an Sint32. Milliseconds because that's what Sound_Seek takes as a parameter and -1 to allow for instances/codecs where the value could not be determined. We are not sure if this is the final convention you want, so we are willing to work with you on this. We also expect the total_time field to be set on open and never again modified by SDL_sound. Users may access it directly much like the sample buffer and buffer_size. We thought about recomputing the time on DecodeAll, but since users may seek or decode small chunks first, not all the data may be there. So this is better done by the user. This may be good information to document. Currently, all the main codecs are implemented except for QuickTime.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 08 May 2004 08:19:50 +0000
parents 1edb89260487
children f0b8865577db
rev   line source
0
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
1 /*
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
2 * CHANGELOG.
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
3 */
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
4
474
c66080364dff Most decoders now report total sample play time, now. Technically, this
Ryan C. Gordon <icculus@icculus.org>
parents: 473
diff changeset
5 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
6 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
7 this patch was originally committed to CVS on 10252003, but it is
c66080364dff Most decoders now report total sample play time, now. Technically, this
Ryan C. Gordon <icculus@icculus.org>
parents: 473
diff changeset
8 getting re-merged in the svn repository.
470
be0ffe96c931 Some subversion changes.
Ryan C. Gordon <icculus@icculus.org>
parents: 469
diff changeset
9 05072004 - Backed out some commits, converted repository to Subversion, and
473
1edb89260487 Fixed MikMod URL.
Ryan C. Gordon <icculus@icculus.org>
parents: 470
diff changeset
10 branched off to a 1.1.0 development tree. Changed MikMod URL...old
1edb89260487 Fixed MikMod URL.
Ryan C. Gordon <icculus@icculus.org>
parents: 470
diff changeset
11 one is now a porn site. :(
469
3176f266655b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
12 10252003 - VOC decoder was broken. Now it isn't.
467
ea1eaab18df9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
13 10142003 - Build system fix: acinclude.m4 had some word wrapping badness.
464
182533748715 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 462
diff changeset
14 10122003 - Fixed "make dist" behaviour to not packaged generated docs, and
182533748715 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 462
diff changeset
15 made sure other files are always packaged, regardless of config.
182533748715 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 462
diff changeset
16 Upped version to 1.0.1.
460
270dd56ced16 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 457
diff changeset
17 10102003 - Changed some SDL_Error()s to __Sound_SetError() in new DLS code
270dd56ced16 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 457
diff changeset
18 to fix linking issues.
461
3112fac4abfe Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 460
diff changeset
19 10052003 - Fixed memory corruption when freeing DLS instruments,
3112fac4abfe Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 460
diff changeset
20 and bug when timidity is initialized multiple times (Thanks, Sam!).
457
9c12dc86d482 Fixed typo in CHANGELOG
hercules
parents: 456
diff changeset
21 09252003 - Sam Lantinga added support for DLS instruments to the MIDI decoder.
452
6c95cbd55d16 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 448
diff changeset
22 09132003 - Happy September. Added Speex (.spx) decoder.
448
139cb6ef0491 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 446
diff changeset
23 08052003 - Fixed MIDI decoder on bigendian systems.
446
ce8937e44e7a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
24 03102003 - Never actually created samplelist_mutex (Thanks, Glenn Maynard!).
ce8937e44e7a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
25 01302003 - Patches to make SDL_sound more Visual C happy (Thanks, Eric!).
439
48b56888964d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 437
diff changeset
26 01122003 - Fix to smpeg.c's rewinding code (Thanks, Eric). Put Visual C 6
48b56888964d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 437
diff changeset
27 project files in CVS, without external binaries (Thanks, Eric).
435
63a75d588043 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 431
diff changeset
28 12212002 - Fixed ogg.c to decode a full buffer at a time instead of one ogg
63a75d588043 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 431
diff changeset
29 packet per call, and mikmod has a check during initialization to
63a75d588043 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 431
diff changeset
30 prevent a clash with SDL_mixer (Thanks, Eric).
431
54a68e39fa7c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 429
diff changeset
31 12092002 - Changed Sound_Init()'s call to SDL_Init() to SDL_InitSubSystem(),
54a68e39fa7c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 429
diff changeset
32 to prevent unwanted use of the SDL parachute (thanks, Glenn).
429
df1839d62fd0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 426
diff changeset
33 10092002 - Fixed a "make dist" issue and upped version to 1.0.0! Woohoo!
423
c1db690b79ed Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 419
diff changeset
34 09302002 - libFLAC broke their API (again!) for version 1.0.4. That was the
c1db690b79ed Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 419
diff changeset
35 last straw. I ripped the version detection and obsolete FLAC
c1db690b79ed Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 419
diff changeset
36 support out, so you need libFLAC 1.0.4 for that decoder now (and
c1db690b79ed Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 419
diff changeset
37 they'll probably break the API again for 1.0.5. Argh).
418
e6fa92dc21eb Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 413
diff changeset
38 09262002 - Happy September. Fixed SDLCALL issues in SDL_sound.h, so it should
419
25a8f66112fd Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 418
diff changeset
39 work with Win32/WinCE builds again. I hope. Merged latest altcvt
25a8f66112fd Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 418
diff changeset
40 from Frank into CVS.
413
4a0829038968 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 412
diff changeset
41 08222002 - Borland project files in CVS, thanks to Dominique Louis. There are
4a0829038968 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 412
diff changeset
42 project files for C++ Builder 6 (Windows), C++ Builder for Linux
4a0829038968 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 412
diff changeset
43 (aka Kylix 3) and Borland's C++ Command line compiler.
412
43da792a8fab Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 410
diff changeset
44 08172002 - Timidity memory leak cleanup by Torbjörn.
410
ede9429ea6f5 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 407
diff changeset
45 07292002 - Valgrind cleanups; memory leak patches, etc.
407
1c7ed7097a9c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 404
diff changeset
46 07212002 - done_flag was not being reset between files in playsound, so the
1c7ed7097a9c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 404
diff changeset
47 first file would playback, and then any following tracks in a given
1c7ed7097a9c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 404
diff changeset
48 run would "finish" immediately. Fixed.
404
456e38cca681 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 402
diff changeset
49 07132002 - More altcvt fixes from Frank Ranostaj.
402
7ced6c44b827 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 399
diff changeset
50 07122002 - Changed inline keyword to compile universally.
394
b495d05a88b3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 392
diff changeset
51 07102002 - Fixed a bug in command line handling in playsound.c. Fixes from
b495d05a88b3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 392
diff changeset
52 Torbjörn and myself to get flac.c friendly between versions of
396
8cff79634bc5 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 394
diff changeset
53 libFLAC. Mutex'd a potential race condition in decoders/modplug.c.
399
e435bdcad552 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 398
diff changeset
54 FIXME cleanups here and there.
390
951574013896 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 388
diff changeset
55 07092002 - Fixed typo in documentation (SDL_sound.h).
384
fd44db5a5c08 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 381
diff changeset
56 07052002 - Cleaned up some stuff in playsound.c, removing some FIXMEs.
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
57 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
58 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
59 to SNDDECLSPEC to prevent SDL conflict, and added SDLCALL support.
388
43249ebb82e3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 387
diff changeset
60 Removed all instances of Sound_SetError()...now they are either
43249ebb82e3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 387
diff changeset
61 __Sound_SetError or BAIL*_MACRO.
379
7e49f4901ceb Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 377
diff changeset
62 07022002 - Added WinCE support pack to website, updated INSTALL with CE info.
381
ef30365ac717 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 379
diff changeset
63 More altcvt fixes from Frank Ranostaj.
377
cbb15ecf423a WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents: 374
diff changeset
64 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
65 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
66 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
67 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
68 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
69 unnecessary #includes from the individual source files. Added
cbb15ecf423a WinCE (PocketPC) patches from Tyler.
Ryan C. Gordon <icculus@icculus.org>
parents: 374
diff changeset
70 "md_reverb = 1;" to MIKMOD_init(). Modplug got some WinCE-specific
379
7e49f4901ceb Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 377
diff changeset
71 setting tweaks, and some settings maintanance code. configure.in
7e49f4901ceb Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 377
diff changeset
72 checks if setbuf() is available.
381
ef30365ac717 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 379
diff changeset
73 06292002 - More altcvt fixes from Frank Ranostaj...mostly working now?
372
ee0678efd4a3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 370
diff changeset
74 06252002 - More altcvt fixes from Frank Ranostaj.
370
12023d47b716 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 367
diff changeset
75 06132002 - Patch from Torbjörn to fix stereo AIFF files.
367
ae8d3fb4ae0b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 363
diff changeset
76 06212002 - More altcvt fixes from Frank Ranostaj.
363
0b0457462ccc Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 361
diff changeset
77 06132002 - Patch from Torbjörn to make the WAV decoder more tolerant.
361
473e6217fdfa Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 359
diff changeset
78 06122002 - Committed some altcvt enhancements from Frank Ranostaj.
359
2b7969823778 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 356
diff changeset
79 06112002 - Fixed some debug messages in smpeg.c and mpglib.c.
356
ea5c61aeb891 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 352
diff changeset
80 06072002 - Manpages! Finally installed Doxygen and scratched together a
ea5c61aeb891 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 352
diff changeset
81 Doxyfile. After some revision to physfs.h, we've got a rather
ea5c61aeb891 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 352
diff changeset
82 nice API reference.
350
cafdbcae733d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 348
diff changeset
83 06062002 - Added URLs for official and unofficial versions of ModPlug in
352
f0eb99670fa8 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 350
diff changeset
84 decoders/modplug.c. Cleaned up some FIXMEs.
348
4b46cf359136 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 346
diff changeset
85 05222002 - Torbjörn sent in some more fixes for altcvt: mono to stereo
346
b6341f628568 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
86 conversion works, now.
344
d5d281337ee0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 339
diff changeset
87 05222002 - Torbjörn sent in some initial cleanups and fixes for altcvt, and
d5d281337ee0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 339
diff changeset
88 fixed a bug in playsound when not all three of --rate, --channels
d5d281337ee0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 339
diff changeset
89 and --format are specified.
336
2d819d03c91e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 325
diff changeset
90 05202002 - Some .cvsignores from Max and me. Added a seek implementations for
2d819d03c91e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 325
diff changeset
91 the SMPEG, ogg, aiff, wav-adpcm, voc, and au decoders. Added a seek
2d819d03c91e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 325
diff changeset
92 stub to quicktime.c. playsound now takes milliseconds in the seek
2d819d03c91e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 325
diff changeset
93 lists: --seek "00:00:400" or whatnot. Corrected playsound's usage
339
e3ac0d41668c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 336
diff changeset
94 text. Other au.c cleanups for extra robustness. Added an
e3ac0d41668c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 336
diff changeset
95 experimental audio converter that Frank Ranostaj sent to the SDL
e3ac0d41668c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 336
diff changeset
96 mailing list about a month ago: enable it with --enable-altcvt at
e3ac0d41668c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 336
diff changeset
97 configure time, but be warned that it doesn't work very well right
e3ac0d41668c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 336
diff changeset
98 now.
336
2d819d03c91e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 325
diff changeset
99 04292002 - Darrell Walisser updated the Mac Classic and OS X project
319
4a2cd7d4aa06 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 315
diff changeset
100 files, fixed some portability issues, and added an
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
101 experimental decoder that uses Apple's QuickTime libraries
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
102 (see decoders/quicktime.c). I've included the Mac project files
319
4a2cd7d4aa06 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 315
diff changeset
103 in CVS, now. Removed all use of alloca() from playsound.
313
028f00df53ae Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 309
diff changeset
104 04242002 - Added --seek option and bugfixes to playsound.c. Torbjörn comes
315
aaf9142d5a9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 313
diff changeset
105 through with seek support for the FLAC, MIDI, and ModPlug
aaf9142d5a9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 313
diff changeset
106 decoders (and some stub code for MikMod), and a bugfix for sample
aaf9142d5a9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 313
diff changeset
107 flag manipulation in the base library (and his own --seek code for
aaf9142d5a9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 313
diff changeset
108 playsound, which unfortunately we're not using).
309
20e443fc4b7b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 306
diff changeset
109 04232002 - Cleaned up the playsound command line handling. Most command line
20e443fc4b7b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 306
diff changeset
110 options (--rate, --format, --predecode, etc) are specified per-file
20e443fc4b7b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 306
diff changeset
111 and reset to their defaults after each sample is played back.
20e443fc4b7b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 306
diff changeset
112 --loop now takes a numeric argument: --loop 2 will playback the
20e443fc4b7b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 306
diff changeset
113 sample three times (one playback and two loops). Added Darrell
20e443fc4b7b Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 306
diff changeset
114 to the playsound credits.
304
0cf2b2e4a259 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 303
diff changeset
115 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
116 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
117 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
118 function __Sound_convertMsToBytePos().
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
119 04082002 - Cleaned up the archive support in playsound a little bit, and
303
5c3d526cee21 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 300
diff changeset
120 fixed a PhysicsFS bug in the process.
300
338cd6c101e3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 291
diff changeset
121 03252002 - Win32 patches and fixes from Tyler Montbriand: handled "inline"
338cd6c101e3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 291
diff changeset
122 keyword, fixed SNDDBG macros in mpglib, and renamed a conflicting
338cd6c101e3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 291
diff changeset
123 file (decoders/mpglib/common.c to decoders/mpglib/mpglib_common.c).
289
fdf50bded850 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 287
diff changeset
124 03172002 - Removed an unneeded #include in mpglib that broke build on BeOS.
291
a48e886d456f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 289
diff changeset
125 mpglib seems to work find on BeOS. Reworked some of mpglib.c so we
a48e886d456f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 289
diff changeset
126 can determine the audio format when accepting the data stream. Some
a48e886d456f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 289
diff changeset
127 other minor cleanups here and there.
289
fdf50bded850 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 287
diff changeset
128 03162002 - Tied the PhysicsFS code into the build system (code disabled if
fdf50bded850 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 287
diff changeset
129 physfs not found or --disable-physfs passed to ./configure.)
284
fd9af100eb74 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 282
diff changeset
130 03152002 - Added PhysicsFS support to playsound, so you can play sound files
fd9af100eb74 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 282
diff changeset
131 that are in ZIP files without unzipping them. Needs to be merged
fd9af100eb74 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 282
diff changeset
132 into build system (I was just testing my PhysFS->RWops glue code).
278
dfe4a46f88f7 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 277
diff changeset
133 03142002 - Changed configure script's --enable-vorbis to --enable-ogg. Removed
282
464089180e49 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 278
diff changeset
134 global state variable from mpglib, so it should be reentrant now
464089180e49 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 278
diff changeset
135 (patches sent to mpglib's actual maintainer). playsound can now
464089180e49 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 278
diff changeset
136 read from stdin.
275
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
137 03102002 - Added a FIXME note to decoders/mpglib.c. playsound now reports
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
138 errors in the thread where they occured, which also fixes a double
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
139 report of errors during predecoding. Removed all calls to exit() in
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
140 mpglib. These calls now report errors correctly to SDL_sound, which
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
141 passes them on to the application (patch also sent to mpglib's
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
142 actual maintainer). Replaced all stderr chatter in mpglib with
da9c762c55e4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 269
diff changeset
143 Sound_SetError() calls.
267
9810e6794301 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 265
diff changeset
144 03072002 - decoders/mpglib.c now disregards ID3 tags instead of passing them
269
e11b87a3ec91 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 267
diff changeset
145 on as valid MP3 data to mpglib. Added some (buggy) example code for
e11b87a3ec91 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 267
diff changeset
146 adjusting an audio stream's volume (via the new --volume command
e11b87a3ec91 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 267
diff changeset
147 line in playsound).
265
87ef8f3e9484 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 262
diff changeset
148 03032002 - Fixed mpglib's build configuration to include general build flags
87ef8f3e9484 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 262
diff changeset
149 so that things like --enable-debug work as expected.
262
6fe6de401b63 mpglib support.
Ryan C. Gordon <icculus@icculus.org>
parents: 258
diff changeset
150 02212002 - Changed SMPEG's URL to point to the icculus.org site. Added an
6fe6de401b63 mpglib support.
Ryan C. Gordon <icculus@icculus.org>
parents: 258
diff changeset
151 mpglib decoder (internal to SDL_sound; relies on no external libs)
6fe6de401b63 mpglib support.
Ryan C. Gordon <icculus@icculus.org>
parents: 258
diff changeset
152 and changes mp3.c to smpeg.c (and other associated things).
255
fedfb7975219 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 251
diff changeset
153 02112002 - Committed a patch from Torbjörn to fix incorrect memory accesses
256
c6b7f7999a0e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 255
diff changeset
154 in the Timidity code. Changed the magic number in the AU decoder
c6b7f7999a0e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 255
diff changeset
155 to be bigendian (seems appropriate). Updated README for
258
8fa2a9b2642e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 256
diff changeset
156 completeness, and TODO for accuracy. Darrell sent in updated
8fa2a9b2642e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 256
diff changeset
157 MacOS X Project Builder files (on the website).
250
649a7592e1c9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 248
diff changeset
158 02072002 - Committed a patch Torbjörn sent in awhile ago for preventing
649a7592e1c9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 248
diff changeset
159 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
160 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
161 Updated SDL_sound.h's comments a little. Upped version to 0.1.5.
248
effbf695ba58 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 243
diff changeset
162 02052002 - Fixed a cleanup I broke last night. Added CWProject.sit to the
effbf695ba58 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 243
diff changeset
163 EXTRA_DIST section of Makefile.am, and updated the README with
effbf695ba58 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 243
diff changeset
164 MacOS (9/X) install instructions.
243
4a8d627a2326 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 240
diff changeset
165 02042002 - Darrell Walisser submitted some cleanups and CodeWarrior project
4a8d627a2326 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 240
diff changeset
166 files for MacOS 9. Sweet!
4a8d627a2326 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 240
diff changeset
167 01232002 - Max fixed decoders/Makefile.am to work with seperate build
4a8d627a2326 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 240
diff changeset
168 directories, and corrected some dates in this file.
240
ff6e66f54ece fixed decoders/Makefile.am
fingolfin
parents: 238
diff changeset
169 01192002 - Torbjörn sent in patches implementing the rewind method for the
234
156df33fd7fc Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 225
diff changeset
170 rest of the decoders except shn.c, for which I added a kludged
238
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
171 implementation. Added more info to the README. Hunted down the
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
172 reason why SMPEG can't decode before calling SDL_OpenAudio(), and
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
173 it can't be fixed without a change to SMPEG (not MY fault! :) ).
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
174 Made ModPlug take priority over MikMod when selecting a decoder.
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
175 Mutex-protected the internal samples list, and fixed some bugs in
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
176 the management of that list. Changed some stuff to use uniform
d8247b97b010 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 234
diff changeset
177 coding conventions.
240
ff6e66f54ece fixed decoders/Makefile.am
fingolfin
parents: 238
diff changeset
178 01182002 - SDL_sound/playsound builds and runs on BeOS now. Fixed an assertion
225
3b4415a39466 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 220
diff changeset
179 bug I introduced yesterday.
220
ef72f3c490e7 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 218
diff changeset
180 01172002 - Implemented Sound_Rewind(), and added a --loop command line to
ef72f3c490e7 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 218
diff changeset
181 playsound for testing. Rewrote the audio callback to handle looping
ef72f3c490e7 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 218
diff changeset
182 with both predecoded and streamed samples. Most of the decoders
ef72f3c490e7 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 218
diff changeset
183 just have an assert(0) in their internal rewinding method at this
225
3b4415a39466 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 220
diff changeset
184 point. I implemented the WAV, VOC, AU, AIFF, and RAW ones, for now.
3b4415a39466 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 220
diff changeset
185 (...and skeleton.c, for what that's worth.) A few tweaks in the
3b4415a39466 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 220
diff changeset
186 core API implementation to fix unlikely but possible leaks.
220
ef72f3c490e7 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 218
diff changeset
187 01112002 - Mattias Engdegård sent in an .AU decoder. Nice! He also tweaked
215
9bafd3e8276e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 210
diff changeset
188 playsound to try and wait until SDL has completed playing a given
9bafd3e8276e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 210
diff changeset
189 sound before closing the audio device. Changed a macro in
9bafd3e8276e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 210
diff changeset
190 decoders/shn.c to be more uniform with the other decoders.
218
cbd5e308f12d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 215
diff changeset
191 SDL_sound error messages are now maintained on a per-thread basis,
cbd5e308f12d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 215
diff changeset
192 and do not interfere with SDL_[GS]etError() anymore.
210
4861069841b9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 205
diff changeset
193 01112002 - Committed the rest of Torbjörn's MOD patches, to clean up file
4861069841b9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 205
diff changeset
194 extension handling.
205
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
195 01092002 - Torbjörn comes through with a ModPlug-based decoder, which should
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
196 work nicely for decoding multiple .MODs at once. Now we need to
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
197 figure out what to do with two decoders that can decode the same
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
198 file. For now, if you explicitly want either MikMod or ModPlug, you
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
199 should explicitly enable one decoder and disable the other on the
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
200 configure command line ("--enable-modplug --disable-mikmod", for
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
201 example), otherwise configure will try to sort out the best one for
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
202 your system. Choice is a wonderful thing. :)
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
203 01042002 - Forgot to bump playsound's version to match SDL_sound's. Fixed.
198
f9a752f41ab6 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 195
diff changeset
204 Added some notes to the top of COPYING about other libraries, etc.
203
ce6f870ed446 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 198
diff changeset
205 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
206 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
207 thanks to Torbjörn.
205
2cae459bc47e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 204
diff changeset
208 01012002 - Happy New Year. Added some debug output to wav.c for future
195
05bb0259cd2a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 191
diff changeset
209 codecs (GSM comes to mind). Fixed the SMPEG decoder's URL to point
05bb0259cd2a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 191
diff changeset
210 to Loki's webpage.
190
aa0f8b5d2dac Upped version to 0.1.4.
Ryan C. Gordon <icculus@icculus.org>
parents: 189
diff changeset
211 12302001 - Upped version to 0.1.4.
189
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
212 12272001 - Added --audiobuf and --decodebuf options to playsound to make
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
213 tracking down a bug in the ADPCM decoder easier (plus, it could
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
214 help for benchmarking, etc later on...). Found a printf() bug in
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
215 playsound (extra comma in there...). ADPCM decoder appears to be
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
216 functional now. Tried to add ElectricFence support to
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
217 configure.in, and failed. All this libtool/autoconf stuff makes my
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
218 head hurt.
184
47cc2de2ae36 Changed reference to "LICENSE" file to "COPYING".
Ryan C. Gordon <icculus@icculus.org>
parents: 181
diff changeset
219 12262001 - Changed remaining references to the "LICENSE" file into "COPYING".
189
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
220 Work progresses on the ADPCM-compressed .wav decoder. Updates to
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
221 the documentation in SDL_sound.h. Hhmm...find_chunk() in wav.c was
92eae705e0d1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 184
diff changeset
222 badly broken. Fixed.
181
993dd477eb4c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 177
diff changeset
223 12162001 - FLAC decoder now checks for the magic number unless the file
993dd477eb4c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 177
diff changeset
224 extension is recognized. This was changed back because searching
993dd477eb4c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 177
diff changeset
225 for metadata, while probably more effective, is VERY expensive (and
993dd477eb4c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 177
diff changeset
226 useless) on non-FLAC streams.
175
865c17682d8f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 171
diff changeset
227 12052001 - Put our names in a "--credits" option in playsound, and put the
865c17682d8f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 171
diff changeset
228 standard GNU disclaimers in there too, for good measure. Renamed
181
993dd477eb4c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 177
diff changeset
229 LICENSE to COPYING to match GNU standards more closely (and to
177
028a6691fbf9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 175
diff changeset
230 end Max's torment. :) ) Tweaks to wav.c, and work on aiff.c to
028a6691fbf9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 175
diff changeset
231 make it easier to support multiple audio formats (for compression
028a6691fbf9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 175
diff changeset
232 handling later down the road).
171
697fabe1453e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 169
diff changeset
233 11302001 - Torbjörn and I make Sound_DecodeAll() more robust: checks for
697fabe1453e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 169
diff changeset
234 previous decoding failures and sets an appropriate error, handles
697fabe1453e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 169
diff changeset
235 decoders that change their buffers on the fly (such as the FLAC
697fabe1453e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 169
diff changeset
236 decoder), and deals with out-of-memory conditions more gracefully.
169
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
237 11252001 - (With thanks to Andreas Umbach for pointing it out) Fixed some
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
238 problems with Sound_DecodeAll(). For local testing of this bug,
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
239 added a --predecode command line to playsound. Minor fixes to
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
240 theoretical bugs in Sound_FreeSample(). playsound no longer
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
241 buffers stdout and stderr. Updated Sound_DecodeAll()'s comments in
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
242 SDL_sound.h ...
a1255c02bab1 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 158
diff changeset
243 11192001 - FLAC decoder cleanups from Torbjörn.
154
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
244 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
245 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
246 --enable-debug was set; fixed. Changed this file to list latest
158
f7d65df4383a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 154
diff changeset
247 changes first. Torbjörn submitted a FLAC decoder that utilizes
f7d65df4383a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 154
diff changeset
248 libFLAC (http://flac.sf.net/). Cool.
154
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
249 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
250 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
251 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
252 and/or abort the way that mpg123 does.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
253 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
254 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
255 memory requirements for playsound by about 16 kilobytes.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
256 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
257 audio callback.
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
258 10152001 - Torbjörn sends in a default sample format for the MIDI decoder,
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
259 and the starts of the audio conversion funcitonality (ripped
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
260 from SDL). Officially released 0.1.3. Added LICENSE and
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
261 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
262 the start of a tweaked audio converter.
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
263 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
264 playsound, and I cleaned up the --help output.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
265 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
266 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
267 in CREDITS. Upped version to 0.1.3.
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
268 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
269 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
270 10072001 - Changed the way decoders/mod.c handles samplerate so that it should
191
fbb6101ea4b4 Fixed a small typo.
Ryan C. Gordon <icculus@icculus.org>
parents: 190
diff changeset
271 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
272 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
273 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
274 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
275 10052001 - Removed #include "SDL_endian" from aiff.c.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
276 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
277 #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
278 the other decoders.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
279 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
280 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
281 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
282 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
283 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
284 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
285 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
286 more chance of correct playback).
426
72383155bfac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 423
diff changeset
287 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
288 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
289 (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
290 strings gracefully, fixing the crash with "playsound bootstrap".
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
291 More work on the SHN decoder.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
292 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
293 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
294 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
295 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
296 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
297 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
298 NOT enable it in your build!
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
299 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
300 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
301 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
302 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
303 (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
304 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
305 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
306 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
307 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
308 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
309 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
310 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
311 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
312 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
313 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
314 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
315 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
316 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
317 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
318 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
319 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
320 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
321 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
322 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
323 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
324 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
325 added an AIFF decoder, which is very cool.
23
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
326 09192001 - Added a skeleton decoder source file. Changed voc_read() to
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
327 voc_read_waveform(), so it wouldn't be confused with VOC_read().
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
328 Fixed a byte ordering bug in voc.c (reported as AUDIO_S16LSB, but
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
329 we were swapping byte order of data ourselves. Fixed). Added basic
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
330 .WAV support. Fixed Makefile so that -I. is always first;
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
331 otherwise, a previously installed header might get used for the
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
332 compiles, which is not good. SDL_sound.h now includes SDL_endian.h,
30
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
333 since SDL.h doesn't, for some reason. Moved version defines in
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
334 SDL_sound.h to top of file so I can find them. :)
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
335 Changed version to 0.1.1. Committed patch from Tsuyoshi Iguchi to
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
336 fix a segfault (I forgot to put a NULL terminator at the end of
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
337 the available_decoders array), fixing the only bug preventing the
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
338 test program from running on FreeBSD 4.3. Sweet. Added Ogg Vorbis
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
339 decoder. Rewrote the test program's SDL audio callback to be more
33
662bacccfd2c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 30
diff changeset
340 robust (Ogg exposed a nasty bug in it). Fixed a byte-ordering issue
38
9950943545c4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 33
diff changeset
341 in the VOC decoder.
154
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
342 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
343 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
344 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
345 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
346 memory. :)
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
347 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
348 So...tired. Everything's different. :)
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
349 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
350 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
351 09132001 - Initial spec proposed on SDL mailing list, under name "SDL_voice".
0
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
352
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
353 --ryan. (icculus@clutteredmind.org)
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
354
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
355 /* end of CHANGELOG ... */
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
356