annotate CHANGELOG @ 114:dd95a12539fd

Changed an #if defined to #ifdef, for consistency with the other decoders.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 04 Oct 2001 19:35:53 +0000
parents 7cd718877f3f
children 12688fbf9f59
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
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
5 09132001 - Initial spec proposed on SDL mailing list, under name "SDL_voice".
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
6 09142001 - Changed name to SDL_sound, added Sound_DecodeAll() to spec.
23
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
7 09172001 - Changed some overlooked "voice" to "sound". Implemented base API.
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
8 So...tired. Everything's different. :)
2
f58a664c1557 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 0
diff changeset
9 Also put in a RAW decoder and a simple test program.
23
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
10 09182001 - Implemented MP3 support through SMPEG (not working yet, though) and
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
11 wrote the Reference Counting RWops wrapper. Added other little
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
12 things like the _D(()) macro. Added VOC support, which went up with
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
13 surprisingly little struggle, which means it MUST be leaking
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
14 memory. :)
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
15 09192001 - Added a skeleton decoder source file. Changed voc_read() to
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
16 voc_read_waveform(), so it wouldn't be confused with VOC_read().
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
17 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
18 we were swapping byte order of data ourselves. Fixed). Added basic
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
19 .WAV support. Fixed Makefile so that -I. is always first;
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
20 otherwise, a previously installed header might get used for the
06a009a1ec9e Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 2
diff changeset
21 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
22 since SDL.h doesn't, for some reason. Moved version defines in
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
23 SDL_sound.h to top of file so I can find them. :)
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
24 Changed version to 0.1.1. Committed patch from Tsuyoshi Iguchi to
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
25 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
26 the available_decoders array), fixing the only bug preventing the
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
27 test program from running on FreeBSD 4.3. Sweet. Added Ogg Vorbis
66ff8562eec0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
28 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
29 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
30 in the VOC decoder.
9950943545c4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 33
diff changeset
31 09202001 - Torbjörn Andersson submitted several patches: fixed a comment in
9950943545c4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 33
diff changeset
32 the .WAV decoder (whoops...screwed up my own search-and-replace.
9950943545c4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 33
diff changeset
33 Hah.), made an attempt at putting multiple sound streams behind
9950943545c4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 33
diff changeset
34 one RWops (gotta think on that one first), and, most importantly,
9950943545c4 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 33
diff changeset
35 added an AIFF decoder, which is very cool.
49
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
36 09222001 - Torbjörn Andersson strikes again, with a collection of patches.
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
37 First, some cosmetic tweaks for decoders/aiff.c. Next, a MOD player
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
38 based on MikMod. This inspired me to add two more methods to
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
39 Sound_DecoderFunctions: init() and quit(). Third, a fix to
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
40 decoders/mp3.c so that SMPEG won't claim every stream it sees, MP3
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
41 or not. I removed the multiple-streams-per-rwops code, after
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
42 discussion on the mailing list. The init() and quit() methods
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
43 led to the possibility that certain decoders will flag themselves
365b3be64aac Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 38
diff changeset
44 as unavailable at runtime, and SDL_sound now handles this.
55
8f0e28b7b28c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 53
diff changeset
45 Added [LIB|INC]PATH_[OGG|MOD]. Bigendian fixes; now works on
8f0e28b7b28c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 53
diff changeset
46 PowerPC Linux. MikMod tweaks. Changed version to 0.1.2.
8f0e28b7b28c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 53
diff changeset
47 09242001 - Thank goodness, Torbjörn came through with the MP3 fix. Apparently
8f0e28b7b28c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 53
diff changeset
48 SMPEG mixes each chunk of decoded data with whatever is already
8f0e28b7b28c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 53
diff changeset
49 in the buffer you give it. I hate that. I'm going to patch SMPEG
8f0e28b7b28c Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 53
diff changeset
50 to let the programmer enable and disable that behaviour in a given
61
7d3a6ea7f1f0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 55
diff changeset
51 (SMPEG *), since it's just a CPU eater in this case. The _D(())
7d3a6ea7f1f0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 55
diff changeset
52 macro is now SNDDBG(()), since _D is taken on MacOS X's version of
7d3a6ea7f1f0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 55
diff changeset
53 gcc (which was bound to happen on some platform sooner than later
7d3a6ea7f1f0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 55
diff changeset
54 anyhow). Renamed test_sdlsound to playsound, and made it more
7d3a6ea7f1f0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 55
diff changeset
55 robust in general: fixed potential overflow in audio_callback,
7d3a6ea7f1f0 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 55
diff changeset
56 made it chatter less, made it take multiple files and some other
67
78da63951b29 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 61
diff changeset
57 command lines. Initial autoconf support, thanks to Max Horn.
84
0e7579fb4ea3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 67
diff changeset
58 09252001 - More autoconf work. Gave Max Horn write access to the CVS
0e7579fb4ea3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 67
diff changeset
59 repository, so I don't drive him nuts tweaking this thing. :)
0e7579fb4ea3 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 67
diff changeset
60 Fixed a const complaint and some other stuff needed for compilation
91
fedde865563d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
61 under Visual C++ 6.0 (no, it isn't ported yet). Put the SHN source
fedde865563d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
62 in CVS, even though it isn't ready (and doesn't even compile). Do
fedde865563d Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 84
diff changeset
63 NOT enable it in your build!
93
69352e3cc996 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 91
diff changeset
64 10012001 - Fixed a memory leak that Torbjörn found in the MOD decoder.
95
4436f4587c9a Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 93
diff changeset
65 10022001 - Changed a comment in mod.c to not refer to "the mikmod
97
40be84c1aadd Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 95
diff changeset
66 directory" anymore. Committed Torbjörn's patch for MP3 detection.
109
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
67 (better late than never). __Sound_strcasecmp() now handles NULL
99
3f0beddfd9c9 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 97
diff changeset
68 strings gracefully, fixing the crash with "playsound bootstrap".
109
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
69 More work on the SHN decoder.
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
70 10032001 - After hours of tracking down a bogus pointer, the SHN decoder works!
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
71 I can die happy. :) Max placated me with an --enable-debug option
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
72 so I could stop my whining. Other autoconf goodies (such as
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
73 reenabling -Werror for debug builds, etc). Torbjörn brings in a
2aec53e68049 Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 99
diff changeset
74 MIDI decoder, which reads from a Timidity process through a pipe.
113
7cd718877f3f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 109
diff changeset
75 Changed playsound to open the audio device to match the properties
7cd718877f3f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 109
diff changeset
76 of each sound file, which results in less conversion (and therefore,
7cd718877f3f Updated.
Ryan C. Gordon <icculus@icculus.org>
parents: 109
diff changeset
77 more chance of correct playback).
0
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
78
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
79 --ryan. (icculus@clutteredmind.org)
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
80
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
81 /* end of CHANGELOG ... */
1078b3528e6f Initial revision
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
82