f5616b9ca76dba5a49235d36c1cd6bf715d6dc8e
[platform/upstream/flac.git] / doc / html / changelog.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- Copyright (c) 2004,2005,2006,2007  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         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
11         <meta name="author" content="Josh Coalson" />
12         <meta name="description" content="A free, open source codec for lossless audio compression and decompression" />
13         <meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" />
14         <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
15         <link rel="stylesheet" type="text/css" href="flac.css" />
16         <title>FLAC - changelog</title>
17 </head>
18
19 <body>
20
21 <div class="logo">
22         <a href="http://flac.sourceforge.net/"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a>
23 </div>
24
25 <div class="above_nav"></div>
26
27 <div class="navbar">
28         &nbsp;<a href="index.html">home</a>&nbsp;&nbsp;|
29         &nbsp;<a href="faq.html">faq</a>&nbsp;&nbsp;|
30         &nbsp;<a href="news.html">news</a>&nbsp;&nbsp;|
31         &nbsp;<a href="download.html">download</a>&nbsp;&nbsp;|
32         &nbsp;<a href="documentation.html">documentation</a>&nbsp;&nbsp;|
33         &nbsp;<a href="comparison.html">comparison</a>&nbsp;&nbsp;|
34         &nbsp;changelog&nbsp;&nbsp;|
35         &nbsp;<a href="links.html">links</a>&nbsp;&nbsp;|
36         &nbsp;<a href="developers.html">developers</a>&nbsp;
37 </div>
38
39 <div class="langbar">
40         &nbsp;english&nbsp;&nbsp;|
41         &nbsp;<a href="ru/changelog.html">russian</a>&nbsp;
42 </div>
43
44 <div class="below_nav"></div>
45
46 <div class="box">
47         <div class="box_title">
48                 changelog
49         </div>
50         <div class="box_header"></div>
51         <div class="box_body">
52                 This is an informal changelog, a summary of changes in each release.  (See also <a href="documentation_bugs.html">known bugs</a>.)  Particulary important for developers is the precise description of changes to the library interfaces.  See also the <a href="api/group__porting.html">porting guide</a> for specific instructions on porting to newer versions of FLAC.<br />
53
54                 <br />
55
56                 <a name="flac_1_1_4"><b>FLAC 1.1.4</b></a>
57
58                 <br />
59
60                 <ul>
61                         <li>
62                                 General:
63                                 <ul>
64                                         <li>Improved compression with no impact on format or decoding speed.</li>
65                                         <li>Encoding and decoding speedups for all modes.  Encoding at -8 is twice as fast.</li>
66                                 </ul>
67                         </li>
68                         <li>
69                                 FLAC format:
70                                 <ul>
71                                         <li>(none)</li>
72                                 </ul>
73                         </li>
74                         <li>
75                                 Ogg FLAC format:
76                                 <ul>
77                                         <li>(none)</li>
78                                 </ul>
79                         </li>
80                         <li>
81                                 flac:
82                                 <ul>
83                                         <li>Improved compression with no impact on format or decoding speed.</li>
84                                         <li>Encoding and decoding speedups for all modes.  Encoding at -8 is twice as fast.</li>
85                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_warnings_as_errors">-w,--warnings-as-errors</a></span> for treating all warnings as errors.</li>
86                                         <li>Allow <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> option to take only a filename, and have all other attributes extracted from the file itself.</li>
87                                         <li>Fixed a bug that caused suboptimal default compression settings in some locales (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1608883&amp;group_id=13478&amp;atid=113478">SF #1608883</a>).</li>
88                                         <li>Fixed a bug where FLAC-to-FLAC transcoding of a corrupted FLAC file would truncate the transcoded file at the first error (<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1615019&amp;group_id=13478&amp;atid=113478">SF #1615019</a>).</li>
89                                         <li>Fixed a bug where using <span class="argument"><a href="documentation_tools_flac.html#flac_options_decode_through_errors">-F</a></span> with FLAC-to-FLAC transcoding of a corrupted FLAC would have no effect (<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1615391&amp;group_id=13478&amp;atid=113478">SF #1615391</a>).</li>
90                                         <li>Fixed a bug where new PICTURE metadata blocks specified with <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> would not be transferred during FLAC-to-FLAC transcoding (<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1627993&group_id=13478&atid=113478">SF #1627993</a>).</li>
91                                 </ul>
92                         </li>
93                         <li>
94                                 metaflac:
95                                 <ul>
96                                         <li>Allow <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_import_picture_from">--import-picture-from</a></span> option to take only a filename, and have all other attributes extracted from the file itself.</li>
97                                 </ul>
98                         </li>
99                         <li>
100                                 plugins:
101                                 <ul>
102                                         <li>Fixed a bug in the XMMS plugin where Ctrl-3 (file info) would cause a crash if the file did not exist (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1634941&amp;group_id=13478&amp;amp;atid=313478">SF #1634941</a>).</li>
103                                 </ul>
104                         </li>
105                         <li>
106                                 build system:
107                                 <ul>
108                                         <li>Fixed a makefile linkage bug with libogg (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1611414&amp;group_id=13478&amp;atid=113478">SF #1611414</a>).</li>
109                                         <li>Added pkg-config files for libFLAC and libFLAC++ (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1647881&amp;group_id=13478&amp;atid=313478">SF #1647881</a>).</li>
110                                         <li>Added <span class=argument>--disable-ogg</span> option for building without Ogg support even if libogg is installed (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1196996&amp;group_id=13478&amp;atid=113478">SF #1196996</a>).</li>
111                                 </ul>
112                         </li>
113                         <li>
114                                 libraries:
115                                 <ul>
116                                         <li>Completely rewritten bitbuffer which uses native machine word size instead of bytes for dramatic speed improvements.  The speedup should be most dramatic on CPUs with slower byte manipulation capability and big-endian machines.</li>
117                                         <li>Much faster Rice partition size estimation which greatly speeds encoding in higher modes.</li>
118                                         <li>Increased compression for all modes.</li>
119                                         <li>Reduced memory requirements for encoder and decoder.</li>
120                                         <li>Fixed a bug with default apodization settings that were erroneous in some locales (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1608883&amp;group_id=13478&amp;atid=113478">SF #1608883</a>).</li>
121                                 </ul>
122                         </li>
123                         <li>
124                                 Interface changes:
125                                 <ul>
126                                         <li>
127                                                 libFLAC:
128                                                 <ul>
129                                                         <li>(behavior only) FLAC__stream_encoder_set_metadata() now makes a copy of the "metadata" array of pointers (but not copies of the objects themselves) so the client does not need to maintain its copy of the array after the call.</li>
130                                                 </ul>
131                                         </li>
132                                         <li>
133                                                 libFLAC++:
134                                                 <ul>
135                                                         <li>(none)</li>
136                                                 </ul>
137                                         </li>
138                                 </ul>
139                         </li>
140                 </ul>
141
142                 <br />
143
144                 <a name="flac_1_1_3"><b>FLAC 1.1.3</b></a>
145
146                 <br />
147
148                 <ul>
149                         <li>
150                                 General:
151                                 <ul>
152                                         <li>Improved compression with no impact on format or decoding speed.</li>
153                                         <li>Much better recovery for corrupted files</li>
154                                         <li>Better multichannel support</li>
155                                         <li>Large file (&gt;2GB) support everywhere</li>
156                                         <li><span class="commandname">flac</span> now supports FLAC and Ogg FLAC as input to the encoder (e.g. can re-encode FLAC to FLAC) and preserve all the metadata like tags, etc.</li>
157                                         <li>New <span class="code"><a href="format.html#def_PICTURE">PICTURE</a></span> metadata block for storing things like cover art, new <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> option to <span class="commandname">flac</span> and <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_import_picture_from">--import-picture-from</a></span> option to <span class="commandname">metaflac</span> for importing pictures, new <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_export_picture_to">--export-picture-to</a></span> option to <span class="commandname">metaflac</span> for exporting pictures, and metadata API <a href="api/group__flac__metadata__level0.html#ga3">additions</a> for searching for suitable pictures based on type, size and color constraints.</li>
158                                         <li>Support for new <tt>REPLAYGAIN_REFERENCE_LOUDNESS</tt> tag.</li>
159                                         <li>Fixed a bug in Ogg FLAC encoding where metadata was not being updated properly.  Existing Ogg FLAC files should be recoded to fix up the metadata, e.g. <span class="command">flac -Vf -S 10s --ogg file.ogg</span></li>
160                                         <li>In the developer libraries, the interface has been simplfied by merging the three decoding layers into a single class; ditto for the encoders.  Also, libOggFLAC has been merged into libFLAC and libOggFLAC++ has been merged into libFLAC++ so there is a single API supporting both native FLAC and Ogg FLAC.</li>
161                                 </ul>
162                         </li>
163                         <li>
164                                 FLAC format:
165                                 <ul>
166                                         <li>New <span class="code"><a href="format.html#def_PICTURE">PICTURE</a></span> metadata block for storing things like cover art.</li>
167                                         <li>Speaker assignments and channel orders for 3-6 channels (see <a href="format.html#frame_header">frame header</a>).</li>
168                                         <li>Further restrictions on the <a href="format.html#subset">FLAC subset</a> when the sample rate is &lt;=48kHz; in this case the maximum LPC order is now 12 and maximum blocksize is 4608.  This is to further limit the processing and memory requirements for hardware implementations while not measurably affecting compression.</li>
169                                 </ul>
170                         </li>
171                         <li>
172                                 Ogg FLAC format:
173                                 <ul>
174                                         <li>(none)</li>
175                                 </ul>
176                         </li>
177                         <li>
178                                 flac:
179                                 <ul>
180                                         <li>Improved the <span class="argument"><a href="documentation_tools_flac.html#flac_options_decode_through_errors">-F</a></span> option to allow decoding of FLAC files whose metadata is corrupted, and other kinds of severe corruption.</li>
181                                         <li>Encoder can now take FLAC and Ogg FLAC as input.  The output FLAC file will have all the same metadata as the original unless overridden with options on the command line.</li>
182                                         <li>Encoder can now take WAVEFORMATEXTENSIBLE WAVE files as input; decoder will output WAVEFORMATEXTENSIBLE WAVE files when necessary to conform to the latest Microsoft specifications.</li>
183                                         <li>Now properly supports AIFF and WAVEFORMATEXTENSIBLE multichannel input, performing necessary channel reordering both for encoding and decoding.  WAVEFORMATEXTENSIBLE channel mask is also saved to a tag on encoding and restored on decoding for situations when there is no natural mapping to FLAC channel assignments.</li>
184                                         <li>Expanded support for "odd" sample resolutions to WAVE and AIFF input; all resolutions from 4 to 24 bits-per-sample now supported for all input types.</li>
185                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_tag_from_file">--tag-from-file</a></span> for setting a tag from file (e.g. for importing a cuesheet as a tag).</li>
186                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> for adding pictures.</li>
187                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_apodization">--apodization</a></span> for specifying the window function(s) to be used in LPC analysis.</li>
188                                         <li>Added support for encoding from non-compressed AIFF-C (<a href="https://sourceforge.net/tracker/?func=detail&amp;atid=113478&amp;aid=1090933&amp;group_id=13478">SF #1090933</a>).</li>
189                                         <li>Importing of non-CDDA-compliant cuesheets now only issues a warning, not an error (see <a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=31282">here</a>).</li>
190                                         <li>MD5 comparison failures on decoding are now an error instead of a warning and will also return a non-zero exit code (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1493725&amp;group_id=13478&amp;atid=113478">SF #1493725</a>).</li>
191                                         <li>The default padding size is now 8K, or 64K if the input audio stream is more than 20 minutes long.</li>
192                                         <li>Fixed a bug in cuesheet parsing where it would return an error if the last line of the cuesheet did not end with a newline.</li>
193                                         <li>Fixed a bug that caused a crash when <span class="argument">-a</span> and <span class="argument">-t</span> were used together (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1229481&amp;group_id=13478&amp;atid=113478">SF #1229481</a>).</li>
194                                         <li>Fixed a bug with --sector-align where appended samples were not always totally silent (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1237707&amp;group_id=13478&amp;atid=113478">SF #1237707</a>).</li>
195                                         <li>Fixed bugs with --sector-align and raw input files.</li>
196                                         <li>Fixed a bug printing out unknown AIFF subchunk names (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1267476&amp;group_id=13478&amp;atid=113478">SF #1267476</a>).</li>
197                                         <li>Fixed a bug where WAVE files with "data" subchunks of size 0 where accepted (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1293830&amp;group_id=13478&amp;atid=113478">SF #1293830</a>).</li>
198                                         <li>Fixed a bug where sync error at end-of-stream of truncated files was not being caught (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1244071&amp;group_id=13478&amp;atid=113478">SF #1244071</a>).</li>
199                                         <li>Fixed a problem with filename parsing if file does not have extension but also has a . in the path (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1161916&amp;group_id=13478&amp;atid=113478">SF #1161916</a>).</li>
200                                         <li>Fixed a problem with fractional-second parsing for <span class="argument">--skip</span>/<span class="argument">--until</span> in some locales (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1031043&amp;group_id=13478&amp;atid=113478">SF #1031043</a>).</li>
201                                         <li>Increase progress report rate when -p and -e are used together (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1580122&amp;group_id=13478&amp;atid=113478">SF #1580122</a>).</li>
202                                 </ul>
203                         </li>
204                         <li>
205                                 metaflac:
206                                 <ul>
207                                         <li>Added support for read-only operations on Ogg FLAC files.</li>
208                                         <li>Added a new option <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_set_tag_from_file">--set-tag-from-file</a></span> for setting a tag from file (e.g. for importing a cuesheet as a tag).</li>
209                                         <li>Added a new option <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_import_picture_from">--import-picture-from</a></span> for importing pictures.</li>
210                                         <li>Added a new option <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_export_picture_to">--export-picture-to</a></span> for exporting pictures.</li>
211                                         <li>Added shorthand operation <span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_remove_replay_gain">--remove-replay-gain</a></span> for removing ReplayGain tags.</li>
212                                         <li><span class="argument"><a href="documentation_tools_metaflac.html#metaflac_shorthand_export_cuesheet_to">--export-cuesheet-to</a></span> now properly specifies the FLAC file name (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1272825&amp;group_id=13478&amp;atid=363478">SF #1272825</a>).</li>
213                                         <li>Importing of non-CDDA-compliant cuesheets now issues a warning.</li>
214                                         <li>Removed the following deprecated tag editing options; you should use the new option names shown instead:
215                                                 <ul>
216                                                         <li>Removed <span class="argument">--show-vc-vendor</span>; use <span class="argument">--show-vendor-tag</span></li>
217                                                         <li>Removed <span class="argument">--show-vc-field</span>; use <span class="argument">--show-tag</span></li>
218                                                         <li>Removed <span class="argument">--remove-vc-all</span>; use <span class="argument">--remove-all-tags</span></li>
219                                                         <li>Removed <span class="argument">--remove-vc-field</span>; use <span class="argument">--remove-tag</span></li>
220                                                         <li>Removed <span class="argument">--remove-vc-firstfield</span>; use <span class="argument">--remove-first-tag</span></li>
221                                                         <li>Removed <span class="argument">--set-vc-field</span>; use <span class="argument">--set-tag</span></li>
222                                                         <li>Removed <span class="argument">--import-vc-from</span>; use <span class="argument">--import-tags-from</span></li>
223                                                         <li>Removed <span class="argument">--export-vc-to</span>; use <span class="argument">--export-tags-to</span></li>
224                                                 </ul>
225                                         </li>
226                                         <li>Disallow multiple input FLAC files when --import-tags-from=- is used (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1082577&amp;group_id=13478&amp;atid=113478">SF #1082577</a>).</li>
227                                 </ul>
228                         </li>
229                         <li>
230                                 plugins:
231                                 <ul>
232                                         <li>When ReplayGain is on, if tags for the preferred kind of gain (album/track) are not in a stream, the other kind will be used.</li>
233                                         <li>Added ReplayGain info to file info box in XMMS plugin</li>
234                                         <li>Fixed UTF-8 decoder to disallow non-shortest-form and surrogate sequences (see <a href="http://www.unicode.org/versions/corrigendum1.html">here</a>).</li>
235                                 </ul>
236                         </li>
237                         <li>
238                                 build system:
239                                 <ul>
240                                         <li>Added support for building on OS/2 with EMX (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1229495&amp;group_id=13478&amp;atid=113478">SF #1229495</a>)</li>
241                                         <li>Added support for building with Borland C++ (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1599018&amp;group_id=13478&amp;atid=313478">SF #1599018</a>)</li>
242                                         <li>Added a <span class="argument">--disable-xmms-plugin</span> option to <span class="command">configure</span> to prevent building the XMMS plugin (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=930494&amp;group_id=13478&amp;atid=363478">SF #930494</a>).</li>
243                                         <li>Added a <span class="argument">--disable-doxygen-docs</span> option to <span class="command">configure</span> for disabling Doxygen-based API doc generation (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1365935&amp;group_id=13478&amp;atid=313478">SF #1365935</a>).</li>
244                                         <li>Added a <span class="argument">--disable-thorough-tests</span> option to <span class="command">configure</span> to do the basic library, stream, and tool tests in a reasonable time (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1077948&amp;group_id=13478&amp;atid=363478">SF #1077948</a>).</li>
245                                         <li>Added large file support with <span class="argument">AC_SYS_LARGEFILE</span>; use <span class="argument">--disable-largefile</span> with <span class="command">configure</span> to disable.</li>
246                                 </ul>
247                         </li>
248                         <li>
249                                 libraries:
250                                 <ul>
251                                         <li>Merged libOggFLAC into libFLAC; both formats are now supporte through the same API.</li>
252                                         <li>Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API.</li>
253                                         <li>libFLAC and libFLAC++: Simplified encoder setup with new <span class="argument">FLAC__stream_encoder_set_compression_level()</span> function.</li>
254                                         <li>libFLAC: Improved compression with no impact on FLAC format or decoding time by adding a windowing stage before LPC analysis.</li>
255                                         <li>libFLAC: Fixed a bug where missing STREAMINFO fields (min/max framesize, total samples, MD5 sum) and seek point offsets were not getting rewritten back to Ogg FLAC file (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1338969&amp;group_id=13478&amp;atid=113478">SF #1338969</a>).</li>
256                                         <li>libFLAC: Fixed a bug in cuesheet parsing where it would return an error if the last line of the cuesheet did not end with a newline.</li>
257                                         <li>libFLAC: Fixed UTF-8 decoder to disallow non-shortest-form and surrogate sequences (see <a href="http://www.unicode.org/versions/corrigendum1.html">here</a>).</li>
258                                         <li>libFLAC: Fixed a bug in the return value for <span class="argument">FLAC__stream_decoder_set_metadata_respond_application()</span> and <span class="argument">FLAC__stream_decoder_set_metadata_ignore_application()</span> when there was a memory allocation error (<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1235005&amp;group_id=13478&amp;atid=113478">SF #1235005</a>).</li>
259                                 </ul>
260                         </li>
261                         <li>
262                                 Interface changes (see also the <a href="http://flac.sourceforge.net/api/group__porting__1__1__2__to__1__1__3.html">porting guide</a> for specific instructions on porting to FLAC 1.1.3):
263                                 <ul>
264                                         <li>
265                                                 all libraries;
266                                                 <ul>
267                                                         <li>Merged libOggFLAC into libFLAC; both formats are now supporte through the same API.</li>
268                                                         <li>Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API.</li>
269                                                         <li>Merged seekable stream decoder and file decoder into the stream decoder.</li>
270                                                         <li>Merged seekable stream encoder and file encoder into the stream encoder.</li>
271                                                         <li>Added #defines for the API version number to make porting easier; see <tt>include/lib*FLAC*/export.h</tt>.</li>
272                                                 </ul>
273                                         </li>
274                                         <li>
275                                                 libFLAC:
276                                                 <ul>
277                                                         <li><b>Added</b> FLAC__stream_encoder_set_apodization()</li>
278                                                         <li><b>Added</b> FLAC__stream_encoder_set_compression_level()</li>
279                                                         <li><b>Added</b> FLAC__metadata_object_cuesheet_calculate_cddb_id()</li>
280                                                         <li><b>Added</b> FLAC__metadata_get_cuesheet()</li>
281                                                         <li><b>Added</b> FLAC__metadata_get_picture()</li>
282                                                         <li><b>Added</b> FLAC__metadata_chain_read_ogg() and FLAC__metadata_chain_read_ogg_with_callbacks()</li>
283                                                         <li><b>Changed</b> FLAC__stream_encoder_finish() now returns a FLAC__bool to signal a verify failure, or error processing last frame or updating metadata.</li>
284                                                         <li><b>Changed</b> FLAC__StreamDecoderState: removed state FLAC__STREAM_DECODER_UNPARSEABLE_STREAM</li>
285                                                         <li><b>Changed</b> FLAC__StreamDecoderErrorStatus: new error code FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM</li>
286                                                         <li>The above two changes mean that when the decoder encounters what it thinks are unparseable frames from a future decoder, instead of returning a fatal error with the FLAC__STREAM_DECODER_UNPARSEABLE_STREAM state, it just calls the error callback with FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM and leaves the behavior up to the application.</li>
287                                                 </ul>
288                                         </li>
289                                         <li>
290                                                 libFLAC++:
291                                                 <ul>
292                                                         <li><b>Added</b> FLAC::Metadata::Picture</li>
293                                                         <li><b>Added</b> FLAC::Encoder::Stream::set_apodization()</li>
294                                                         <li><b>Added</b> FLAC::Encoder::Stream::set_compression_level()</li>
295                                                         <li><b>Added</b> FLAC::Metadata::CueSheet::calculate_cddb_id()</li>
296                                                         <li><b>Added</b> FLAC::Metadata::get_cuesheet()</li>
297                                                         <li><b>Added</b> FLAC::Metadata::get_picture()</li>
298                                                         <li><b>Changed</b> FLAC::Metadata::Chain::read() to accept a flag denoting Ogg FLAC input</li>
299                                                         <li><b>Changed</b> FLAC::Decoder::Stream::finish() now returns a bool to signal an MD5 failure like FLAC__stream_decoder_finish() does.</li>
300                                                         <li><b>Changed</b> FLAC::Encoder::Stream::finish() now returns a bool to signal a verify failure, or error processing last frame or updating metadata.</li>
301                                                 </ul>
302                                         </li>
303                                         <li>
304                                                 libOggFLAC:
305                                                 <ul>
306                                                         <li>Merged into libFLAC.</li>
307                                                 </ul>
308                                         </li>
309                                         <li>
310                                                 libOggFLAC++:
311                                                 <ul>
312                                                         <li>Merged into libFLAC++.</li>
313                                                 </ul>
314                                         </li>
315                                 </ul>
316                         </li>
317                 </ul>
318
319                 <br />
320
321                 <a name="flac_1_1_2"><b>FLAC 1.1.2</b></a>
322
323                 <br />
324
325                 <ul>
326                         <li>
327                                 General:
328                                 <ul>
329                                         <li>Sped up decoding by a few percent overall.</li>
330                                         <li>Sped up encoding when not using LPC (i.e. when using <span class="commandname">flac</span> options <span class="argument">-0</span>, <span class="argument">-1</span>, <span class="argument">-2</span>, or <span class="argument">-l 0</span>).</li>
331                                         <li>Fixed a decoding bug that could cause sync errors with some ID3v1-tagged FLAC files.</li>
332                                         <li>Added <a href="documentation_tools_metaflac.html#metaflac">HTML documentation for metaflac</a>.</li>
333                                 </ul>
334                         </li>
335                         <li>
336                                 FLAC format:
337                                 <ul>
338                                         <li>(none)</li>
339                                 </ul>
340                         </li>
341                         <li>
342                                 Ogg FLAC format:
343                                 <ul>
344                                         <li>(none)</li>
345                                 </ul>
346                         </li>
347                         <li>
348                                 flac:
349                                 <ul>
350                                         <li>New option <span class="argument"><a href="documentation_tools_flac.html#flac_options_input_size">--input-size</a></span> to manually specify the input size when encoding raw samples from stdin.</li>
351                                 </ul>
352                         </li>
353                         <li>
354                                 metaflac:
355                                 <ul>
356                                         <li>(none)</li>
357                                 </ul>
358                         </li>
359                         <li>
360                                 plugins:
361                                 <ul>
362                                         <li>Added support for HTTP streaming in XMMS plugin.  <b>NOTE</b>: there is a <a href="http://bugs.xmms.org/show_bug.cgi?id=2038">bug</a> in the XMMS mpg123 plugin that hijacks FLAC streams; to fix it you will need to add the '.flac' extension to the list of exceptions in <span class="code">Input/mpg123/mpg123.c:is_our_file()</span> in the XMMS sources and recompile.</li>
363                                 </ul>
364                         </li>
365                         <li>
366                                 build system:
367                                 <ul>
368                                         <li>(none)</li>
369                                 </ul>
370                         </li>
371                         <li>
372                                 libraries:
373                                 <ul>
374                                         <li>libFLAC: Sped up Rice block decoding in the bitbuffer, resulting in decoding speed gains of a few percent.</li>
375                                         <li>libFLAC: Sped up encoding when not using LPC (i.e. <span class="code">max_lpc_order == 0</span>).</li>
376                                         <li>libFLAC: Trailing NUL characters maintained on Vorbis comment entries so they can be treated like C strings.</li>
377                                         <li>libFLAC: More FLAC tag (i.e. Vorbis comment) validation.</li>
378                                         <li>libFLAC: Fixed a bug in the logic that determines the frame or sample number in a frame header; the bug could cause sync errors with some ID3v1-tagged FLAC files.</li>
379                                         <li>libFLAC, libOggFLAC: Can now be compiled to use only integer instructions, including encoding.  The decoder is almost completely integer anyway but there were a couple places that needed a fixed-point replacement.  There is no fixed-point version of LPC analysis yet, so if libFLAC is compiled integer-only, the encoder will behave as if the max LPC order is 0 (i.e. used fixed predictors only).  LPC decoding is supported in all cases as it always was integer-only.</li>
380                                 </ul>
381                         </li>
382                         <li>
383                                 Interface changes:
384                                 <ul>
385                                         <li>
386                                                 libFLAC:
387                                                 <ul>
388                                                         <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment entries for convenience.</li>
389                                                         <li><b>Changed:</b> Metadata object interface now validates all Vorbis comment entries on input and returns false if an entry does not conform to the Vorbis comment spec.</li>
390                                                         <li><b>Added</b> FLAC__format_vorbiscomment_entry_name_is_legal()</li>
391                                                         <li><b>Added</b> FLAC__format_vorbiscomment_entry_value_is_legal()</li>
392                                                         <li><b>Added</b> FLAC__format_vorbiscomment_entry_is_legal()</li>
393                                                         <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()</li>
394                                                         <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair()</li>
395                                                         <li><b>Changed</b> the signature of FLAC__metadata_object_vorbiscomment_entry_matches(): the first argument is now <span class="code">FLAC__StreamMetadata_VorbisComment_Entry entry</span> (was <span class="code">const FLAC__StreamMetadata_VorbisComment_Entry *entry</span>), i.e. <span class="code">entry</span> is now pass-by-value.</li>
396                                                 </ul>
397                                         </li>
398                                         <li>
399                                                 libFLAC++:
400                                                 <ul>
401                                                         <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment values for convenience.</li>
402                                                         <li><b>Changed:</b> Metadata object interface now validates all Vorbis comment entries on input and returns false if an entry does not conform to the Vorbis comment spec.</li>
403                                                         <li><b>Changed:</b> All Metadata objects' operator=() methods now return a reference to themselves.</li>
404                                                         <li><b>Added</b> methods to FLAC::Metadata::VorbisComment::Entry for setting comment values from null-terminated strings:
405                                                                 <ul>
406                                                                         <li>Entry(const char *field)</li>
407                                                                         <li>Entry(const char *field_name, const char *field_value)</li>
408                                                                         <li>bool set_field(const char *field)</li>
409                                                                         <li>bool set_field_value(const char *field_value)</li>
410                                                                 </ul>
411                                                         </li>
412                                                         <li><b>Changed</b> the signature of FLAC::Metadata::VorbisComment::get_vendor_string() and FLAC::Metadata::VorbisComment::set_vendor_string() to use a UTF-8, NUL-terminated string <span class="code">const FLAC__byte *</span> for the vendor string instead of <span class="code">FLAC::Metadata::VorbisComment::Entry</span>.</li>
413                                                         <li><b>Added</b> FLAC::Metadata::*::assign() to all Metadata objects.</li>
414                                                         <li><b>Added</b> bool FLAC::Metadata::get_tags(const char *filename, VorbisComment &amp;tags)</li>
415                                                 </ul>
416                                         </li>
417                                         <li>
418                                                 libOggFLAC:
419                                                 <ul>
420                                                         <li>(none)</li>
421                                                 </ul>
422                                         </li>
423                                         <li>
424                                                 libOggFLAC++:
425                                                 <ul>
426                                                         <li>(none)</li>
427                                                 </ul>
428                                         </li>
429                                 </ul>
430                         </li>
431                 </ul>
432
433                 <br />
434
435                 <a name="flac_1_1_1"><b>FLAC 1.1.1</b></a>
436
437                 <br />
438
439                 <ul>
440                         <li>
441                                 General:
442                                 <ul>
443                                         <li>Ogg FLAC seeking now works</li>
444                                         <li>New optimizations almost double the decoding speed on PowerPC (e.g. Mac G4/G5)</li>
445                                         <li>A native OS X release thanks to updated Project Builder and autotools files</li>
446                                 </ul>
447                         </li>
448                         <li>
449                                 FLAC format:
450                                 <ul>
451                                         <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.  (This was also required for the Ogg FLAC mapping.)</li>
452                                 </ul>
453                         </li>
454                         <li>
455                                 Ogg FLAC format:
456                                 <ul>
457                                         <li>First official FLAC-&gt;Ogg bitstream mapping standardized (see new <a href="ogg_mapping.html">FLAC-to-Ogg mapping specification</a>).  See the documentation for the <span class="argument"><a href="documentation_tools_flac.html#flac_options_ogg">--ogg</a></span> switch about having to re-encode older Ogg FLAC files.</li>
458                                 </ul>
459                         </li>
460                         <li>
461                                 flac:
462                                 <ul>
463                                         <li>Print an error when output file already exists instead of automatically overwriting.</li>
464                                         <li>New option <span class="argument"><a href="documentation_tools_flac.html#flac_options_force">-f</a></span> (<span class="argument"><a href="documentation_tools_flac.html#flac_options_force">--force</a></span>) to force overwriting if the output file already exists.</li>
465                                         <li>New option <span class="argument"><a href="documentation_tools_flac.html#flac_options_cue">--cue</a></span> to select a specific section to decode using cuesheet track/index points.</li>
466                                         <li>New option <span class="argument"><a href="documentation_tools_flac.html#flac_options_totally_silent">--totally-silent</a></span> to suppress all output.</li>
467                                         <li>New (but undocumented) option <span class="argument">--apply-replaygain-which-is-not-lossless</span> which applies ReplayGain to the decoded output.  See <a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=17293&amp;st=11">this thread</a> for usage and caveats.</li>
468                                         <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>
469                                         <li>When encoding multiple Ogg FLAC streams, <span class="argument">--serial-number</span> 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>
470                                         <li>Decoder no longer exits with an error when writing to stdout and the pipe is broken.</li>
471                                         <li>Better explanation of common error messages.</li>
472                                         <li>Default extension when writing AIFF files is .aif (before, it was .aiff).</li>
473                                         <li>Write more common representation of SANE numbers in AIFF files.</li>
474                                         <li>Bug fix: calculating ReplayGain on 48kHz streams.</li>
475                                         <li>Bug fix: check for supported block alignments in WAVE files.</li>
476                                         <li>Bug fix: "offset" field in AIFF SSND chunk properly handled.</li>
477                                         <li>Bug fix: <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=679166&amp;group_id=13478&amp;atid=113478">#679166</a>: flac doesn't respect RIFF subchunk padding byte.</li>
478                                         <li>Bug fix: <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=828391&amp;group_id=13478&amp;atid=113478">#828391</a>: --add-replay-gain segfaults.</li>
479                                         <li>Bug fix: <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=851155&amp;group_id=13478&amp;atid=113478">#851155</a>: Can't seek to position in flac file.</li>
480                                         <li>Bug fix: <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=851756&amp;group_id=13478&amp;atid=113478">#851756</a>: flac --skip --until reads entire file.</li>
481                                         <li>Bug fix: <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=877122&amp;group_id=13478&amp;atid=113478">#877122</a>: problem parsing cuesheet with CATALOG entry.</li>
482                                         <li>Bug fix: <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=896057&amp;group_id=13478&amp;atid=113478">#896057</a>: parsing ISRC number from cuesheet.</li>
483                                 </ul>
484                         </li>
485                         <li>
486                                 metaflac:
487                                 <ul>
488                                         <li>Renamed the tag editing options as follows (the <span class="argument">...-vc-...</span> options still work but are deprecated):
489                                                 <ul>
490                                                         <li><span class="argument">--show-vc-vendor</span> becomes <span class="argument">--show-vendor-tag</span></li>
491                                                         <li><span class="argument">--show-vc-field</span> becomes <span class="argument">--show-tag</span></li>
492                                                         <li><span class="argument">--remove-vc-all</span> becomes <span class="argument">--remove-all-tags</span></li>
493                                                         <li><span class="argument">--remove-vc-field</span> becomes <span class="argument">--remove-tag</span></li>
494                                                         <li><span class="argument">--remove-vc-firstfield</span> becomes <span class="argument">--remove-first-tag</span></li>
495                                                         <li><span class="argument">--set-vc-field</span> becomes <span class="argument">--set-tag</span></li>
496                                                         <li><span class="argument">--import-vc-from</span> becomes <span class="argument">--import-tags-from</span></li>
497                                                         <li><span class="argument">--export-vc-to</span> becomes <span class="argument">--export-tags-to</span></li>
498                                                 </ul>
499                                         </li>
500                                         <li>Better explanation of common error messages.</li>
501                                         <li>Bug fix: calculating ReplayGain on 48kHz streams.</li>
502                                         <li>Bug fix: incorrect numbers when printing seek points.</li>
503                                 </ul>
504                         </li>
505                         <li>
506                                 plugins:
507                                 <ul>
508                                         <li>Speed optimization in ReplayGain synthesis.</li>
509                                         <li>Speed optimization in XMMS playback.</li>
510                                         <li>Support for big-endian architectures in XMMS plugin.</li>
511                                         <li>Removed support for ID3 tags.</li>
512                                         <li>Bug fix: make hard limiter default to off in XMMS plugin.</li>
513                                         <li>Bug fix: stream length calculation bug in XMMS plugin, debian bug #200435; <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=2733072&amp;forum_id=6312">see also</a>.</li>
514                                         <li>Bug fix: small memory leak in XMMS plugin.</li>
515                                 </ul>
516                         </li>
517                         <li>
518                                 build system:
519                                 <ul>
520                                         <li><span class="code">ordinals.h</span> is now static, not a build-generated file anymore.</li>
521                                 </ul>
522                         </li>
523                         <li>
524                                 libraries:
525                                 <ul>
526                                         <li>libFLAC: PPC+Altivec optimizations of some decoder routines.</li>
527                                         <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>
528                                         <li>libFLAC: Bug fix: fixed seek routine where infinite loop could happen when seeking past end of stream.</li>
529                                         <li>libFLAC, libFLAC++: added methods to skip single frames, useful for quickly finding frame boundaries (see interface changes below).</li>
530                                         <li>libOggFLAC, libOggFLAC++: New seekable-stream and file encoder and decoder APIs to match native FLAC APIs (see interface changes below).</li>
531                                 </ul>
532                         </li>
533                         <li>
534                                 Interface changes:
535                                 <ul>
536                                         <li>
537                                                 libFLAC:
538                                                 <ul>
539                                                         <li><b>Added</b> FLAC__metadata_get_tags()</li>
540                                                         <li><b>Added</b> callback-based versions of metadata editing functions:
541                                                                 <ul>
542                                                                         <li>FLAC__metadata_chain_read_with_callbacks()</li>
543                                                                         <li>FLAC__metadata_chain_write_with_callbacks()</li>
544                                                                         <li>FLAC__metadata_chain_write_with_callbacks_and_tempfile()</li>
545                                                                         <li>FLAC__metadata_chain_check_if_tempfile_needed()</li>
546                                                                 </ul>
547                                                         </li>
548                                                         <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
549                                                                 <ul>
550                                                                         <li>FLAC__stream_decoder_skip_single_frame()</li>
551                                                                         <li>FLAC__seekable_stream_decoder_skip_single_frame()</li>
552                                                                         <li>FLAC__file_decoder_skip_single_frame()</li>
553                                                                 </ul>
554                                                         </li>
555                                                         <li><b>Added</b> new required tell callback on seekable stream encoder:
556                                                                 <ul>
557                                                                         <li>FLAC__SeekableStreamEncoderTellStatus and FLAC__SeekableStreamEncoderTellStatusString[]</li>
558                                                                         <li>FLAC__SeekableStreamEncoderTellCallback</li>
559                                                                         <li>FLAC__seekable_stream_encoder_set_tell_callback()</li>
560                                                                 </ul>
561                                                         </li>
562                                                         <li><b>Changed</b> FLAC__SeekableStreamEncoderState by adding FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR</li>
563                                                         <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li>
564                                                         <li><b>Deleted</b> erroneous and unimplemented FLAC__file_decoder_process_remaining_frames()</li>
565                                                 </ul>
566                                         </li>
567                                         <li>
568                                                 libFLAC++:
569                                                 <ul>
570                                                         <li><b>Added</b> FLAC::Metadata::get_tags()</li>
571                                                         <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
572                                                                 <ul>
573                                                                         <li>FLAC::Decoder::Stream::skip_single_frame()</li>
574                                                                         <li>FLAC::Decoder::SeekableStream::skip_single_frame()</li>
575                                                                         <li>FLAC::Decoder::File::skip_single_frame()</li>
576                                                                 </ul>
577                                                         </li>
578                                                         <li><b>Added</b> encoder functions for setting metadata:
579                                                                 <ul>
580                                                                         <li>FLAC::Encoder::Stream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
581                                                                         <li>FLAC::Encoder::SeekableStream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
582                                                                         <li>FLAC::Encoder::File::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
583                                                                 </ul>
584                                                         </li>
585                                                         <li><b>Added</b> new required tell callback on seekable stream encoder:
586                                                                 <ul>
587                                                                         <li>pure virtual FLAC::Encoder::SeekableStream::tell_callback()</li>
588                                                                 </ul>
589                                                         </li>
590                                                         <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li>
591                                                         <li><b>Deleted</b> the following methods:
592                                                                 <ul>
593                                                                         <li>FLAC::Decoder::Stream::State::resolved_as_cstring()</li>
594                                                                         <li>FLAC::Encoder::Stream::State::resolved_as_cstring()</li>
595                                                                 </ul>
596                                                         </li>
597                                                 </ul>
598                                         </li>
599                                         <li>
600                                                 libOggFLAC:
601                                                 <ul>
602                                                         <li><b>Added</b> OggFLAC__SeekableStreamDecoder interface</li>
603                                                         <li><b>Added</b> OggFLAC__FileDecoder interface</li>
604                                                         <li><b>Added</b> OggFLAC__SeekableStreamEncoder interface</li>
605                                                         <li><b>Added</b> OggFLAC__FileEncoder interface</li>
606                                                         <li><b>Added</b> OggFLAC__stream_decoder_get_resolved_state_string()</li>
607                                                         <li><b>Added</b> OggFLAC__stream_encoder_get_resolved_state_string()</li>
608                                                         <li><b>Added</b> OggFLAC__stream_encoder_set_metadata_callback()</li>
609                                                         <li><b>Changed</b> OggFLAC__StreamDecoderState by adding OggFLAC__STREAM_DECODER_END_OF_STREAM</li>
610                                                 </ul>
611                                         </li>
612                                         <li>
613                                                 libOggFLAC++:
614                                                 <ul>
615                                                         <li><b>Added</b> OggFLAC::Decoder::SeekableStream interface</li>
616                                                         <li><b>Added</b> OggFLAC::Decoder::File interface</li>
617                                                         <li><b>Added</b> OggFLAC::Encoder::SeekableStream interface</li>
618                                                         <li><b>Added</b> OggFLAC::Encoder::File interface</li>
619                                                         <li><b>Added</b> OggFLAC::Decoder::Stream::get_resolved_state_string()</li>
620                                                         <li><b>Added</b> OggFLAC::Encoder::Stream::get_resolved_state_string()</li>
621                                                         <li><b>Added</b> pure virtual OggFLAC::Encoder::Stream::metadata_callback()</li>
622                                                 </ul>
623                                         </li>
624                                 </ul>
625                         </li>
626                 </ul>
627         </div>
628         <div class="box_footer"></div>
629 </div>
630
631
632 <div class="copyright">
633         <!-- @@@ oh so hacky -->
634         <table>
635                 <tr>
636                         <td align="left">
637                                 Copyright (c) 2004,2005,2006,2007  Josh Coalson
638                         </td>
639                         <td width="1%" align="right">
640                                 <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
641                         </td>
642                         <td width="1%" align="right">
643                                 <a href="http://www.eff.org/cafe/"><img src="images/cafebug.gif" alt="CAFE Logo" border="0" /></a><br />
644                         </td>
645                         <td width="1%" align="right">
646                                 <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" hspace="0" /></a>
647                         </td>
648                 </tr>
649         </table>
650 </div>
651
652 </body>
653 </html>