add FLAC__metadata_get_tags(), FLAC::Metadata::get_tags()
[platform/upstream/flac.git] / doc / html / changelog.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <!-- Copyright (c)  2004  Josh Coalson -->
3 <!-- Permission is granted to copy, distribute and/or modify this document -->
4 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
5 <!-- or any later version published by the Free Software Foundation; -->
6 <!-- with no invariant sections. -->
7 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
8 <HTML>
9 <HEAD>
10         <TITLE>FLAC - changelog</TITLE>
11 </HEAD>
12
13 <BODY MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BGCOLOR="#99CC99" TEXT="#000000" LINK="#336699" VLINK="#336699" ALINK="#336699">
14
15 <TABLE BORDER=0 WIDTH="100%" CELLPADDING=1 CELLSPACING=0>
16         <TR>
17                 <TD ALIGN="CENTER" BGCOLOR="#000000"><A HREF="http://flac.sourceforge.net/"><IMG SRC="images/logo130.gif" ALIGN=CENTER ALT="FLAC Logo" BORDER=0 HSPACE=0></a></TD>
18         </TR>
19 </TABLE>
20
21 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#99CC99"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="25" ALT=""></TD></TR></TABLE>
22
23 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
24
25 <TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
26         <TR>
27                 <TD ALIGN="CENTER" BGCOLOR="#D3D4C5">
28                         <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
29                                 <TR>
30                                         <TD HEIGHT=22 BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="index.html">home</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
31                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="faq.html">faq</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
32                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="news.html">news</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
33                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="download.html">download</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
34                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="features.html">features</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
35                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="goals.html">goals</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
36                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="format.html">format</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
37                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="id.html">id</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
38                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="comparison.html">comparison</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
39                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="documentation.html">documentation</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
40                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;changelog&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
41                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="links.html">links</A>&nbsp;&nbsp;</TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
42                                         <TD           BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="developers.html">developers</A>&nbsp;&nbsp;</TD>
43                                 </TR>
44                         </TABLE>
45                 </TD>
46         </TR>
47 </TABLE>
48
49 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
50
51 <TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
52         <TR>
53                 <TD ALIGN="CENTER" BGCOLOR="#EEEED4">
54                         <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
55                                 <TR>
56                                         <TD HEIGHT=22 BGCOLOR="#EEEED4" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;english&nbsp;&nbsp;</TD><TD BGCOLOR="#EEEED4" ALIGN=CENTER>|</TD>
57                                         <TD           BGCOLOR="#EEEED4" ALIGN=CENTER NOWRAP>&nbsp;&nbsp;<A CLASS="topnav" HREF="ru/changelog.html">russian</A>&nbsp;&nbsp;</TD>
58                                 </TR>
59                         </TABLE>
60                 </TD>
61         </TR>
62 </TABLE>
63
64 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
65
66 <CENTER>
67
68 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#99CC99"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="15" ALT=""></TD></TR></TABLE>
69
70
71 <TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
72 <TR><TD>
73         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
74         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
75                 <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
76                 <B><FONT SIZE="+2">changelog</FONT></B>
77                 </FONT></TD></TR>
78         </TABLE>
79         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
80         <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
81         <TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
82
83         <P>
84                 This is an informal changelog, a summary of changes in each release.  Particulary important for developers is the precise description of changes to the library interfaces.
85         </P>
86
87         <P>
88                 <A NAME="flac_1_1_1"><B>FLAC 1.1.1</B></A>
89         </P>
90         <P>
91         <UL>
92                 <LI>
93                         General:
94                         <UL>
95                                 <LI>Ogg FLAC seeking now works</LI>
96                                 <LI>New PPC optimizations almost double the decoding speed on OS X</LI>
97                                 <LI>A native OS X release thanks to updated Project Builder and autotools files</LI>
98                         </UL>
99                 </LI>
100                 <LI>
101                         FLAC format:
102                         <UL>
103                                 <LI>Made invalid the metadata block type 127 so that audio frames can always be distinguished from metadata by seeing 0xff as the first byte.</LI>
104                         </UL>
105                 </LI>
106                 <LI>
107                         flac:
108                         <UL>
109                                 <LI>Print an error when output file already exists instead of automatically overwriting.</LI>
110                                 <LI>New option <A HREF="documentation.html#flac_options_force"><TT>-f</TT> (<TT>--force</TT>)</A> to force overwriting if the output file already exists.</LI>
111                                 <LI>New option <A HREF="documentation.html#flac_options_cue"><TT>--cue</TT></A> to select a specific section to decode using cuesheet track/index points.</LI>
112                                 <LI>New option <A HREF="documentation.html#flac_options_totally_silent"><TT>--totally-silent</TT></A> to suppress all output.</LI>
113                                 <LI>New (but undocumented) option <TT>--apply-replaygain-which-is-not-lossless</TT> which applies ReplayGain to the decoded output.  See <A HREF="http://www.hydrogenaudio.org/forums/index.php?showtopic=17293&st=11">this thread</A> for usage and caveats.</LI>
114                                 <LI>When encoding to Ogg FLAC, use a random serial number (instead of 0 as was done before) when a serial number is not specified.</LI>
115                                 <LI>When encoding multiple Ogg FLAC streams, <TT>--serial-number</TT> or random serial number sets the first number, which is then incremented for subsequent streams (before, the same serial number was used for all streams).</LI>
116                                 <LI>Decoder no longer exits with an error when writing to stdout and the pipe is broken.</LI>
117                                 <LI>Better explanation of common error messages.</LI>
118                                 <LI>Default extension when writing AIFF files is .aif (before, it was .aiff).</LI>
119                                 <LI>Write more common representation of SANE numbers in AIFF files.</LI>
120                                 <LI>Bug fix: calculating ReplayGain on 48kHz streams.</LI>
121                                 <LI>Bug fix: check for supported block alignments in WAVE files.</LI>
122                                 <LI>Bug fix: <A HREF="http://sourceforge.net/tracker/index.php?func=detail&aid=679166&group_id=13478&atid=113478">#679166</A>: flac doesn't respect RIFF subchunk padding byte.</LI>
123                                 <LI>Bug fix: <A HREF="http://sourceforge.net/tracker/index.php?func=detail&aid=828391&group_id=13478&atid=113478">#828391</A>: --add-replay-gain segfaults.</LI>
124                                 <LI>Bug fix: <A HREF="http://sourceforge.net/tracker/index.php?func=detail&aid=851155&group_id=13478&atid=113478">#851155</A>: Can't seek to position in flac file.</LI>
125                                 <LI>Bug fix: <A HREF="http://sourceforge.net/tracker/index.php?func=detail&aid=851756&group_id=13478&atid=113478">#851756</A>: flac --skip --until reads entire file.</LI>
126                                 <LI>Bug fix: <A HREF="http://sourceforge.net/tracker/index.php?func=detail&aid=877122&group_id=13478&atid=113478">#877122</A>: problem parsing cuesheet with CATALOG entry.</LI>
127                                 <LI>Bug fix: <A HREF="http://sourceforge.net/tracker/index.php?func=detail&aid=896057&group_id=13478&atid=113478">#896057</A>: parsing ISRC number from cuesheet.</LI>
128                         </UL>
129                 </LI>
130                 <LI>
131                         metaflac:
132                         <UL>
133                                 <LI>Better explanation of common error messages.</LI>
134                                 <LI>Bug fix: calculating ReplayGain on 48kHz streams.</LI>
135                                 <LI>Bug fix: incorrect numbers when printing seek points.</LI>
136                         </UL>
137                 </LI>
138                 <LI>
139                         plugins:
140                         <UL>
141                                 <LI>Speed optimization in ReplayGain synthesis.</LI>
142                                 <LI>Speed optimization in XMMS playback.</LI>
143                                 <LI>Support for big-endian architectures in XMMS plugin.</LI>
144                                 <LI>Bug fix: make hard limiter default to off in XMMS plugin.</LI>
145                                 <LI>Bug fix: stream length calculation bug in XMMS plugin, debian bug #200435; <A HREF="http://sourceforge.net/mailarchive/forum.php?thread_id=2733072&forum_id=6312">see also</A>.</LI>
146                                 <LI>Bug fix: small memory leak in XMMS plugin.</LI>
147                         </UL>
148                 </LI>
149                 <LI>
150                         build system:
151                         <UL>
152                                 <LI><TT>ordinals.h</TT> is now static, not a build-generated file anymore.</LI>
153                         </UL>
154                 </LI>
155                 <LI>
156                         libraries:
157                         <UL>
158                                 <LI>libFLAC: PPC+Altivec optimizations of some decoder routines.</LI>
159                                 <LI>libFLAC: Make stream encoder encode the blocksize and sample rate in the frame header if at all possible (not in STREAMINFO), even if subset encoding was not requested.</LI>
160                                 <LI>libFLAC: Bug fix: fixed seek routine where infinite loop could happen when seeking past end of stream.</LI>
161                                 <LI>libFLAC, libFLAC++: added methods to skip single frames, useful for quickly finding frame boundaries (see interface changes below).</LI>
162                                 <LI>libOggFLAC, libOggFLAC++: New seekable-stream and file encoder and decoder APIs to match native FLAC APIs (see interface changes below).</LI>
163                         </UL>
164                 </LI>
165                 <LI>
166                         Interface changes:
167                         <UL>
168                                 <LI>
169                                         libFLAC:
170                                         <UL>
171                                                 <LI><B>Added</B> FLAC__metadata_get_tags()</LI>
172                                                 <LI><B>Added</B> callback-based versions of metadata editing functions:
173                                                         <UL>
174                                                                 <LI>FLAC__metadata_chain_read_with_callbacks()</LI>
175                                                                 <LI>FLAC__metadata_chain_write_with_callbacks()</LI>
176                                                                 <LI>FLAC__metadata_chain_write_with_callbacks_and_tempfile()</LI>
177                                                                 <LI>FLAC__metadata_chain_check_if_tempfile_needed()</LI>
178                                                         </UL>
179                                                 </LI>
180                                                 <LI><B>Added</B> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
181                                                         <UL>
182                                                                 <LI>FLAC__stream_decoder_skip_single_frame()</LI>
183                                                                 <LI>FLAC__seekable_stream_decoder_skip_single_frame()</LI>
184                                                                 <LI>FLAC__file_decoder_skip_single_frame()</LI>
185                                                         </UL>
186                                                 </LI>
187                                                 <LI><B>Added</B> new required tell callback on seekable stream encoder:
188                                                         <UL>
189                                                                 <LI>FLAC__SeekableStreamEncoderTellStatus and FLAC__SeekableStreamEncoderTellStatusString[]</LI>
190                                                                 <LI>FLAC__SeekableStreamEncoderTellCallback</LI>
191                                                                 <LI>FLAC__seekable_stream_encoder_set_tell_callback()</LI>
192                                                         </UL>
193                                                 </LI>
194                                                 <LI><B>Changed</B> FLAC__SeekableStreamEncoderState by adding FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR</LI>
195                                                 <LI><B>Changed</B> Tell callback is now required to initialize seekable stream encoder</LI>
196                                                 <LI><B>Deleted</B> erroneous and unimplemented FLAC__file_decoder_process_remaining_frames()</LI>
197                                         </UL>
198                                 </LI>
199                                 <LI>
200                                         libFLAC++:
201                                         <UL>
202                                                 <LI><B>Added</B> FLAC::Metadata::get_tags()</LI>
203                                                 <LI><B>Added</B> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
204                                                         <UL>
205                                                                 <LI>FLAC::Decoder::Stream::skip_single_frame()</LI>
206                                                                 <LI>FLAC::Decoder::SeekableStream::skip_single_frame()</LI>
207                                                                 <LI>FLAC::Decoder::File::skip_single_frame()</LI>
208                                                         </UL>
209                                                 </LI>
210                                                 <LI><B>Added</B> encoder functions for setting metadata:
211                                                         <UL>
212                                                                 <LI>FLAC::Encoder::Stream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</LI>
213                                                                 <LI>FLAC::Encoder::SeekableStream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</LI>
214                                                                 <LI>FLAC::Encoder::File::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</LI>
215                                                         </UL>
216                                                 </LI>
217                                                 <LI><B>Added</B> new required tell callback on seekable stream encoder:
218                                                         <UL>
219                                                                 <LI>pure virtual FLAC::Encoder::SeekableStream::tell_callback()</LI>
220                                                         </UL>
221                                                 </LI>
222                                                 <LI><B>Changed</B> Tell callback is now required to initialize seekable stream encoder</LI>
223                                                 <LI><B>Deleted</B> the following methods:
224                                                         <UL>
225                                                                 <LI>FLAC::Decoder::Stream::State::resolved_as_cstring()</LI>
226                                                                 <LI>FLAC::Encoder::Stream::State::resolved_as_cstring()</LI>
227                                                         </UL>
228                                                 </LI>
229                                         </UL>
230                                 </LI>
231                                 <LI>
232                                         libOggFLAC:
233                                         <UL>
234                                                 <LI><B>Added</B> OggFLAC__SeekableStreamDecoder interface</LI>
235                                                 <LI><B>Added</B> OggFLAC__FileDecoder interface</LI>
236                                                 <LI><B>Added</B> OggFLAC__SeekableStreamEncoder interface</LI>
237                                                 <LI><B>Added</B> OggFLAC__FileEncoder interface</LI>
238                                                 <LI><B>Added</B> OggFLAC__stream_decoder_get_resolved_state_string()</LI>
239                                                 <LI><B>Added</B> OggFLAC__stream_encoder_get_resolved_state_string()</LI>
240                                                 <LI><B>Added</B> OggFLAC__stream_encoder_set_metadata_callback()</LI>
241                                                 <LI><B>Changed</B> OggFLAC__StreamDecoderState by adding OggFLAC__STREAM_DECODER_END_OF_STREAM</LI>
242                                         </UL>
243                                 </LI>
244                                 <LI>
245                                         libOggFLAC++:
246                                         <UL>
247                                                 <LI><B>Added</B> OggFLAC::Decoder::SeekableStream interface</LI>
248                                                 <LI><B>Added</B> OggFLAC::Decoder::File interface</LI>
249                                                 <LI><B>Added</B> OggFLAC::Encoder::SeekableStream interface</LI>
250                                                 <LI><B>Added</B> OggFLAC::Encoder::File interface</LI>
251                                                 <LI><B>Added</B> OggFLAC::Decoder::Stream::get_resolved_state_string()</LI>
252                                                 <LI><B>Added</B> OggFLAC::Encoder::Stream::get_resolved_state_string()</LI>
253                                                 <LI><B>Added</B> pure virtual OggFLAC::Encoder::Stream::metadata_callback()</LI>
254                                         </UL>
255                                 </LI>
256                         </UL>
257                 </LI>
258         </UL>
259         </P>
260
261         </FONT>
262         </TD></TR>
263         </TABLE>
264         <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
265 </TD></TR>
266 </TABLE>
267
268
269 </CENTER>
270
271 <P>&nbsp;Copyright (c) 2004 Josh Coalson</P>
272
273 </BODY>
274 </HTML>