blob: 6a61a99af4eaed2bf9020f63fe19ad3f0cf88c53 [file] [log] [blame]
Josh Coalson950e3ca2005-02-09 03:37:59 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Josh Coalson0395dac2006-04-25 06:59:33 +00002<!-- Copyright (c) 2004,2005,2006 Josh Coalson -->
Josh Coalson71ed9692004-07-23 05:08:01 +00003<!-- 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 -->
Josh Coalson950e3ca2005-02-09 03:37:59 +00008<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>
Josh Coalson71ed9692004-07-23 05:08:01 +000018
Josh Coalson950e3ca2005-02-09 03:37:59 +000019<body>
Josh Coalson71ed9692004-07-23 05:08:01 +000020
Josh Coalson950e3ca2005-02-09 03:37:59 +000021<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>
Josh Coalson71ed9692004-07-23 05:08:01 +000024
Josh Coalson950e3ca2005-02-09 03:37:59 +000025<div class="above_nav"></div>
Josh Coalson71ed9692004-07-23 05:08:01 +000026
Josh Coalson950e3ca2005-02-09 03:37:59 +000027<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="features.html">features</a>&nbsp;&nbsp;|
33 &nbsp;<a href="goals.html">goals</a>&nbsp;&nbsp;|
34 &nbsp;<a href="format.html">format</a>&nbsp;&nbsp;|
35 &nbsp;<a href="id.html">id</a>&nbsp;&nbsp;|
36 &nbsp;<a href="comparison.html">comparison</a>&nbsp;&nbsp;|
37 &nbsp;<a href="documentation.html">documentation</a>&nbsp;&nbsp;|
38 &nbsp;changelog&nbsp;&nbsp;|
39 &nbsp;<a href="links.html">links</a>&nbsp;&nbsp;|
40 &nbsp;<a href="developers.html">developers</a>&nbsp;
41</div>
Josh Coalson71ed9692004-07-23 05:08:01 +000042
Josh Coalson950e3ca2005-02-09 03:37:59 +000043<div class="langbar">
44 &nbsp;english&nbsp;&nbsp;|
45 &nbsp;<a href="ru/changelog.html">russian</a>&nbsp;
46</div>
Josh Coalson71ed9692004-07-23 05:08:01 +000047
Josh Coalson950e3ca2005-02-09 03:37:59 +000048<div class="below_nav"></div>
Josh Coalson71ed9692004-07-23 05:08:01 +000049
Josh Coalson950e3ca2005-02-09 03:37:59 +000050<div class="box">
51 <div class="box_title">
52 changelog
53 </div>
54 <div class="box_header"></div>
55 <div class="box_body">
Josh Coalson6b21f662006-09-13 01:42:27 +000056 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. See also the <a href="http://flac.sourceforge.net/api/group__porting.html">porting guide</a> for specific instructions on porting to newer versions of FLAC.
Josh Coalson71ed9692004-07-23 05:08:01 +000057
Josh Coalson950e3ca2005-02-09 03:37:59 +000058 <br /><br />
Josh Coalsondef597e2004-12-30 00:59:30 +000059
Josh Coalson0d903aa2005-08-09 00:59:39 +000060 <a name="flac_1_1_3"><b>FLAC 1.1.3</b></a>
61
62 <br />
63
64 <ul>
65 <li>
66 General:
67 <ul>
Josh Coalson6d8ce242006-10-07 01:19:20 +000068 <li>Improved compression with no impact on format or decoding speed.</li>
Josh Coalson1a8afc72006-07-06 07:49:07 +000069 <li>Much better recovery for corrupted files</li>
Josh Coalsonb51392b2006-10-06 05:51:13 +000070 <li>Better multichannel support</li>
Josh Coalson6d8ce242006-10-07 01:19:20 +000071 <li>Large file (&gt;2GB) support everywhere</li>
Josh Coalsonbfda3782006-08-28 03:42:10 +000072 <li><span class="commandname">flac</span> now supports FLAC as input to the encoder (i.e. can re-encode FLAC to FLAC) and preserve all the metadata like tags, etc.</li>
Josh Coalsonaec8bb32006-11-02 04:06:56 +000073 <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.html#flac_options_picture">--picture</a></span> option to <span class="commandname">flac</span> and <span class="argument"><a href="documentation.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.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>
Josh Coalsonb292e752006-09-14 00:40:03 +000074 <li>Support for new <tt>REPLAYGAIN_REFERENCE_LOUDNESS</tt> tag.</li>
Josh Coalson8da98c82006-10-15 04:24:05 +000075 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +000076 </ul>
77 </li>
78 <li>
79 FLAC format:
80 <ul>
Josh Coalsonaec8bb32006-11-02 04:06:56 +000081 <li>New <span class="code"><a href="format.html#def_PICTURE">PICTURE</a></span> metadata block for storing things like cover art.</li>
Josh Coalsond0edb972006-10-07 06:50:08 +000082 <li>Speaker assignments and channel orders for 3-6 channels (see <a href="format.html#frame_header">frame header</a>).</li>
83 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +000084 </ul>
85 </li>
86 <li>
87 Ogg FLAC format:
88 <ul>
89 <li>(none)</li>
90 </ul>
91 </li>
92 <li>
93 flac:
94 <ul>
Josh Coalsonaec8bb32006-11-02 04:06:56 +000095 <li>Improved the <span class="argument"><a href="documentation.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>
Josh Coalsonbfda3782006-08-28 03:42:10 +000096 <li>Encoder can now take 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>
Josh Coalsonb51392b2006-10-06 05:51:13 +000097 <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>
98 <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>
Josh Coalson6d8ce242006-10-07 01:19:20 +000099 <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>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000100 <li>Added a new option <span class="argument"><a href="documentation.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>
Josh Coalsond63c2312006-09-26 01:02:01 +0000101 <li>Added a new option <span class="argument"><a href="documentation.html#flac_options_picture">--picture</a></span> for adding pictures.</li>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000102 <li>Added a new option <span class="argument"><a href="documentation.html#flac_options_apodization">--apodization</a></span> for specifying the window function(s) to be used in LPC analysis.</li>
Josh Coalson26c82352006-05-18 07:57:16 +0000103 <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>
Josh Coalsoncee66cf2005-08-24 00:32:40 +0000104 <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>
Josh Coalson7688f8e2006-07-07 01:05:33 +0000105 <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>
Josh Coalson6f5568e2006-09-27 05:02:11 +0000106 <li>The default padding size is now 8K, or 64K if the input audio stream is more than 20 minutes long.</li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000107 <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>
Josh Coalson7fdd6882005-09-03 01:33:12 +0000108 <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>
109 <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>
Josh Coalsondee53392005-08-27 01:52:11 +0000110 <li>Fixed bugs with --sector-align and raw input files.</li>
Josh Coalson7fdd6882005-09-03 01:33:12 +0000111 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000112 </ul>
113 </li>
114 <li>
115 metaflac:
116 <ul>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000117 <li>Added a new option <span class="argument"><a href="documentation.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>
118 <li>Added a new option <span class="argument"><a href="documentation.html#metaflac_shorthand_import_picture_from">--import-picture-from</a></span> for importing pictures.</li>
Josh Coalson989f2672006-11-02 03:40:44 +0000119 <li>Added a new option <span class="argument"><a href="documentation.html#metaflac_shorthand_export_picture_to">--export-picture-to</a></span> for exporting pictures.</li>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000120 <li>Added shorthand operation <span class="argument"><a href="documentation.html#metaflac_shorthand_remove_replay_gain">--remove-replay-gain</a></span> for removing ReplayGain tags.</li>
121 <li><span class="argument"><a href="documentation.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>
Josh Coalsoncee66cf2005-08-24 00:32:40 +0000122 <li>Importing of non-CDDA-compliant cuesheets now issues a warning.</li>
Josh Coalson2e29c932006-09-26 01:25:52 +0000123 <li>Removed the following deprecated tag editing options; you should use the new option names shown instead:
124 <ul>
125 <li>Removed <span class="argument">--show-vc-vendor</span>; use <span class="argument">--show-vendor-tag</span></li>
126 <li>Removed <span class="argument">--show-vc-field</span>; use <span class="argument">--show-tag</span></li>
127 <li>Removed <span class="argument">--remove-vc-all</span>; use <span class="argument">--remove-all-tags</span></li>
128 <li>Removed <span class="argument">--remove-vc-field</span>; use <span class="argument">--remove-tag</span></li>
129 <li>Removed <span class="argument">--remove-vc-firstfield</span>; use <span class="argument">--remove-first-tag</span></li>
130 <li>Removed <span class="argument">--set-vc-field</span>; use <span class="argument">--set-tag</span></li>
131 <li>Removed <span class="argument">--import-vc-from</span>; use <span class="argument">--import-tags-from</span></li>
132 <li>Removed <span class="argument">--export-vc-to</span>; use <span class="argument">--export-tags-to</span></li>
133 </ul>
134 </li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000135 </ul>
136 </li>
137 <li>
138 plugins:
139 <ul>
Josh Coalson95e39a82005-09-01 01:01:08 +0000140 <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>
Josh Coalsonb1ec7962006-05-24 04:41:36 +0000141 <li>Added ReplayGain info to file info box in XMMS plugin</li>
Josh Coalsonc2af4282005-08-25 00:25:59 +0000142 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000143 </ul>
144 </li>
145 <li>
146 build system:
147 <ul>
Josh Coalsonde9091e2006-05-25 02:48:22 +0000148 <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>
Josh Coalsonc933c932006-05-25 04:21:43 +0000149 <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>
150 <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>
151 <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>
Josh Coalsonb1ec7962006-05-24 04:41:36 +0000152 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000153 </ul>
154 </li>
155 <li>
156 libraries:
157 <ul>
Josh Coalson8da98c82006-10-15 04:24:05 +0000158 <li>Merged libOggFLAC into libFLAC; both formats are now supporte through the same API.</li>
159 <li>Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API.</li>
Josh Coalson1a90ac42006-11-03 16:15:02 +0000160 <li>libFLAC and libFLAC++: Simplified encoder setup with new <span class="argument">FLAC__stream_encoder_set_compression_level()</span> function.</li>
Josh Coalson6d8ce242006-10-07 01:19:20 +0000161 <li>libFLAC: Improved compression with no impact on FLAC format or decoding time by adding a windowing stage before LPC analysis.</li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000162 <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>
Josh Coalsonc2af4282005-08-25 00:25:59 +0000163 <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>
Josh Coalsond9264962005-09-03 01:41:11 +0000164 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000165 </ul>
166 </li>
167 <li>
Josh Coalson6b21f662006-09-13 01:42:27 +0000168 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):
Josh Coalson0d903aa2005-08-09 00:59:39 +0000169 <ul>
170 <li>
Josh Coalson6b21f662006-09-13 01:42:27 +0000171 all libraries;
172 <ul>
Josh Coalson8da98c82006-10-15 04:24:05 +0000173 <li>Merged libOggFLAC into libFLAC; both formats are now supporte through the same API.</li>
174 <li>Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API.</li>
Josh Coalson6b21f662006-09-13 01:42:27 +0000175 <li>Merged seekable stream decoder and file decoder into the stream decoder.</li>
176 <li>Merged seekable stream encoder and file encoder into the stream encoder.</li>
Josh Coalson6d8ce242006-10-07 01:19:20 +0000177 <li>Added #defines for the API version number to make porting easier; see <tt>include/lib*FLAC*/export.h</tt>.</li>
Josh Coalson6b21f662006-09-13 01:42:27 +0000178 </ul>
179 </li>
180 <li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000181 libFLAC:
182 <ul>
Josh Coalson6b21f662006-09-13 01:42:27 +0000183 <li><b>Added</b> FLAC__stream_encoder_set_apodization()</li>
Josh Coalson1a90ac42006-11-03 16:15:02 +0000184 <li><b>Added</b> FLAC__stream_encoder_set_compression_level()</li>
Josh Coalson7cfac0b2006-04-10 05:37:34 +0000185 <li><b>Added</b> FLAC__metadata_object_cuesheet_calculate_cddb_id()</li>
186 <li><b>Added</b> FLAC__metadata_get_cuesheet()</li>
Josh Coalsond63c2312006-09-26 01:02:01 +0000187 <li><b>Added</b> FLAC__metadata_get_picture()</li>
Josh Coalson1a8afc72006-07-06 07:49:07 +0000188 <li><b>Changed</b> FLAC__StreamDecoderState: removed state FLAC__STREAM_DECODER_UNPARSEABLE_STREAM</li>
189 <li><b>Changed</b> FLAC__StreamDecoderErrorStatus: new error code FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM</li>
190 <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>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000191 </ul>
192 </li>
193 <li>
194 libFLAC++:
195 <ul>
Josh Coalsond63c2312006-09-26 01:02:01 +0000196 <li><b>Added</b> FLAC::Metadata::Picture</li>
Josh Coalson6b21f662006-09-13 01:42:27 +0000197 <li><b>Added</b> FLAC::Encoder::Stream::set_apodization()</li>
Josh Coalson1a90ac42006-11-03 16:15:02 +0000198 <li><b>Added</b> FLAC::Encoder::Stream::set_compression_level()</li>
Josh Coalson7cfac0b2006-04-10 05:37:34 +0000199 <li><b>Added</b> FLAC::Metadata::CueSheet::calculate_cddb_id()</li>
200 <li><b>Added</b> FLAC::Metadata::get_cuesheet()</li>
Josh Coalsond63c2312006-09-26 01:02:01 +0000201 <li><b>Added</b> FLAC::Metadata::get_picture()</li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000202 </ul>
203 </li>
204 <li>
205 libOggFLAC:
206 <ul>
Josh Coalson8da98c82006-10-15 04:24:05 +0000207 <li>Merged into libFLAC.</li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000208 </ul>
209 </li>
210 <li>
211 libOggFLAC++:
212 <ul>
Josh Coalson8da98c82006-10-15 04:24:05 +0000213 <li>Merged into libFLAC++.</li>
Josh Coalson0d903aa2005-08-09 00:59:39 +0000214 </ul>
215 </li>
216 </ul>
217 </li>
218 </ul>
219
220 <br />
221
Josh Coalson950e3ca2005-02-09 03:37:59 +0000222 <a name="flac_1_1_2"><b>FLAC 1.1.2</b></a>
Josh Coalson71ed9692004-07-23 05:08:01 +0000223
Josh Coalson950e3ca2005-02-09 03:37:59 +0000224 <br />
Josh Coalson71ed9692004-07-23 05:08:01 +0000225
Josh Coalson950e3ca2005-02-09 03:37:59 +0000226 <ul>
227 <li>
228 General:
229 <ul>
230 <li>Sped up decoding by a few percent overall.</li>
231 <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>
232 <li>Fixed a decoding bug that could cause sync errors with some ID3v1-tagged FLAC files.</li>
233 <li>Added <a href="documentation.html#metaflac">HTML documentation for metaflac</a>.</li>
234 </ul>
235 </li>
236 <li>
237 FLAC format:
238 <ul>
239 <li>(none)</li>
240 </ul>
241 </li>
242 <li>
243 Ogg FLAC format:
244 <ul>
245 <li>(none)</li>
246 </ul>
247 </li>
248 <li>
249 flac:
250 <ul>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000251 <li>New option <span class="argument"><a href="documentation.html#flac_options_input_size">--input-size</a></span> to manually specify the input size when encoding raw samples from stdin.</li>
Josh Coalson950e3ca2005-02-09 03:37:59 +0000252 </ul>
253 </li>
254 <li>
255 metaflac:
256 <ul>
257 <li>(none)</li>
258 </ul>
259 </li>
260 <li>
261 plugins:
262 <ul>
263 <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>
264 </ul>
265 </li>
266 <li>
267 build system:
268 <ul>
269 <li>(none)</li>
270 </ul>
271 </li>
272 <li>
273 libraries:
274 <ul>
275 <li>libFLAC: Sped up Rice block decoding in the bitbuffer, resulting in decoding speed gains of a few percent.</li>
276 <li>libFLAC: Sped up encoding when not using LPC (i.e. <span class="code">max_lpc_order == 0</span>).</li>
277 <li>libFLAC: Trailing NUL characters maintained on Vorbis comment entries so they can be treated like C strings.</li>
278 <li>libFLAC: More FLAC tag (i.e. Vorbis comment) validation.</li>
279 <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>
280 <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>
281 </ul>
282 </li>
283 <li>
284 Interface changes:
285 <ul>
286 <li>
287 libFLAC:
288 <ul>
289 <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment entries for convenience.</li>
290 <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>
291 <li><b>Added</b> FLAC__format_vorbiscomment_entry_name_is_legal()</li>
292 <li><b>Added</b> FLAC__format_vorbiscomment_entry_value_is_legal()</li>
293 <li><b>Added</b> FLAC__format_vorbiscomment_entry_is_legal()</li>
294 <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()</li>
295 <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair()</li>
296 <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>
297 </ul>
298 </li>
299 <li>
300 libFLAC++:
301 <ul>
302 <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment values for convenience.</li>
303 <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>
304 <li><b>Changed:</b> All Metadata objects' operator=() methods now return a reference to themselves.</li>
305 <li><b>Added</b> methods to FLAC::Metadata::VorbisComment::Entry for setting comment values from null-terminated strings:
306 <ul>
307 <li>Entry(const char *field)</li>
308 <li>Entry(const char *field_name, const char *field_value)</li>
309 <li>bool set_field(const char *field)</li>
310 <li>bool set_field_value(const char *field_value)</li>
311 </ul>
312 </li>
313 <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>
314 <li><b>Added</b> FLAC::Metadata::*::assign() to all Metadata objects.</li>
315 <li><b>Added</b> bool FLAC::Metadata::get_tags(const char *filename, VorbisComment &amp;tags)</li>
316 </ul>
317 </li>
318 <li>
319 libOggFLAC:
320 <ul>
321 <li>(none)</li>
322 </ul>
323 </li>
324 <li>
325 libOggFLAC++:
326 <ul>
327 <li>(none)</li>
328 </ul>
329 </li>
330 </ul>
331 </li>
332 </ul>
Josh Coalson71ed9692004-07-23 05:08:01 +0000333
Josh Coalson950e3ca2005-02-09 03:37:59 +0000334 <br />
Josh Coalson71ed9692004-07-23 05:08:01 +0000335
Josh Coalson950e3ca2005-02-09 03:37:59 +0000336 <a name="flac_1_1_1"><b>FLAC 1.1.1</b></a>
Josh Coalson71ed9692004-07-23 05:08:01 +0000337
Josh Coalson950e3ca2005-02-09 03:37:59 +0000338 <br />
339
340 <ul>
341 <li>
342 General:
343 <ul>
344 <li>Ogg FLAC seeking now works</li>
345 <li>New optimizations almost double the decoding speed on PowerPC (e.g. Mac G4/G5)</li>
346 <li>A native OS X release thanks to updated Project Builder and autotools files</li>
347 </ul>
348 </li>
349 <li>
350 FLAC format:
351 <ul>
352 <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>
353 </ul>
354 </li>
355 <li>
356 Ogg FLAC format:
357 <ul>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000358 <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.html#flac_options_ogg">--ogg</a></span> switch about having to re-encode older Ogg FLAC files.</li>
Josh Coalson950e3ca2005-02-09 03:37:59 +0000359 </ul>
360 </li>
361 <li>
362 flac:
363 <ul>
364 <li>Print an error when output file already exists instead of automatically overwriting.</li>
Josh Coalsonaec8bb32006-11-02 04:06:56 +0000365 <li>New option <span class="argument"><a href="documentation.html#flac_options_force">-f</a></span> (<span class="argument"><a href="documentation.html#flac_options_force">--force</a></span>) to force overwriting if the output file already exists.</li>
366 <li>New option <span class="argument"><a href="documentation.html#flac_options_cue">--cue</a></span> to select a specific section to decode using cuesheet track/index points.</li>
367 <li>New option <span class="argument"><a href="documentation.html#flac_options_totally_silent">--totally-silent</a></span> to suppress all output.</li>
Josh Coalson950e3ca2005-02-09 03:37:59 +0000368 <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>
369 <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>
370 <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>
371 <li>Decoder no longer exits with an error when writing to stdout and the pipe is broken.</li>
372 <li>Better explanation of common error messages.</li>
373 <li>Default extension when writing AIFF files is .aif (before, it was .aiff).</li>
374 <li>Write more common representation of SANE numbers in AIFF files.</li>
375 <li>Bug fix: calculating ReplayGain on 48kHz streams.</li>
376 <li>Bug fix: check for supported block alignments in WAVE files.</li>
377 <li>Bug fix: "offset" field in AIFF SSND chunk properly handled.</li>
378 <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>
379 <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>
380 <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>
381 <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>
382 <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>
383 <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>
384 </ul>
385 </li>
386 <li>
387 metaflac:
388 <ul>
389 <li>Renamed the tag editing options as follows (the <span class="argument">...-vc-...</span> options still work but are deprecated):
390 <ul>
391 <li><span class="argument">--show-vc-vendor</span> becomes <span class="argument">--show-vendor-tag</span></li>
392 <li><span class="argument">--show-vc-field</span> becomes <span class="argument">--show-tag</span></li>
393 <li><span class="argument">--remove-vc-all</span> becomes <span class="argument">--remove-all-tags</span></li>
394 <li><span class="argument">--remove-vc-field</span> becomes <span class="argument">--remove-tag</span></li>
395 <li><span class="argument">--remove-vc-firstfield</span> becomes <span class="argument">--remove-first-tag</span></li>
396 <li><span class="argument">--set-vc-field</span> becomes <span class="argument">--set-tag</span></li>
397 <li><span class="argument">--import-vc-from</span> becomes <span class="argument">--import-tags-from</span></li>
398 <li><span class="argument">--export-vc-to</span> becomes <span class="argument">--export-tags-to</span></li>
399 </ul>
400 </li>
401 <li>Better explanation of common error messages.</li>
402 <li>Bug fix: calculating ReplayGain on 48kHz streams.</li>
403 <li>Bug fix: incorrect numbers when printing seek points.</li>
404 </ul>
405 </li>
406 <li>
407 plugins:
408 <ul>
409 <li>Speed optimization in ReplayGain synthesis.</li>
410 <li>Speed optimization in XMMS playback.</li>
411 <li>Support for big-endian architectures in XMMS plugin.</li>
412 <li>Removed support for ID3 tags.</li>
413 <li>Bug fix: make hard limiter default to off in XMMS plugin.</li>
414 <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>
415 <li>Bug fix: small memory leak in XMMS plugin.</li>
416 </ul>
417 </li>
418 <li>
419 build system:
420 <ul>
421 <li><span class="code">ordinals.h</span> is now static, not a build-generated file anymore.</li>
422 </ul>
423 </li>
424 <li>
425 libraries:
426 <ul>
427 <li>libFLAC: PPC+Altivec optimizations of some decoder routines.</li>
428 <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>
429 <li>libFLAC: Bug fix: fixed seek routine where infinite loop could happen when seeking past end of stream.</li>
430 <li>libFLAC, libFLAC++: added methods to skip single frames, useful for quickly finding frame boundaries (see interface changes below).</li>
431 <li>libOggFLAC, libOggFLAC++: New seekable-stream and file encoder and decoder APIs to match native FLAC APIs (see interface changes below).</li>
432 </ul>
433 </li>
434 <li>
435 Interface changes:
436 <ul>
437 <li>
438 libFLAC:
439 <ul>
440 <li><b>Added</b> FLAC__metadata_get_tags()</li>
441 <li><b>Added</b> callback-based versions of metadata editing functions:
442 <ul>
443 <li>FLAC__metadata_chain_read_with_callbacks()</li>
444 <li>FLAC__metadata_chain_write_with_callbacks()</li>
445 <li>FLAC__metadata_chain_write_with_callbacks_and_tempfile()</li>
446 <li>FLAC__metadata_chain_check_if_tempfile_needed()</li>
447 </ul>
448 </li>
449 <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
450 <ul>
451 <li>FLAC__stream_decoder_skip_single_frame()</li>
452 <li>FLAC__seekable_stream_decoder_skip_single_frame()</li>
453 <li>FLAC__file_decoder_skip_single_frame()</li>
454 </ul>
455 </li>
456 <li><b>Added</b> new required tell callback on seekable stream encoder:
457 <ul>
458 <li>FLAC__SeekableStreamEncoderTellStatus and FLAC__SeekableStreamEncoderTellStatusString[]</li>
459 <li>FLAC__SeekableStreamEncoderTellCallback</li>
460 <li>FLAC__seekable_stream_encoder_set_tell_callback()</li>
461 </ul>
462 </li>
463 <li><b>Changed</b> FLAC__SeekableStreamEncoderState by adding FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR</li>
464 <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li>
465 <li><b>Deleted</b> erroneous and unimplemented FLAC__file_decoder_process_remaining_frames()</li>
466 </ul>
467 </li>
468 <li>
469 libFLAC++:
470 <ul>
471 <li><b>Added</b> FLAC::Metadata::get_tags()</li>
472 <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
473 <ul>
474 <li>FLAC::Decoder::Stream::skip_single_frame()</li>
475 <li>FLAC::Decoder::SeekableStream::skip_single_frame()</li>
476 <li>FLAC::Decoder::File::skip_single_frame()</li>
477 </ul>
478 </li>
479 <li><b>Added</b> encoder functions for setting metadata:
480 <ul>
481 <li>FLAC::Encoder::Stream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
482 <li>FLAC::Encoder::SeekableStream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
483 <li>FLAC::Encoder::File::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
484 </ul>
485 </li>
486 <li><b>Added</b> new required tell callback on seekable stream encoder:
487 <ul>
488 <li>pure virtual FLAC::Encoder::SeekableStream::tell_callback()</li>
489 </ul>
490 </li>
491 <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li>
492 <li><b>Deleted</b> the following methods:
493 <ul>
494 <li>FLAC::Decoder::Stream::State::resolved_as_cstring()</li>
495 <li>FLAC::Encoder::Stream::State::resolved_as_cstring()</li>
496 </ul>
497 </li>
498 </ul>
499 </li>
500 <li>
501 libOggFLAC:
502 <ul>
503 <li><b>Added</b> OggFLAC__SeekableStreamDecoder interface</li>
504 <li><b>Added</b> OggFLAC__FileDecoder interface</li>
505 <li><b>Added</b> OggFLAC__SeekableStreamEncoder interface</li>
506 <li><b>Added</b> OggFLAC__FileEncoder interface</li>
507 <li><b>Added</b> OggFLAC__stream_decoder_get_resolved_state_string()</li>
508 <li><b>Added</b> OggFLAC__stream_encoder_get_resolved_state_string()</li>
509 <li><b>Added</b> OggFLAC__stream_encoder_set_metadata_callback()</li>
510 <li><b>Changed</b> OggFLAC__StreamDecoderState by adding OggFLAC__STREAM_DECODER_END_OF_STREAM</li>
511 </ul>
512 </li>
513 <li>
514 libOggFLAC++:
515 <ul>
516 <li><b>Added</b> OggFLAC::Decoder::SeekableStream interface</li>
517 <li><b>Added</b> OggFLAC::Decoder::File interface</li>
518 <li><b>Added</b> OggFLAC::Encoder::SeekableStream interface</li>
519 <li><b>Added</b> OggFLAC::Encoder::File interface</li>
520 <li><b>Added</b> OggFLAC::Decoder::Stream::get_resolved_state_string()</li>
521 <li><b>Added</b> OggFLAC::Encoder::Stream::get_resolved_state_string()</li>
522 <li><b>Added</b> pure virtual OggFLAC::Encoder::Stream::metadata_callback()</li>
523 </ul>
524 </li>
525 </ul>
526 </li>
527 </ul>
528 </div>
529 <div class="box_footer"></div>
530</div>
531
532<div class="copyright">
Josh Coalson0395dac2006-04-25 06:59:33 +0000533 Copyright (c) 2004,2005,2006 Josh Coalson
Josh Coalson950e3ca2005-02-09 03:37:59 +0000534</div>
535
536</body>
537</html>