annotate CHANGELOG @ 167:82acaa7107c2

Fixed Sound_DecodeAll(), and made Sound_FreeSample() a little more robust.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 26 Nov 2001 04:33:31 +0000
parents f7d65df4383a
children a1255c02bab1
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
154
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
5 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
6 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
7 --enable-debug was set; fixed. Changed this file to list latest
158
f7d65df4383a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 154
diff changeset
8 changes first. Torbjörn submitted a FLAC decoder that utilizes
f7d65df4383a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 154
diff changeset
9 libFLAC (http://flac.sf.net/). Cool.
154
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
10 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
11 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
12 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
13 and/or abort the way that mpg123 does.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
14 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
15 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
16 memory requirements for playsound by about 16 kilobytes.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
17 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
18 audio callback.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
19 10152001 - Torbjörn sends in a default sample format for the MIDI decoder,
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
20 and the starts of the audio conversion funcitonality (ripped
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
21 from SDL). Officially released 0.1.3. Added LICENSE and
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
22 CHANGELOG to the distribution. (Again, from Torbjörn) added in
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
23 the start of a tweaked audio converter.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
24 10122001 - Torbjörn Andersson submitted command line enhancements to
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
25 playsound, and I cleaned up the --help output.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
26 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
27 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
28 in CREDITS. Upped version to 0.1.3.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
29 10082001 - Restructured decoders/wav.c to allow for multiple formats, and
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
30 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
31 10072001 - Changed the way decoders/mod.c handles samplerate so that it should
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
32 work universally. This isn't an idea solution, but it's probably
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
33 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
34 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
35 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
36 10052001 - Removed #include "SDL_endian" from aiff.c.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
37 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
38 #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
39 the other decoders.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
40 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
41 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
42 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
43 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
44 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
45 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
46 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
47 more chance of correct playback).
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
48 10022001 - Changed a comment in mod.c to not refer to "the mikmod
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
49 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
50 (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
51 strings gracefully, fixing the crash with "playsound bootstrap".
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
52 More work on the SHN decoder.
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
53 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
54 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
55 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
56 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
57 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
58 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
59 NOT enable it in your build!
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
60 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
61 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
62 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
63 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
64 (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
65 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
66 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
67 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
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 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
76 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
77 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
78 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
79 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
80 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
81 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
82 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
83 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
84 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
85 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
86 added an AIFF decoder, which is very cool.
23
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
87 09192001 - Added a skeleton decoder source file. Changed voc_read() to
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
88 voc_read_waveform(), so it wouldn't be confused with VOC_read().
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
89 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
90 we were swapping byte order of data ourselves. Fixed). Added basic
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
91 .WAV support. Fixed Makefile so that -I. is always first;
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
92 otherwise, a previously installed header might get used for the
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
93 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
94 since SDL.h doesn't, for some reason. Moved version defines in
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
95 SDL_sound.h to top of file so I can find them. :)
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
96 Changed version to 0.1.1. Committed patch from Tsuyoshi Iguchi to
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
97 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
98 the available_decoders array), fixing the only bug preventing the
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
99 test program from running on FreeBSD 4.3. Sweet. Added Ogg Vorbis
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
100 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
101 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
102 in the VOC decoder.
154
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
103 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
104 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
105 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
106 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
107 memory. :)
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
108 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
109 So...tired. Everything's different. :)
feff6dab2278 Now lists latests entry first.
Ryan C. Gordon <icculus@icculus.org>
parents: 153
diff changeset
110 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
111 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
112 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
113
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
114 --ryan. (icculus@clutteredmind.org)
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
115
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
116 /* end of CHANGELOG ... */
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
117