Another bulk update of copyright dates
[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-2009  Josh Coalson -->
3 <!-- Copyright (c) 2011-2016  Xiph.Org Foundation -->
4 <!-- Permission is granted to copy, distribute and/or modify this document -->
5 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
6 <!-- or any later version published by the Free Software Foundation; -->
7 <!-- with no invariant sections. -->
8 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
9 <html>
10 <head>
11         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
12         <meta name="author" content="Josh Coalson" />
13         <meta name="description" content="A free, open source codec for lossless audio compression and decompression" />
14         <meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" />
15         <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
16         <link rel="stylesheet" type="text/css" href="flac.css" />
17         <title>FLAC - changelog</title>
18 </head>
19
20 <body>
21
22 <div class="logo">
23         <a href="index.html"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a>
24 </div>
25
26 <div class="above_nav"></div>
27
28 <div class="navbar">
29         &nbsp;<a href="index.html">home</a>&nbsp;&nbsp;|
30         &nbsp;<a href="faq.html">faq</a>&nbsp;&nbsp;|
31         &nbsp;<a href="documentation.html">documentation</a>&nbsp;&nbsp;|
32         &nbsp;<a href="developers.html">developers</a>&nbsp;&nbsp;|
33         &nbsp;changelog&nbsp;&nbsp;|
34         &nbsp;<a href="http://xiph.org/flac">more</a>
35 </div>
36
37 <div class="below_nav"></div>
38
39 <div class="box">
40         <div class="box_title">
41                 changelog
42         </div>
43         <div class="box_header"></div>
44         <div class="box_body">
45                 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 />
46
47                 <a name="flac_1_3_2"><b>FLAC 1.3.2</b> (??-Dec-2016)</a>
48
49                 <br />
50
51                 <ul>
52                         <li>
53                                 General:
54                                 <ul>
55                                         <li>Fix undefined behaviour using GCC/Clang UBSAN (erikd).</li>
56                                         <li>General code improvements (lvqcl, erikd and others).</li>
57                                         <li>Add FLAC in MP4 specification docs (Ralph Giles).</li>
58                                         <li>CPU detection cleanup and fixes (Julian Calaby, erikd and lvqcl).</li>
59                                         <li>Fix two stream decoder bugs (Max Kellermann).</li>
60                                         <li>MSVS build cleanups (lvqcl).</li>
61                                         <li>Fix some cppcheck warnings (erikd).</li>
62                                 </ul>
63                         </li>
64                         <li>
65                                 FLAC format:
66                                 <ul>
67                                         <li>(none)</li>
68                                 </ul>
69                         </li>
70                         <li>
71                                 Ogg FLAC format:
72                                 <ul>
73                                         <li>(none)</li>
74                                 </ul>
75                         </li>
76                         <li>
77                                 flac:
78                                 <ul>
79                                         <li>Fix potential infinite loop on flac-to-flac conversion (erikd).</li>
80                                         <li>Add  WAVEFORMATEXTENSIBLE to WAV (as needed) when decoding (lvqcl).</li>
81                                         <li>Only write vorbis-comments if they are non-empty.</li>
82                                         <li>Error out if decoding RAW with bits != (8|16|24).</li>
83                                 </ul>
84                         </li>
85                         <li>
86                                 metaflac:
87                                 <ul>
88                                         <li>Add --scan-replay-gain option.</li>
89                                 </ul>
90                         </li>
91                         <li>
92                                 plugins:
93                                 <ul>
94                                         <li>(none)</li>
95                                 </ul>
96                         </li>
97                         <li>
98                                 build system:
99                                 <ul>
100                                         <li>Fixes for MSVC and Makefile.lite build systems.</li>
101                                 </ul>
102                         </li>
103
104                         <li>
105                                 documentation:
106                                 <ul>
107                                         <li>Document new <a href="documentation_tools_flac.html#flac_options_apodization">apodization windows</a>.</li>
108                                 </ul>
109                         </li>
110                         <li>
111                                 libraries:
112                                 <ul>
113                                         <li>Fix CVE-2014-9028 (heap write overflow) and CVE-2014-8962 (heap read overflow) (Erik de Castro Lopo).</li>
114                                 </ul>
115                         </li>
116                         <li>
117                                 Interface changes:
118                                 <ul>
119                                         <li>
120                                                 libFLAC:
121                                                 <ul>
122                                                         <li>Win32: Only use large buffers when writing to disk.</li>
123                                                         <li>Fix an out-of-bounds heap read.</li>
124                                                         <li>Fix a seeking bug.</li>
125                                                 </ul>
126                                         </li>
127                                         <li>
128                                                 libFLAC++:
129                                                 <ul>
130                                                         <li>(none)</li>
131                                                 </ul>
132                                         </li>
133                                 </ul>
134                         </li>
135                 </ul>
136
137                 <br />
138
139                 <a name="flac_1_3_1"><b>FLAC 1.3.1</b> (25-Nov-2014)</a>
140
141                 <br />
142
143                 <ul>
144                         <li>
145                                 General:
146                                 <ul>
147                                         <li>Improved decoding efficiency of all bit depths but especially so for 24 bits for IA32 architecture (lvqcl and Miroslav Lichvar).</li>
148                                         <li>Faster encoding using SSE and AVX (lvqcl).</li>
149                                         <li>Fixed bartlett, bartlett_hann and triangle functions.</li>
150                                         <li>New apodization functions partial_tukey and punchout_tukey for improved compression (Martijn van Beurden).</li>
151                                         <li>Retuned compression presets to incorporate new apodization functions (Martijn van Beurden).</li>
152                                         <li>Fix -Wcast-align warnings on armhf architecture (Erik de Castro Lopo).</li>
153                                 </ul>
154                         </li>
155                         <li>
156                                 FLAC format:
157                                 <ul>
158                                         <li>(none)</li>
159                                 </ul>
160                         </li>
161                         <li>
162                                 Ogg FLAC format:
163                                 <ul>
164                                         <li>(none)</li>
165                                 </ul>
166                         </li>
167                         <li>
168                                 flac:
169                                 <ul>
170                                         <li>Help output documentation improvements.</li>
171                                         <li>I/O buffering improvements on Windows to reduce disk fragmentation when writing files.</li>
172                                         <li>Only write vorbis-comments if they are non-empty.</li>
173                                 </ul>
174                         </li>
175                         <li>
176                                 metaflac:
177                                 <ul>
178                                         <li>(none)</li>
179                                 </ul>
180                         </li>
181                         <li>
182                                 plugins:
183                                 <ul>
184                                         <li>Fix symbol visibility in XMMS plugin.</li>
185                                 </ul>
186                         </li>
187                         <li>
188                                 build system:
189                                 <ul>
190                                         <li>Many fixes and improvements across all the build systems.</li>
191                                 </ul>
192                         </li>
193
194                         <li>
195                                 documentation:
196                                 <ul>
197                                         <li>Document new <a href="documentation_tools_flac.html#flac_options_apodization">apodization windows</a>.</li>
198                                 </ul>
199                         </li>
200                         <li>
201                                 libraries:
202                                 <ul>
203                                         <li>Fix CVE-2014-9028 (heap write overflow) and CVE-2014-8962 (heap read overflow) (Erik de Castro Lopo).</li>
204                                 </ul>
205                         </li>
206                         <li>
207                                 Interface changes:
208                                 <ul>
209                                         <li>
210                                                 libFLAC:
211                                                 <ul>
212                                                         <li>(none)</li>
213                                                 </ul>
214                                         </li>
215                                         <li>
216                                                 libFLAC++:
217                                                 <ul>
218                                                         <li>(none)</li>
219                                                 </ul>
220                                         </li>
221                                 </ul>
222                         </li>
223                 </ul>
224
225                 <br />
226
227                 <a name="flac_1_3_0"><b>FLAC 1.3.0</b> (26-May-2013)</a>
228
229                 <br />
230
231                 <ul>
232                         <li>
233                                 General:
234                                 <ul>
235                                         <li>Move development to Xiph.org <a href="http://git.xiph.org/?p=flac.git;a=summary">git repository</a>.</li>
236                                         <li>The <span class="argument"><a href="documentation_tools_flac.html#flac_options_sector_align">--sector-align</a></span> option of <span class="commandname">flac</span> has been deprecated and may not exist in future versions.  <a href="http://www.etree.org/shnutils/shntool/">shntool</a> provides similar functionality.</li>
237                                         <li>Support for the RF64 and Wave64 formats in <span class="commandname">flac</span> (see below).</li>
238                                         <li>Better handling of cuesheets with non-CD-DA sample rates.</li>
239                                         <li>The <span class="argument"><a href="documentation_tools_flac.html#flac_options_ignore_chunk_sizes">--ignore-chunk-sizes</a></span> option has been added to the <span class="commandname">flac</span> command line tool.</li>
240                                 </ul>
241                         </li>
242                         <li>
243                                 FLAC format:
244                                 <ul>
245                                         <li>(none)</li>
246                                 </ul>
247                         </li>
248                         <li>
249                                 Ogg FLAC format:
250                                 <ul>
251                                         <li>(none)</li>
252                                 </ul>
253                         </li>
254                         <li>
255                                 flac:
256                                 <ul>
257                                         <li>Added support for encoding from and decoding to the RF64 format, and a new corresponding option <span class="argument"><a href="documentation_tools_flac.html#flac_options_force_rf64_format">--force-rf64-format</a></span>.  (<a href="http://sourceforge.net/p/flac/feature-requests/78/">SF #1762502</a>).  <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> is also supported.</li>
258                                         <li>Added support for encoding from and decoding to the Sony Wave64 format, and a new corresponding option <span class="argument"><a href="documentation_tools_flac.html#flac_options_force_wave64_format">--force-wave64-format</a></span>.  (<a href="http://sourceforge.net/p/flac/feature-requests/79/">SF #1769582</a>).  <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> is also supported.</li>
259                                         <li>Added new options <span class="argument"><a href="documentation_tools_flac.html#flac_options_preserve_modtime">--preserve-modtime</a></span> and <span class="argument"><a href="documentation_tools_flac.html#negative_options">--no-preserve-modtime</a></span> to specify whether or not output files should copy the timestamp and permissions from their input files.  The default is <span class="argument"><a href="documentation_tools_flac.html#flac_options_preserve_modtime">--preserve-modtime</a></span> as in previous versions.  (<a href="http://sourceforge.net/p/flac/feature-requests/85/">SF #1805428</a>).</li>
260                                         <li>Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets.  (<a href="http://sourceforge.net/p/flac/feature-requests/95/">SF #1947353</a>, <a href="http://sourceforge.net/p/flac/bugs/338/">SF #2182432</a>)</li>
261                                         <li>The <span class="argument"><a href="documentation_tools_flac.html#flac_options_sector_align">--sector-align</a></span> option of <span class="commandname">flac</span> has been deprecated and may not exist in future versions.  <a href="http://www.etree.org/shnutils/shntool/">shntool</a> provides similar functionality. (<a href="http://sourceforge.net/p/flac/feature-requests/86/">SF #1805946</a>)</li>
262                                         <li>Improved error message when user attempts to decode a non-FLAC file (<a href="http://sourceforge.net/p/flac/bugs/341/">SF #2222789</a>).</li>
263                                         <li>Fix bug where <span class="commandname">flac</span> was disallowing use of <span class="argument">--replay-gain</span> when encoding from stdin (<a href="http://sourceforge.net/p/flac/bugs/313/">SF #1840124</a>).</li>
264                                         <li>Fix bug with fractional seconds on some locales (<a href="http://sourceforge.net/p/flac/bugs/309/">SF #1815517</a>, <a href="http://sourceforge.net/p/flac/bugs/321/">SF #1858012</a>).</li>
265                                         <li>Read and write appropriate channel masks for 6.1 and 7.1 surround input WAV files. Documentation was also updated.</li>
266                                         <li>Correct Wave64 GUIDs.</li>
267                                         <li>Support 56kHz to 192kHz gain analysis (patch from Earl Chew)</li>
268                                         <li>Add ability to handle unicode filenames on Windows (large set of patches from Janne Hyv&auml;rinen)</li>
269                                 </ul>
270                         </li>
271                         <li>
272                                 metaflac:
273                                 <ul>
274                                         <li>Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets.  (<a href="http://sourceforge.net/p/flac/feature-requests/95/">SF #1947353</a>, <a href="http://sourceforge.net/p/flac/bugs/338/">SF #2182432</a>)</li>
275                                 </ul>
276                         </li>
277                         <li>
278                                 plugins:
279                                 <ul>
280                                         <li>Minor updates for XMMS plugin.</li>
281                                         <li>Winamp2 plugin was dropped because Nullsoft has provided native FLAC support since 2006.</li>
282                                 </ul>
283                         </li>
284                         <li>
285                                 build system:
286                                 <ul>
287                                         <li>Fixes for autotools (including <a href="http://sourceforge.net/p/flac/patches/28/">SF #1859664</a>).</li>
288                                         <li>Fixes for MinGW (including <a href="http://sourceforge.net/p/flac/bugs/">SF #2000973</a>, <a href="http://sourceforge.net/p/flac/bugs/">SF #2209829</a>).</li>
289                                         <li>Fixes for gcc (including <a href="http://sourceforge.net/p/flac/bugs/">SF #1834168</a>, <a href="http://sourceforge.net/p/flac/bugs/334/">SF #2002481</a>).</li>
290                                         <li>Fixes for Sun Studio/Forte (<a href="http://sourceforge.net/p/flac/patches/22/">SF #1701960</a>).</li>
291                                         <li>Fixes for windows builds (including <a href="http://sourceforge.net/p/flac/bugs/257/">SF #1676822</a>, <a href="http://sourceforge.net/p/flac/feature-requests/73/">SF #1756624</a>, <a href="http://sourceforge.net/p/flac/bugs/307/">SF #1809863</a>, <a href="http://sourceforge.net/p/flac/feature-requests/">SF #1911149</a>).</li>
292                                         <li>Fixes for FreeBSD and OpenBSD.</li>
293                                         <li>Compile with GNU gcc _FORTIFY_SOURCE=2 and stack protection where those features are detected.</li>
294                                         <li>Enable a bunch of GCC compiler warnings and fix code that generates warnings.</li>
295                                 </ul>
296                         </li>
297
298                         <li>
299                                 documentation:
300                                 <ul>
301                                         <li>Document <span class="argument"><a href="documentation_tools_flac.html#flac_options_ignore_chunk_sizes">--ignore-chunk-sizes</a></span>
302                                                 and <span class="argument"><a href="documentation_tools_flac.html#flac_options_apply_replaygain_which_is_not_lossless">--apply-replaygain-which-is-not-lossless</a></span>
303                                                 option for <span class="commandname">flac</span>.</li>
304                                 </ul>
305                         </li>
306                         <li>
307                                 libraries:
308                                 <ul>
309                                         <li>libFLAC encoder was defaulting to level 0 compression instead of 5 (<a href="http://sourceforge.net/p/flac/bugs/310/">SF #1816825</a>).</li>
310                                         <li>Fix bug in bitreader handling of read callback returning a short count (<a href="http://sourceforge.net/p/flac/bugs/345/">SF #2490454</a>).</li>
311                                         <li>Improve decoder's ability to distinguish between a FLAC sync code and an MPEG one (<a href="http://sourceforge.net/p/flac/bugs/346/">SF #2491433</a>).</li>
312                                 </ul>
313                         </li>
314                         <li>
315                                 Interface changes:
316                                 <ul>
317                                         <li>
318                                                 libFLAC:
319                                                 <ul>
320                                                         <li><b>Added</b> FLAC__format_blocksize_is_subset()</li>
321                                                 </ul>
322                                         </li>
323                                         <li>
324                                                 libFLAC++:
325                                                 <ul>
326                                                         <li>Add a number of convienience methods.</li>
327                                                 </ul>
328                                         </li>
329                                 </ul>
330                         </li>
331                 </ul>
332
333                 <br />
334
335                 <a name="flac_1_2_1"><b>FLAC 1.2.1</b> (17-Sep-2007)</a>
336
337                 <br />
338
339                 <ul>
340                         <li>
341                                 General:
342                                 <ul>
343                                         <li>With the new <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> in <span class="commandname">flac</span>, non-audio RIFF and AIFF chunks can be stored in FLAC files and recreated when decoding.  This allows, among other, things support for archiving BWF files and other WAVE files from editing tools that preserves all the metadata. </li>
344                                 </ul>
345                         </li>
346                         <li>
347                                 FLAC format:
348                                 <ul>
349                                         <li>Specified 2 new APPLICATION metadata blocks for storing WAVE and AIFF chunks (for use with <a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a> in <span class="commandname">flac</span>).</li>
350                                         <li>The lead-out track number for non-CDDA cuesheets now must be 255.</li>
351                                 </ul>
352                         </li>
353                         <li>
354                                 Ogg FLAC format:
355                                 <ul>
356                                         <li>This is not a format change, but changed default extension for Ogg FLAC from .ogg to .oga, according to new Xiph <a href="http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions">specification</a> (<a href="http://sourceforge.net/p/flac/bugs/283/">SF #1762492</a>).</li>
357                                 </ul>
358                         </li>
359                         <li>
360                                 flac:
361                                 <ul>
362                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_no_utf8_convert">--no-utf8-convert</a></span> which works like it does in <span class="commandname">metaflac</span> (<a href="http://sourceforge.net/p/flac/feature-requests/35/">SF #973740</a>).</li>
363                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_keep_foreign_metadata">--keep-foreign-metadata</a></span> which can save/restore RIFF and AIFF chunks to/from FLAC files (<a href="http://sourceforge.net/p/flac/feature-requests/9/">SF #363478</a>).</li>
364                                         <li>Changed default extension for Ogg FLAC from .ogg to .oga, according to new Xiph <a href="http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions">specification</a> (<a href="http://sourceforge.net/p/flac/bugs/283/">SF #1762492</a>).</li>
365                                         <li>Fixed bug where using <span class="argument">--replay-gain</span> without any padding option caused only a small PADDING block to be created (<a href="http://sourceforge.net/p/flac/bugs/282/">SF #1760790</a>).</li>
366                                         <li>Fixed bug where encoding from stdin on Windows could fail if WAVE/AIFF contained unknown chunks (<a href="http://sourceforge.net/p/flac/bugs/290/">SF #1776803</a>).</li>
367                                         <li>Fixed bug where importing non-CDDA cuesheets would cause an invalid lead-out track number (<a href="http://sourceforge.net/p/flac/bugs/286/">SF #1764105</a>).</li>
368                                 </ul>
369                         </li>
370                         <li>
371                                 metaflac:
372                                 <ul>
373                                         <li>Changed default extension for Ogg FLAC from .ogg to .oga, according to new Xiph <a href="http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions">specification</a> (<a href="http://sourceforge.net/p/flac/bugs/283/">SF #1762492</a>).</li>
374                                         <li>Fixed bug where importing non-CDDA cuesheets would cause an invalid lead-out track number (<a href="http://sourceforge.net/p/flac/bugs/286/">SF #1764105</a>).</li>
375                                 </ul>
376                         </li>
377                         <li>
378                                 plugins:
379                                 <ul>
380                                         <li>(none)</li>
381                                 </ul>
382                         </li>
383                         <li>
384                                 build system:
385                                 <ul>
386                                         <li>New configure option <span class="argument">--disable-cpplibs</span> to prevent building libFLAC++ (<a href="http://sourceforge.net/p/flac/patches/23/">SF #1723295</a>).</li>
387                                         <li>Fixed bug compiling <span class="commandname">flac</span> without Ogg support (<a href="http://sourceforge.net/p/flac/bugs/281/">SF #1760786</a>).</li>
388                                         <li>Fixed bug where sometimes an existing installation of flac could interfere with the build process (<a href="http://sourceforge.net/p/flac/bugs/285/">SF #1763690</a>).</li>
389                                         <li>OS X fixes (<a href="http://sourceforge.net/p/flac/patches/25/">SF #1786225</a>).</li>
390                                         <li>MinGW fixes (<a href="http://sourceforge.net/p/flac/bugs/264/">SF #1684879</a>).</li>
391                                         <li>Solaris 10 fixes (<a href="http://sourceforge.net/p/flac/bugs/294/">SF #1783225</a> <a href="http://sourceforge.net/p/flac/bugs/295/">SF #1783630</a>).</li>
392                                         <li>OS/2 fixes (<a href="http://sourceforge.net/p/flac/bugs/287/">SF #1771378</a> <a href="http://sourceforge.net/p/flac/bugs/174/">SF #1229495</a>).</li>
393                                         <li>automake-1.10 fixes (<a href="http://sourceforge.net/p/flac/bugs/300/">SF #1791361</a> <a href="http://sourceforge.net/p/flac/bugs/302/">SF #1792179</a>).</li>
394                                 </ul>
395                         </li>
396                         <li>
397                                 documentation:
398                                 <ul>
399                                         <li>Added new <a href="documentation_tools_flac.html#tutorial">tutorial</a> section for <span class="commandname">flac</span>.</li>
400                                         <li>Added <a href="documentation_example_code.html">example code</a> section for using libFLAC/libFLAC++.</li>
401                                 </ul>
402                         </li>
403                         <li>
404                                 libraries:
405                                 <ul>
406                                         <li>libFLAC: Fixed very rare seek bug (<a href="http://sourceforge.net/p/flac/bugs/263/">SF #1684049</a>).</li>
407                                         <li>libFLAC: Fixed seek bug with Ogg FLAC and small streams (<a href="http://sourceforge.net/p/flac/bugs/301/">SF #1792172</a>).</li>
408                                         <li>libFLAC: 64-bit fixes (<a href="http://sourceforge.net/p/flac/bugs/299/">SF #1790872</a>).</li>
409                                         <li>libFLAC: Fix assembler code to be position independent.</li>
410                                         <li>libFLAC: Optimization of a number of inner loop functions.</li>
411                                         <li>Added support for encoding the residual coding method introduced in libFLAC 1.2.0 (RESIDUAL_CODING_METHOD_PARTITIONED_RICE2) which will  encode 24-bit files more efficiently.</li>
412                                 </ul>
413                         </li>
414                         <li>
415                                 Interface changes:
416                                 <ul>
417                                         <li>
418                                                 libFLAC:
419                                                 <ul>
420                                                         <li><b>Added</b> FLAC__metadata_simple_iterator_is_last()</li>
421                                                         <li><b>Added</b> FLAC__metadata_simple_iterator_get_block_offset()</li>
422                                                         <li><b>Added</b> FLAC__metadata_simple_iterator_get_block_length()</li>
423                                                         <li><b>Added</b> FLAC__metadata_simple_iterator_get_application_id()</li>
424                                                 </ul>
425                                         </li>
426                                         <li>
427                                                 libFLAC++:
428                                                 <ul>
429                                                         <li><b>Added</b> FLAC::Metadata::SimpleIterator::is_last()</li>
430                                                         <li><b>Added</b> FLAC::Metadata::SimpleIterator::get_block_offset()</li>
431                                                         <li><b>Added</b> FLAC::Metadata::SimpleIterator::get_block_length()</li>
432                                                         <li><b>Added</b> FLAC::Metadata::SimpleIterator::get_application_id()</li>
433                                                 </ul>
434                                         </li>
435                                 </ul>
436                         </li>
437                 </ul>
438
439                 <br />
440
441                 <a name="flac_1_2_0"><b>FLAC 1.2.0</b> (23-Jul-2007)</a>
442
443                 <br />
444
445                 <ul>
446                         <li>
447                                 General:
448                                 <ul>
449                                         <li>Small encoding speedups for all modes.</li>
450                                 </ul>
451                         </li>
452                         <li>
453                                 FLAC format:
454                                 <ul>
455                                         <li>One of the reserved bits in the FLAC frame header has been assigned for future use; make sure to refer to the <a href="api/group__porting__1__1__4__to__1__2__0.html">porting guide</a> if you parse FLAC streams manually.</li>
456                                 </ul>
457                         </li>
458                         <li>
459                                 Ogg FLAC format:
460                                 <ul>
461                                         <li>(none)</li>
462                                 </ul>
463                         </li>
464                         <li>
465                                 flac:
466                                 <ul>
467                                         <li>Added runtime detection of SSE OS support for most operating systems.</li>
468                                         <li>Added a new undocumented option <span class="argument">--ignore-chunk-sizes</span> for ignoring the size of the 'data' chunk (WAVE) or 'SSND' chunk (AIFF).  Can be used to encode files with bogus data sizes (e.g. with WAV files piped from foobar2000 to flac.exe as an external encoder).  <b>Use with caution</b>: all subsequent data is treated as audio, so the data/SSND chunk must be the last or the following data/tags will be treated as audio and encoded.</li>
469                                 </ul>
470                         </li>
471                         <li>
472                                 metaflac:
473                                 <ul>
474                                         <li>(none)</li>
475                                 </ul>
476                         </li>
477                         <li>
478                                 plugins:
479                                 <ul>
480                                         <li>(none)</li>
481                                 </ul>
482                         </li>
483                         <li>
484                                 build system:
485                                 <ul>
486                                         <li>Added solution and project files for building with VC++ 2005.</li>
487                                 </ul>
488                         </li>
489                         <li>
490                                 libraries:
491                                 <ul>
492                                         <li>Added runtime detection of SSE OS support for most operating systems.</li>
493                                         <li>Fixed bug where invalid seek tables could cause some seeks to fail.</li>
494                                         <li>Added support for decoding the new residual coding method (RESIDUAL_CODING_METHOD_PARTITIONED_RICE2).</li>
495                                 </ul>
496                         </li>
497                         <li>
498                                 Interface changes (see also the <a href="api/group__porting__1__1__4__to__1__2__0.html">porting guide</a> for specific instructions on porting to FLAC 1.2.0):
499                                 <ul>
500                                         <li>
501                                                 libFLAC:
502                                                 <ul>
503                                                         <li><b>Added</b> FLAC__format_sample_rate_is_subset()</li>
504                                                 </ul>
505                                         </li>
506                                         <li>
507                                                 libFLAC++:
508                                                 <ul>
509                                                         <li><b>Added</b> FLAC::Decoder::Stream::get_decode_position()</li>
510                                                 </ul>
511                                         </li>
512                                 </ul>
513                         </li>
514                 </ul>
515
516                 <br />
517
518                 <a name="flac_1_1_4"><b>FLAC 1.1.4</b> (13-Feb-2007)</a>
519
520                 <br />
521
522                 <ul>
523                         <li>
524                                 General:
525                                 <ul>
526                                         <li>Improved compression with no change to format or decrease in speed.</li>
527                                         <li>Encoding and decoding speedups for all modes.  Encoding at -8 is twice as fast.</li>
528                                 </ul>
529                         </li>
530                         <li>
531                                 FLAC format:
532                                 <ul>
533                                         <li>(none)</li>
534                                 </ul>
535                         </li>
536                         <li>
537                                 Ogg FLAC format:
538                                 <ul>
539                                         <li>(none)</li>
540                                 </ul>
541                         </li>
542                         <li>
543                                 flac:
544                                 <ul>
545                                         <li>Improved compression with no change to format or decrease in speed.</li>
546                                         <li>Encoding and decoding speedups for all modes.  Encoding at -8 is twice as fast.</li>
547                                         <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>
548                                         <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>
549                                         <li>Fixed a bug that caused suboptimal default compression settings in some locales (<a href="http://sourceforge.net/p/flac/bugs/237/">SF #1608883</a>).</li>
550                                         <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/p/flac/bugs/241/">SF #1615019</a>).</li>
551                                         <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/p/flac/bugs/242/">SF #1615391</a>).</li>
552                                         <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="http://sourceforge.net/p/flac/bugs/246/">SF #1627993</a>).</li>
553                                 </ul>
554                         </li>
555                         <li>
556                                 metaflac:
557                                 <ul>
558                                         <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>
559                                 </ul>
560                         </li>
561                         <li>
562                                 plugins:
563                                 <ul>
564                                         <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="http://sourceforge.net/p/flac/patches/20/">SF #1634941</a>).</li>
565                                 </ul>
566                         </li>
567                         <li>
568                                 build system:
569                                 <ul>
570                                         <li>Fixed a makefile linkage bug with libogg (<a href="http://sourceforge.net/p/flac/bugs/239/">SF #1611414</a>).</li>
571                                         <li>Added pkg-config files for libFLAC and libFLAC++ (<a href="http://sourceforge.net/p/flac/patches/21/">SF #1647881</a>).</li>
572                                         <li>Added <span class="argument">--disable-ogg</span> option for building without Ogg support even if libogg is installed (<a href="http://sourceforge.net/p/flac/bugs/165/">SF #1196996</a>).</li>
573                                 </ul>
574                         </li>
575                         <li>
576                                 libraries:
577                                 <ul>
578                                         <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>
579                                         <li>Much faster Rice partition size estimation which greatly speeds encoding in higher modes.</li>
580                                         <li>Increased compression for all modes.</li>
581                                         <li>Reduced memory requirements for encoder and decoder.</li>
582                                         <li>Fixed a bug with default apodization settings that were erroneous in some locales (<a href="http://sourceforge.net/p/flac/bugs/237/">SF #1608883</a>).</li>
583                                 </ul>
584                         </li>
585                         <li>
586                                 Interface changes:
587                                 <ul>
588                                         <li>
589                                                 libFLAC:
590                                                 <ul>
591                                                         <li>(behavior only) FLAC__stream_encoder_set_metadata() now makes a copy of the "metadata" array of pointers (but still not copies of the objects themselves) so the client does not need to maintain its copy of the array after the call.</li>
592                                                 </ul>
593                                         </li>
594                                         <li>
595                                                 libFLAC++:
596                                                 <ul>
597                                                         <li>(none)</li>
598                                                 </ul>
599                                         </li>
600                                 </ul>
601                         </li>
602                 </ul>
603
604                 <br />
605
606                 <a name="flac_1_1_3"><b>FLAC 1.1.3</b> (27-Nov-2006)</a>
607
608                 <br />
609
610                 <ul>
611                         <li>
612                                 General:
613                                 <ul>
614                                         <li>Improved compression with no impact on format or decoding speed.</li>
615                                         <li>Much better recovery for corrupted files</li>
616                                         <li>Better multichannel support</li>
617                                         <li>Large file (&gt;2GB) support everywhere</li>
618                                         <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>
619                                         <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>
620                                         <li>Support for new <tt>REPLAYGAIN_REFERENCE_LOUDNESS</tt> tag.</li>
621                                         <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>
622                                         <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>
623                                 </ul>
624                         </li>
625                         <li>
626                                 FLAC format:
627                                 <ul>
628                                         <li>New <span class="code"><a href="format.html#def_PICTURE">PICTURE</a></span> metadata block for storing things like cover art.</li>
629                                         <li>Speaker assignments and channel orders for 3-6 channels (see <a href="format.html#frame_header">frame header</a>).</li>
630                                         <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>
631                                 </ul>
632                         </li>
633                         <li>
634                                 Ogg FLAC format:
635                                 <ul>
636                                         <li>(none)</li>
637                                 </ul>
638                         </li>
639                         <li>
640                                 flac:
641                                 <ul>
642                                         <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>
643                                         <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>
644                                         <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>
645                                         <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>
646                                         <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>
647                                         <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>
648                                         <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> for adding pictures.</li>
649                                         <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>
650                                         <li>Added support for encoding from non-compressed AIFF-C (<a href="http://sourceforge.net/p/flac/bugs/143/">SF #1090933</a>).</li>
651                                         <li>Importing of non-CDDA-compliant cuesheets now only issues a warning, not an error (see <a href="http://www.hydrogenaud.io/forums/index.php?showtopic=31282">here</a>).</li>
652                                         <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="http://sourceforge.net/p/flac/bugs/221/">SF #1493725</a>).</li>
653                                         <li>The default padding size is now 8K, or 64K if the input audio stream is more than 20 minutes long.</li>
654                                         <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>
655                                         <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="http://sourceforge.net/p/flac/bugs/173/">SF #1229481</a>).</li>
656                                         <li>Fixed a bug with --sector-align where appended samples were not always totally silent (<a href="http://sourceforge.net/p/flac/bugs/179/">SF #1237707</a>).</li>
657                                         <li>Fixed bugs with --sector-align and raw input files.</li>
658                                         <li>Fixed a bug printing out unknown AIFF subchunk names (<a href="http://sourceforge.net/p/flac/bugs/186/">SF #1267476</a>).</li>
659                                         <li>Fixed a bug where WAVE files with "data" subchunks of size 0 where accepted (<a href="http://sourceforge.net/p/flac/bugs/190/">SF #1293830</a>).</li>
660                                         <li>Fixed a bug where sync error at end-of-stream of truncated files was not being caught (<a href="http://sourceforge.net/p/flac/bugs/183/">SF #1244071</a>).</li>
661                                         <li>Fixed a problem with filename parsing if file does not have extension but also has a . in the path (<a href="http://sourceforge.net/p/flac/bugs/159/">SF #1161916</a>).</li>
662                                         <li>Fixed a problem with fractional-second parsing for <span class="argument">--skip</span>/<span class="argument">--until</span> in some locales (<a href="http://sourceforge.net/p/flac/bugs/125/">SF #1031043</a>).</li>
663                                         <li>Increase progress report rate when -p and -e are used together (<a href="http://sourceforge.net/p/flac/bugs/229/">SF #1580122</a>).</li>
664                                 </ul>
665                         </li>
666                         <li>
667                                 metaflac:
668                                 <ul>
669                                         <li>Added support for read-only operations on Ogg FLAC files.</li>
670                                         <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>
671                                         <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>
672                                         <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>
673                                         <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>
674                                         <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="http://sourceforge.net/p/flac/feature-requests/46/">SF #1272825</a>).</li>
675                                         <li>Importing of non-CDDA-compliant cuesheets now issues a warning.</li>
676                                         <li>Removed the following deprecated tag editing options; you should use the new option names shown instead:
677                                                 <ul>
678                                                         <li>Removed <span class="argument">--show-vc-vendor</span>; use <span class="argument">--show-vendor-tag</span></li>
679                                                         <li>Removed <span class="argument">--show-vc-field</span>; use <span class="argument">--show-tag</span></li>
680                                                         <li>Removed <span class="argument">--remove-vc-all</span>; use <span class="argument">--remove-all-tags</span></li>
681                                                         <li>Removed <span class="argument">--remove-vc-field</span>; use <span class="argument">--remove-tag</span></li>
682                                                         <li>Removed <span class="argument">--remove-vc-firstfield</span>; use <span class="argument">--remove-first-tag</span></li>
683                                                         <li>Removed <span class="argument">--set-vc-field</span>; use <span class="argument">--set-tag</span></li>
684                                                         <li>Removed <span class="argument">--import-vc-from</span>; use <span class="argument">--import-tags-from</span></li>
685                                                         <li>Removed <span class="argument">--export-vc-to</span>; use <span class="argument">--export-tags-to</span></li>
686                                                 </ul>
687                                         </li>
688                                         <li>Disallow multiple input FLAC files when --import-tags-from=- is used (<a href="http://sourceforge.net/p/flac/bugs/141/">SF #1082577</a>).</li>
689                                 </ul>
690                         </li>
691                         <li>
692                                 plugins:
693                                 <ul>
694                                         <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>
695                                         <li>Added ReplayGain info to file info box in XMMS plugin</li>
696                                         <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>
697                                 </ul>
698                         </li>
699                         <li>
700                                 build system:
701                                 <ul>
702                                         <li>Added support for building on OS/2 with EMX (<a href="http://sourceforge.net/p/flac/bugs/174/">SF #1229495</a>)</li>
703                                         <li>Added support for building with Borland C++ (<a href="http://sourceforge.net/p/flac/patches/17/">SF #1599018</a>)</li>
704                                         <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="http://sourceforge.net/p/flac/feature-requests/33/">SF #930494</a>).</li>
705                                         <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="http://sourceforge.net/p/flac/patches/12/">SF #1365935</a>).</li>
706                                         <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="http://sourceforge.net/p/flac/feature-requests/40/">SF #1077948</a>).</li>
707                                         <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>
708                                 </ul>
709                         </li>
710                         <li>
711                                 libraries:
712                                 <ul>
713                                         <li>Merged libOggFLAC into libFLAC; both formats are now supporte through the same API.</li>
714                                         <li>Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API.</li>
715                                         <li>libFLAC and libFLAC++: Simplified encoder setup with new <span class="argument">FLAC__stream_encoder_set_compression_level()</span> function.</li>
716                                         <li>libFLAC: Improved compression with no impact on FLAC format or decoding time by adding a windowing stage before LPC analysis.</li>
717                                         <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="http://sourceforge.net/p/flac/bugs/197/">SF #1338969</a>).</li>
718                                         <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>
719                                         <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>
720                                         <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="http://sourceforge.net/p/flac/bugs/176/">SF #1235005</a>).</li>
721                                 </ul>
722                         </li>
723                         <li>
724                                 Interface changes (see also the <a href="api/group__porting__1__1__2__to__1__1__3.html">porting guide</a> for specific instructions on porting to FLAC 1.1.3):
725                                 <ul>
726                                         <li>
727                                                 all libraries;
728                                                 <ul>
729                                                         <li>Merged libOggFLAC into libFLAC; both formats are now supporte through the same API.</li>
730                                                         <li>Merged libOggFLAC++ into libFLAC++; both formats are now supporte through the same API.</li>
731                                                         <li>Merged seekable stream decoder and file decoder into the stream decoder.</li>
732                                                         <li>Merged seekable stream encoder and file encoder into the stream encoder.</li>
733                                                         <li>Added #defines for the API version number to make porting easier; see <tt>include/lib*FLAC*/export.h</tt>.</li>
734                                                 </ul>
735                                         </li>
736                                         <li>
737                                                 libFLAC:
738                                                 <ul>
739                                                         <li><b>Added</b> FLAC__stream_encoder_set_apodization()</li>
740                                                         <li><b>Added</b> FLAC__stream_encoder_set_compression_level()</li>
741                                                         <li><b>Added</b> FLAC__metadata_object_cuesheet_calculate_cddb_id()</li>
742                                                         <li><b>Added</b> FLAC__metadata_get_cuesheet()</li>
743                                                         <li><b>Added</b> FLAC__metadata_get_picture()</li>
744                                                         <li><b>Added</b> FLAC__metadata_chain_read_ogg() and FLAC__metadata_chain_read_ogg_with_callbacks()</li>
745                                                         <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>
746                                                         <li><b>Changed</b> FLAC__StreamDecoderState: removed state FLAC__STREAM_DECODER_UNPARSEABLE_STREAM</li>
747                                                         <li><b>Changed</b> FLAC__StreamDecoderErrorStatus: new error code FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM</li>
748                                                         <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>
749                                                 </ul>
750                                         </li>
751                                         <li>
752                                                 libFLAC++:
753                                                 <ul>
754                                                         <li><b>Added</b> FLAC::Metadata::Picture</li>
755                                                         <li><b>Added</b> FLAC::Encoder::Stream::set_apodization()</li>
756                                                         <li><b>Added</b> FLAC::Encoder::Stream::set_compression_level()</li>
757                                                         <li><b>Added</b> FLAC::Metadata::CueSheet::calculate_cddb_id()</li>
758                                                         <li><b>Added</b> FLAC::Metadata::get_cuesheet()</li>
759                                                         <li><b>Added</b> FLAC::Metadata::get_picture()</li>
760                                                         <li><b>Changed</b> FLAC::Metadata::Chain::read() to accept a flag denoting Ogg FLAC input</li>
761                                                         <li><b>Changed</b> FLAC::Decoder::Stream::finish() now returns a bool to signal an MD5 failure like FLAC__stream_decoder_finish() does.</li>
762                                                         <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>
763                                                 </ul>
764                                         </li>
765                                         <li>
766                                                 libOggFLAC:
767                                                 <ul>
768                                                         <li>Merged into libFLAC.</li>
769                                                 </ul>
770                                         </li>
771                                         <li>
772                                                 libOggFLAC++:
773                                                 <ul>
774                                                         <li>Merged into libFLAC++.</li>
775                                                 </ul>
776                                         </li>
777                                 </ul>
778                         </li>
779                 </ul>
780
781                 <br />
782
783                 <a name="flac_1_1_2"><b>FLAC 1.1.2</b> (05-Feb-2005)</a>
784
785                 <br />
786
787                 <ul>
788                         <li>
789                                 General:
790                                 <ul>
791                                         <li>Sped up decoding by a few percent overall.</li>
792                                         <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>
793                                         <li>Fixed a decoding bug that could cause sync errors with some ID3v1-tagged FLAC files.</li>
794                                         <li>Added <a href="documentation_tools_metaflac.html#metaflac">HTML documentation for metaflac</a>.</li>
795                                 </ul>
796                         </li>
797                         <li>
798                                 FLAC format:
799                                 <ul>
800                                         <li>(none)</li>
801                                 </ul>
802                         </li>
803                         <li>
804                                 Ogg FLAC format:
805                                 <ul>
806                                         <li>(none)</li>
807                                 </ul>
808                         </li>
809                         <li>
810                                 flac:
811                                 <ul>
812                                         <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>
813                                 </ul>
814                         </li>
815                         <li>
816                                 metaflac:
817                                 <ul>
818                                         <li>(none)</li>
819                                 </ul>
820                         </li>
821                         <li>
822                                 plugins:
823                                 <ul>
824                                         <li>Added support for HTTP streaming in XMMS plugin.  <b>NOTE</b>: there is a bug 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>
825                                 </ul>
826                         </li>
827                         <li>
828                                 build system:
829                                 <ul>
830                                         <li>(none)</li>
831                                 </ul>
832                         </li>
833                         <li>
834                                 libraries:
835                                 <ul>
836                                         <li>libFLAC: Sped up Rice block decoding in the bitbuffer, resulting in decoding speed gains of a few percent.</li>
837                                         <li>libFLAC: Sped up encoding when not using LPC (i.e. <span class="code">max_lpc_order == 0</span>).</li>
838                                         <li>libFLAC: Trailing NUL characters maintained on Vorbis comment entries so they can be treated like C strings.</li>
839                                         <li>libFLAC: More FLAC tag (i.e. Vorbis comment) validation.</li>
840                                         <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>
841                                         <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>
842                                 </ul>
843                         </li>
844                         <li>
845                                 Interface changes:
846                                 <ul>
847                                         <li>
848                                                 libFLAC:
849                                                 <ul>
850                                                         <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment entries for convenience.</li>
851                                                         <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>
852                                                         <li><b>Added</b> FLAC__format_vorbiscomment_entry_name_is_legal()</li>
853                                                         <li><b>Added</b> FLAC__format_vorbiscomment_entry_value_is_legal()</li>
854                                                         <li><b>Added</b> FLAC__format_vorbiscomment_entry_is_legal()</li>
855                                                         <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()</li>
856                                                         <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair()</li>
857                                                         <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>
858                                                 </ul>
859                                         </li>
860                                         <li>
861                                                 libFLAC++:
862                                                 <ul>
863                                                         <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment values for convenience.</li>
864                                                         <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>
865                                                         <li><b>Changed:</b> All Metadata objects' operator=() methods now return a reference to themselves.</li>
866                                                         <li><b>Added</b> methods to FLAC::Metadata::VorbisComment::Entry for setting comment values from null-terminated strings:
867                                                                 <ul>
868                                                                         <li>Entry(const char *field)</li>
869                                                                         <li>Entry(const char *field_name, const char *field_value)</li>
870                                                                         <li>bool set_field(const char *field)</li>
871                                                                         <li>bool set_field_value(const char *field_value)</li>
872                                                                 </ul>
873                                                         </li>
874                                                         <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>
875                                                         <li><b>Added</b> FLAC::Metadata::*::assign() to all Metadata objects.</li>
876                                                         <li><b>Added</b> bool FLAC::Metadata::get_tags(const char *filename, VorbisComment &amp;tags)</li>
877                                                 </ul>
878                                         </li>
879                                         <li>
880                                                 libOggFLAC:
881                                                 <ul>
882                                                         <li>(none)</li>
883                                                 </ul>
884                                         </li>
885                                         <li>
886                                                 libOggFLAC++:
887                                                 <ul>
888                                                         <li>(none)</li>
889                                                 </ul>
890                                         </li>
891                                 </ul>
892                         </li>
893                 </ul>
894
895                 <br />
896
897                 <a name="flac_1_1_1"><b>FLAC 1.1.1</b> (01-Oct-2004)</a>
898
899                 <br />
900
901                 <ul>
902                         <li>
903                                 General:
904                                 <ul>
905                                         <li>Ogg FLAC seeking now works</li>
906                                         <li>New optimizations almost double the decoding speed on PowerPC (e.g. Mac G4/G5)</li>
907                                         <li>A native OS X release thanks to updated Project Builder and autotools files</li>
908                                 </ul>
909                         </li>
910                         <li>
911                                 FLAC format:
912                                 <ul>
913                                         <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>
914                                 </ul>
915                         </li>
916                         <li>
917                                 Ogg FLAC format:
918                                 <ul>
919                                         <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>
920                                 </ul>
921                         </li>
922                         <li>
923                                 flac:
924                                 <ul>
925                                         <li>Print an error when output file already exists instead of automatically overwriting.</li>
926                                         <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>
927                                         <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>
928                                         <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>
929                                         <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.hydrogenaud.io/forums/index.php?showtopic=17293&amp;st=11">this thread</a> for usage and caveats.</li>
930                                         <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>
931                                         <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>
932                                         <li>Decoder no longer exits with an error when writing to stdout and the pipe is broken.</li>
933                                         <li>Better explanation of common error messages.</li>
934                                         <li>Default extension when writing AIFF files is .aif (before, it was .aiff).</li>
935                                         <li>Write more common representation of SANE numbers in AIFF files.</li>
936                                         <li>Bug fix: calculating ReplayGain on 48kHz streams.</li>
937                                         <li>Bug fix: check for supported block alignments in WAVE files.</li>
938                                         <li>Bug fix: "offset" field in AIFF SSND chunk properly handled.</li>
939                                         <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/77/">#679166</a>: flac doesn't respect RIFF subchunk padding byte.</li>
940                                         <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/90/">#828391</a>: --add-replay-gain segfaults.</li>
941                                         <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/96/">#851155</a>: Can't seek to position in flac file.</li>
942                                         <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/97/">#851756</a>: flac --skip --until reads entire file.</li>
943                                         <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/100/">#877122</a>: problem parsing cuesheet with CATALOG entry.</li>
944                                         <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/104/">#896057</a>: parsing ISRC number from cuesheet.</li>
945                                 </ul>
946                         </li>
947                         <li>
948                                 metaflac:
949                                 <ul>
950                                         <li>Renamed the tag editing options as follows (the <span class="argument">...-vc-...</span> options still work but are deprecated):
951                                                 <ul>
952                                                         <li><span class="argument">--show-vc-vendor</span> becomes <span class="argument">--show-vendor-tag</span></li>
953                                                         <li><span class="argument">--show-vc-field</span> becomes <span class="argument">--show-tag</span></li>
954                                                         <li><span class="argument">--remove-vc-all</span> becomes <span class="argument">--remove-all-tags</span></li>
955                                                         <li><span class="argument">--remove-vc-field</span> becomes <span class="argument">--remove-tag</span></li>
956                                                         <li><span class="argument">--remove-vc-firstfield</span> becomes <span class="argument">--remove-first-tag</span></li>
957                                                         <li><span class="argument">--set-vc-field</span> becomes <span class="argument">--set-tag</span></li>
958                                                         <li><span class="argument">--import-vc-from</span> becomes <span class="argument">--import-tags-from</span></li>
959                                                         <li><span class="argument">--export-vc-to</span> becomes <span class="argument">--export-tags-to</span></li>
960                                                 </ul>
961                                         </li>
962                                         <li>Better explanation of common error messages.</li>
963                                         <li>Bug fix: calculating ReplayGain on 48kHz streams.</li>
964                                         <li>Bug fix: incorrect numbers when printing seek points.</li>
965                                 </ul>
966                         </li>
967                         <li>
968                                 plugins:
969                                 <ul>
970                                         <li>Speed optimization in ReplayGain synthesis.</li>
971                                         <li>Speed optimization in XMMS playback.</li>
972                                         <li>Support for big-endian architectures in XMMS plugin.</li>
973                                         <li>Removed support for ID3 tags.</li>
974                                         <li>Bug fix: make hard limiter default to off in XMMS plugin.</li>
975                                         <li>Bug fix: stream length calculation bug in XMMS plugin, debian bug #200435</li>
976                                         <li>Bug fix: small memory leak in XMMS plugin.</li>
977                                 </ul>
978                         </li>
979                         <li>
980                                 build system:
981                                 <ul>
982                                         <li><span class="code">ordinals.h</span> is now static, not a build-generated file anymore.</li>
983                                 </ul>
984                         </li>
985                         <li>
986                                 libraries:
987                                 <ul>
988                                         <li>libFLAC: PPC+Altivec optimizations of some decoder routines.</li>
989                                         <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>
990                                         <li>libFLAC: Bug fix: fixed seek routine where infinite loop could happen when seeking past end of stream.</li>
991                                         <li>libFLAC, libFLAC++: added methods to skip single frames, useful for quickly finding frame boundaries (see interface changes below).</li>
992                                         <li>libOggFLAC, libOggFLAC++: New seekable-stream and file encoder and decoder APIs to match native FLAC APIs (see interface changes below).</li>
993                                 </ul>
994                         </li>
995                         <li>
996                                 Interface changes:
997                                 <ul>
998                                         <li>
999                                                 libFLAC:
1000                                                 <ul>
1001                                                         <li><b>Added</b> FLAC__metadata_get_tags()</li>
1002                                                         <li><b>Added</b> callback-based versions of metadata editing functions:
1003                                                                 <ul>
1004                                                                         <li>FLAC__metadata_chain_read_with_callbacks()</li>
1005                                                                         <li>FLAC__metadata_chain_write_with_callbacks()</li>
1006                                                                         <li>FLAC__metadata_chain_write_with_callbacks_and_tempfile()</li>
1007                                                                         <li>FLAC__metadata_chain_check_if_tempfile_needed()</li>
1008                                                                 </ul>
1009                                                         </li>
1010                                                         <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
1011                                                                 <ul>
1012                                                                         <li>FLAC__stream_decoder_skip_single_frame()</li>
1013                                                                         <li>FLAC__seekable_stream_decoder_skip_single_frame()</li>
1014                                                                         <li>FLAC__file_decoder_skip_single_frame()</li>
1015                                                                 </ul>
1016                                                         </li>
1017                                                         <li><b>Added</b> new required tell callback on seekable stream encoder:
1018                                                                 <ul>
1019                                                                         <li>FLAC__SeekableStreamEncoderTellStatus and FLAC__SeekableStreamEncoderTellStatusString[]</li>
1020                                                                         <li>FLAC__SeekableStreamEncoderTellCallback</li>
1021                                                                         <li>FLAC__seekable_stream_encoder_set_tell_callback()</li>
1022                                                                 </ul>
1023                                                         </li>
1024                                                         <li><b>Changed</b> FLAC__SeekableStreamEncoderState by adding FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR</li>
1025                                                         <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li>
1026                                                         <li><b>Deleted</b> erroneous and unimplemented FLAC__file_decoder_process_remaining_frames()</li>
1027                                                 </ul>
1028                                         </li>
1029                                         <li>
1030                                                 libFLAC++:
1031                                                 <ul>
1032                                                         <li><b>Added</b> FLAC::Metadata::get_tags()</li>
1033                                                         <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries:
1034                                                                 <ul>
1035                                                                         <li>FLAC::Decoder::Stream::skip_single_frame()</li>
1036                                                                         <li>FLAC::Decoder::SeekableStream::skip_single_frame()</li>
1037                                                                         <li>FLAC::Decoder::File::skip_single_frame()</li>
1038                                                                 </ul>
1039                                                         </li>
1040                                                         <li><b>Added</b> encoder functions for setting metadata:
1041                                                                 <ul>
1042                                                                         <li>FLAC::Encoder::Stream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
1043                                                                         <li>FLAC::Encoder::SeekableStream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
1044                                                                         <li>FLAC::Encoder::File::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li>
1045                                                                 </ul>
1046                                                         </li>
1047                                                         <li><b>Added</b> new required tell callback on seekable stream encoder:
1048                                                                 <ul>
1049                                                                         <li>pure virtual FLAC::Encoder::SeekableStream::tell_callback()</li>
1050                                                                 </ul>
1051                                                         </li>
1052                                                         <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li>
1053                                                         <li><b>Deleted</b> the following methods:
1054                                                                 <ul>
1055                                                                         <li>FLAC::Decoder::Stream::State::resolved_as_cstring()</li>
1056                                                                         <li>FLAC::Encoder::Stream::State::resolved_as_cstring()</li>
1057                                                                 </ul>
1058                                                         </li>
1059                                                 </ul>
1060                                         </li>
1061                                         <li>
1062                                                 libOggFLAC:
1063                                                 <ul>
1064                                                         <li><b>Added</b> OggFLAC__SeekableStreamDecoder interface</li>
1065                                                         <li><b>Added</b> OggFLAC__FileDecoder interface</li>
1066                                                         <li><b>Added</b> OggFLAC__SeekableStreamEncoder interface</li>
1067                                                         <li><b>Added</b> OggFLAC__FileEncoder interface</li>
1068                                                         <li><b>Added</b> OggFLAC__stream_decoder_get_resolved_state_string()</li>
1069                                                         <li><b>Added</b> OggFLAC__stream_encoder_get_resolved_state_string()</li>
1070                                                         <li><b>Added</b> OggFLAC__stream_encoder_set_metadata_callback()</li>
1071                                                         <li><b>Changed</b> OggFLAC__StreamDecoderState by adding OggFLAC__STREAM_DECODER_END_OF_STREAM</li>
1072                                                 </ul>
1073                                         </li>
1074                                         <li>
1075                                                 libOggFLAC++:
1076                                                 <ul>
1077                                                         <li><b>Added</b> OggFLAC::Decoder::SeekableStream interface</li>
1078                                                         <li><b>Added</b> OggFLAC::Decoder::File interface</li>
1079                                                         <li><b>Added</b> OggFLAC::Encoder::SeekableStream interface</li>
1080                                                         <li><b>Added</b> OggFLAC::Encoder::File interface</li>
1081                                                         <li><b>Added</b> OggFLAC::Decoder::Stream::get_resolved_state_string()</li>
1082                                                         <li><b>Added</b> OggFLAC::Encoder::Stream::get_resolved_state_string()</li>
1083                                                         <li><b>Added</b> pure virtual OggFLAC::Encoder::Stream::metadata_callback()</li>
1084                                                 </ul>
1085                                         </li>
1086                                 </ul>
1087                         </li>
1088                 </ul>
1089
1090                 <br />
1091
1092                 <a name="flac_1_1_0"><b>FLAC 1.1.0</b> (26-Jan-2003)</a>
1093
1094                 <br />
1095
1096                 <ul>
1097                         <li>
1098                                 General:
1099                                 <ul>
1100                                         <li>All code is now <a href="http://valgrind.org/">Valgrind</a>-clean!</li>
1101                                         <li>New <a href="format.html#def_CUESHEET">CUESHEET</a> metadata block for storing CD TOC and index point information.  Now a CD can be completely backed up to a single FLAC file for archival.</li>
1102                                         <li><a href="http://www.replaygain.org/">ReplayGain</a> support.</li>
1103                                         <li>Better compression of 24-bit files.</li>
1104                                         <li>More complete AIFF support.</li>
1105                                         <li>3DNow! optimizations enabled by default.</li>
1106                                         <li>Complete MSVC build system with .dsp projects for everything, which can build both static libs and DLLs, and in debug or release mode, all in the same source tree.</li>
1107                                 </ul>
1108                                 <span class="commandname">flac</span>:
1109                                 <ul>
1110                                         <li>Can now decode FLAC to AIFF; new <span class="argument">--force-aiff-format</span> option.</li>
1111                                         <li>New <span class="argument">--cuesheet</span> option for reading and storing a cuesheet when encoding a whole CD.  Automatically creates seek points for track and index points unless <span class="argument">--no-cued-seekpoints</span> is used.</li>
1112                                         <li>New <span class="argument">--replay-gain</span> option for calculating ReplayGain values and storing them as tags.</li>
1113                                         <li>New <span class="argument">--until</span> option complements <span class="argument">--skip</span> to stop decoding at a specified point in the stream.</li>
1114                                         <li><span class="argument">--skip</span> and <span class="argument">--until</span> now also accept mm:ss.ss format.</li>
1115                                         <li>New <span class="argument">-S #s</span> flavor to specify seekpoints every '#' number of seconds.</li>
1116                                         <li><span class="commandname">flac</span> now defaults to <span class="argument">-S 10s</span> instead of <span class="argument">-S 100x</span> for the seek table.</li>
1117                                         <li><span class="commandname">flac</span> now adds a 4k PADDING block by default (turn off with <span class="argument">--no-padding</span>).</li>
1118                                         <li>Fixed a bug with --skip and AIFF-to-FLAC encoding.</li>
1119                                         <li>Fixed a bug where decoding a FLAC file whose total_samples==0 in the STREAMINFO would corrupt the WAVE header.</li>
1120                                 </ul>
1121                                 <span class="commandname">metaflac</span>:
1122                                 <ul>
1123                                         <li>New <span class="argument">--import-cuesheet-from</span> option for reading and storing a cuesheet to a FLAC-encoded CD.  Automatically creates seek points for track and index points unless <span class="argument">--no-cued-seekpoints</span> is used.</li>
1124                                         <li>New <span class="argument">--export-cuesheet-to</span> option for writing a cuesheet from a FLAC file for use with CD authoring software.</li>
1125                                         <li>New <span class="argument">--add-replay-gain</span> option for calculating ReplayGain values and storing them as tags.</li>
1126                                         <li>New <span class="argument">--add-seekpoint</span> option to add seekpoints to an existing FLAC file.  Includes new <span class="argument">--add-seekpoint=#s</span> flavor to add seekpoints every '#' number of seconds.</li>
1127                                 </ul>
1128                                 XMMS plugin:
1129                                 <ul>
1130                                         <li>Configurable sample resolution conversion with dither.</li>
1131                                         <li>ReplayGain support with customizable noise shaping, pre-amp, and optional hard limiter.</li>
1132                                         <li>New Vorbis comment editor.</li>
1133                                         <li>File info now works.</li>
1134                                         <li>Bitrate now shows the smoothed instantaneous bitrate.</li>
1135                                         <li>Uses the ARTIST tag if there is no PERFORMER tag.</li>
1136                                 </ul>
1137                                 Winamp2 plugin:
1138                                 <ul>
1139                                         <li>Configurable sample resolution conversion with dither.</li>
1140                                         <li>ReplayGain support with customizable noise shaping, pre-amp, and optional hard limiter.</li>
1141                                         <li>File info now works.</li>
1142                                         <li>Uses the ARTIST tag if there is no PERFORMER tag.</li>
1143                                 </ul>
1144                                 Libraries (developers take note!):
1145                                 <ul>
1146                                         <li>All code and tests are instrumented for Valgrind.  All tests run Valgrind-clean, meaning no memory leaks or buffer over/under-runs.</li>
1147                                         <li>Separate 64-bit datapath through the filter in <span class="commandname">libFLAC</span> for better compression of &gt;16 bps files.</li>
1148                                         <li><span class="code">FLAC__metadata_object_new(FLAC__METADATA_TYPE_VORBIS_COMMENT)</span> now sets the vendor string.</li>
1149                                         <li>The documentation on the usage of <span class="code">FLAC::Iterator::get_block()</span> in <span class="commandname">libFLAC++</span> has an important correction.  If you use this class make sure to read <a href="api/group__flacpp__metadata__level2.html">this</a>.</li>
1150                                 </ul>
1151                         </li>
1152                 </ul>
1153                 <br />
1154
1155                 <a name="flac_1_0_4"><b>FLAC 1.0.4</b> (24-Sep-2002)</a>
1156
1157                 <br />
1158                 <ul>
1159                         <li>
1160                                 Plugins:
1161                                 <ul>
1162                                         <li>Support for Vorbis comments, ID3 v1 and v2 tags.</li>
1163                                         <li>Configurable title formatting and charset conversion in XMMS plugin.</li>
1164                                         <li>Support for 8- and 24-bit FLAC files.  There is a compile-time option for raw 24-bit output or 24bps-to-16bps linear dithering (the default).</li>
1165                                 </ul>
1166                                 <span class="commandname">flac</span>:
1167                                 <ul>
1168                                         <li>Improved option parser (now uses getopt).</li>
1169                                         <li>AIFF input support (thanks to Brady Patterson).</li>
1170                                         <li>Small decoder speedup.</li>
1171                                         <li><span class="argument">--sector-align</span> now supported for raw input files.</li>
1172                                         <li>New -T, --tag options for adding Vorbis comments while encoding.</li>
1173                                         <li>New --serial-number option for use with --ogg.</li>
1174                                         <li>Automatically writes vendor string in Vorbis comments.</li>
1175                                         <li>Drastically reduced memory requirements.</li>
1176                                         <li>Fixed bug where extra fmt/data chunks that were supposed to be skipped were not getting skipped.</li>
1177                                         <li>Fixed bug in granulepos setting for Ogg FLAC streams.</li>
1178                                         <li>Fixed memory leak when encoding multiple files with -V.</li>
1179                                 </ul>
1180                                 <span class="commandname">metaflac</span>:
1181                                 <ul>
1182                                         <li>UTF-8 support in Vorbis comments.</li>
1183                                         <li>New --import-vc-from and --export-vc-to commands for importing/exporting Vorbis comments from/to a file.  For example, the following can be used to copy tags back and forth:<br />
1184                                                 <span class="code">
1185                                                 metaflac --export-vc-to=- --no-utf8-convert file.flac | vorbiscomment --raw -w file.ogg<br />
1186                                                 vorbiscomment --raw -l file.ogg | metaflac --import-vc-from=- --no-utf8-convert file.flac<br />
1187                                                 </span>
1188                                         </li>
1189                                         <li>Fixed <a href="http://sourceforge.net/p/flac/bugs/54/">bug #606796</a> where <span class="commandname">metaflac</span> was failing on read-only files.</li>
1190                                 </ul>
1191                                 Libraries:
1192                                 <ul>
1193                                         <li>All APIs now meticulously documented via Doxygen.  <a href="api/index.html">See here</a>.</li>
1194                                         <li>New <span class="commandname">libOggFLAC</span> and <span class="commandname">libOggFLAC++</span> libraries.  These wrap around <span class="commandname">libFLAC</span> to provide encoding and decoding of Ogg FLAC streams, providing interfaces similar to the ones of the native FLAC libraries.  These are also documented via Doxygen.</li>
1195                                         <li>New FLAC__SeekableStreamEncoder and FLAC__FileEncoder in <span class="commandname">libFLAC</span> simplify common encoding tasks.</li>
1196                                         <li>New verify mode in all encoders.</li>
1197                                         <li>FLAC__stream_encoder_finish() now resets the defaults just like the stream decoders.</li>
1198                                         <li>Drastically reduced memory requirements of encoders and decoders.</li>
1199                                         <li>Encoder now automatically writes vendor string in VORBIS_COMMENT block.</li>
1200                                         <li>Encoding speedup of fixed predictors and MD5 speedup for 16bps mono/stereo signals on x86 (thanks to Miroslav Lichvar).</li>
1201                                         <li>Fixed bug in metadata interface where a bps in STREAMINFO > 16 was incorrectly parsed.</li>
1202                                         <li>Fixed bug where aborting stream decoder could cause infinite loop.</li>
1203                                         <li>Behavior change: simplified decoder *_process() commands.</li>
1204                                         <li>Behavior change: calling FLAC__stream_encoder_init() calls write callback once for "fLaC" signature and once for each metadata block.</li>
1205                                         <li>Behavior change: deprecated do_escape_coding and rice_parameter_search_distance in encoder.</li>
1206                                 </ul>
1207                         </li>
1208                 </ul>
1209
1210                 <br />
1211
1212                 <a name="flac_1_0_3"><b>FLAC 1.0.3</b> (03-Jul-2002)</a>
1213
1214                 <br />
1215
1216                 <ul>
1217                         <li>
1218                                 New features:
1219                                 <ul>
1220                                         <li>24-bit input support restored in <span class="commandname">flac</span>.</li>
1221                                         <li>Decoder speedup in <span class="commandname">libFLAC</span>, which is directly passed on to the command-line decoder and plugins.</li>
1222                                         <li>New <span class="argument">-F</span> option to <span class="commandname">flac</span> to continue decoding in spite of errors.</li>
1223                                         <li>Correctly set granulepos in Ogg packets so seeking Ogg FLAC streams will be easier.</li>
1224                                         <li>New <a href="format.html#metadata_block_vorbis_comment">VORBIS_COMMENT</a> metadata block for tagging with Vorbis-style comments.</li>
1225                                         <li>Vastly improved <span class="commandname">metaflac</span>, now with many editing and tagging options.</li>
1226                                         <li>Partial id3v1 support in Winamp plugins.</li>
1227                                         <li>Updated Winamp 3 plugin.</li>
1228                                         <li>Note: new semantics for -P option in <span class="commandname">flac</span>.</li>
1229                                         <li>Note: removed -R option in <span class="commandname">flac</span>.</li>
1230                                 </ul>
1231                                 New library features:
1232                                 <ul>
1233                                         <li>Previously mentioned decoder speedup in <span class="commandname">libFLAC</span>.</li>
1234                                         <li>New metadata interface to <span class="commandname">libFLAC</span> for manipulating metadata in FLAC files.</li>
1235                                         <li>New <span class="commandname">libFLAC++</span> API, an object wrapper around <span class="commandname">libFLAC</span>.</li>
1236                                         <li>New <a href="format.html#metadata_block_vorbis_comment">VORBIS_COMMENT</a> metadata block for tagging with Vorbis-style comments.</li>
1237                                         <li>Customizable metadata filtering by type in decoders.</li>
1238                                         <li>Stream encoder can take an arbitrary list of metadata blocks, instead of just one SEEKTABLE and/or PADDING block.</li>
1239                                 </ul>
1240                                 Bugs fixed:
1241                                 <ul>
1242                                         <li>Fixed bug with using pipes under Windows.</li>
1243                                         <li>Fixed several bugs in the plugins and made them more robust in general.</li>
1244                                         <li>Fixed bug in <span class="commandname">flac</span> where decoding to WAVE of a FLAC file with 0 for total_samples in the STREAMINFO block yielded a WAVE chunk of 0 size.</li>
1245                                         <li>Fixed bug in Ogg packet numbering.</li>
1246                                 </ul>
1247                         </li>
1248                 </ul>
1249
1250                 <br />
1251
1252                 <a name="flac_1_0_2"><b>FLAC 1.0.2</b> (03-Dec-2001)</a>
1253
1254                 <br />
1255                 <ul>
1256                         <li>
1257                                 This release is only to fix a bug that was causing some of the plugins to crash sporadically.  It can also affect <span class="commandname">libFLAC</span> users that reuse one file decoder instance for multiple files
1258                         </li>
1259                 </ul>
1260                 <br />
1261
1262                 <a name="flac_1_0_1"><b>FLAC 1.0.1</b> (14-Nov-2001)</a>
1263
1264                 <br />
1265                 <ul>
1266                         <li>
1267                                 New features for users:
1268                                 <ul>
1269                                         <li>Support for Ogg-FLAC, i.e. <span class="commandname">flac</span> can now read and write FLAC streams using Ogg as the transport layer.</li>
1270                                         <li>New Winamp 3 plugin based on the Wasabi Beta 1 SDK.</li>
1271                                         <li>New utilities for adding FLAC support to the Monkey's Audio GUI (see <a href="documentation_tasks.html#monkey">how</a>).</li>
1272                                         <li>Mac OS X support.  The download area now contains an OS X binary release.</li>
1273                                         <li>Mingw32 support.</li>
1274                                         <li>Better handling of MS-specific 'fmt' chunks in WAVE files.</li>
1275                                 </ul>
1276                                 New features for developers:
1277                                 <ul>
1278                                         <li>Added a SeekableStreamDecoder layer between StreamDecoder and FileDecoder.  This makes it easier to use libFLAC in situations where files have been abstracted away.  See the latest <a href="api/index.html">documentation</a> for more.  The interface for the StreamDecoder and FileDecoder remain the same and are still binary-compatible with libFLAC 1.0.</li>
1279                                         <li>Drastically reduced the stack requirements of the encoder.</li>
1280                                 </ul>
1281                                 Bug fixes:
1282                                 <ul>
1283                                         <li>Fixed a serious bug with <span class="commandname">flac</span> and raw input where the encoder was trying to rewind when it shouldn't, which would add 12 junk samples to the encoded file.  This was not present in WAVE encoding.</li>
1284                                         <li>Fixed a minor bug in <span class="commandname">libFLAC</span> with setting the file name to stdin on a file decoder.</li>
1285                                         <li>Fixed a minor bug in <span class="commandname">libFLAC</span> where multiple calls to setting the file name on a file decoder caused leaked memory.</li>
1286                                         <li>Fixed a minor bug in <span class="commandname">metaflac</span>, now correctly skips an id3v2 tag if present.</li>
1287                                         <li>Fixed a minor bug in <span class="commandname">metaflac</span>, now correctly skips long metadata blocks.</li>
1288                                 </ul>
1289                         </li>
1290                 </ul>
1291
1292                 <br />
1293
1294                 <a name="flac_1_0"><b>FLAC 1.0</b> (20-Jul-2001)</a>
1295
1296                 <br />
1297                 <ul>
1298                         <li>
1299                                 It's finally here.  There are a few new features but mostly it is minor bug fixes since 0.10:
1300                                 <ul>
1301                                         <li>New '--sector-align' option to <span class="commandname">flac</span> which aligns a group of encoded files on CD audio sector boundaries.</li>
1302                                         <li>New '--output-prefix' option to <span class="commandname">flac</span> to allow the user to prepend a prefix to all output filenames (useful, for example, for encoding/decoding to a different directory).</li>
1303                                         <li>Better WAVE autodetection (doesn't rely on ungetc() anymore).</li>
1304                                         <li>Cleaner one-line encoding/decoding stats.</li>
1305                                         <li>Changes to the libFLAC interface and type names to make binary compatibility easier to maintain in the future.</li>
1306                                         <li>New '--sse-os' option to 'configure' to enable faster SSE-based routines.</li>
1307                                         <li>Another (hopefully last) fix to the Winamp 2 plugin.</li>
1308                                         <li>Slightly improved Rice parameter estimation.</li>
1309                                         <li>Bug fixes for some very rare corner cases when encoding.</li>
1310                                 </ul>
1311                         </li>
1312                 </ul>
1313                 <br />
1314
1315                 <a name="flac_0_10"><b>FLAC 0.10</b> (07-Jun-2001)</a>
1316
1317                 <br />
1318                 <ul>
1319                         <li>
1320                                 This is probably the final beta.  There have been many improvements in the last two months:
1321                                 <ul>
1322                                         <li>Both the encoder and decoder have been significantly sped up.  Aside from C improvements, the code base now has an assembly infrastructure that allows assembly routines for different architectures to be easily integrated.  Many key routines have now have faster IA-32 implementations (thanks to Miroslav).</li>
1323                                         <li>A new metadata block <a href="format.html#def_SEEKTABLE">SEEKTABLE</a> has been defined to hold an arbitrary number of seek points, which speeds up seeking within a stream.</li>
1324                                         <li><span class="commandname">flac</span> now has a command-line usage similar to 'gzip'; make sure to see the latest <a href="documentation.html">documentation</a> for the new usage.  It also attempts to preserve the input file's timestamp and permissions.</li>
1325                                         <li>The -# options in <span class="commandname">flac</span> have been tweaked to yield the best compression-to-encode-time ratios.  The new default is -5.</li>
1326                                         <li><span class="commandname">flac</span> can now usually autodetect WAVE files when encoding so that -fw is usually not needed when encoding from stdin.</li>
1327                                         <li>The WAVE reader in <span class="commandname">flac</span> now just ignores (with a warning) unsupported sub-chunks instead of aborting with an error.</li>
1328                                         <li>Added an option '--delete-input-file' to <span class="commandname">flac</span> which automatically deletes the input after a successful encode/decode.</li>
1329                                         <li>Added an option '-o' to <span class="commandname">flac</span> to force the output file name (the old usage of "flac - outputfilename" is no longer supported).</li>
1330                                         <li>Changed the XMMS plugin to send smaller chunks of samples (now 512) so that visualization is not slow.</li>
1331                                         <li>Fixed a bug in the stream decoder where the decoded samples counter got corrupted after a seek.</li>
1332                                 </ul>
1333
1334                         </li>
1335                 </ul>
1336                 <br />
1337
1338                 <a name="flac_0_9"><b>FLAC 0.9</b> (31-Mar-2001)</a>
1339
1340                 <br />
1341                 <ul>
1342                         <li>
1343                                 Bug fixes and some new features:
1344                                 <ul>
1345                                         <li>FLAC's sync code has been lengthened to 14 bits from 9 bits.  This should enable a faster and more robust synchronization mechanism.</li>
1346                                         <li>Two reserved bits were added to the frame header.</li>
1347                                         <li>A CRC-16 was added to the FLAC frame footer, and the decoder now does frame integrity checking based on the CRC.</li>
1348                                         <li>The format now includes a new subframe field to indicate when a subblock has one or more 0 LSBs for all samples.  This increases compression on some kinds of data.</li>
1349                                         <li>Added two options to the analysis mode, one for including the residual signal in the analysis file, and one for generating gnuplot files of each subframe's residual distribution with some statistics.  See the latest <a href="documentation.html#analysis_options">documentation</a>.</li>
1350                                         <li>XMMS plugin now supports 8-bit files.</li>
1351                                         <li>Fixed a bug in the Winamp2 plugin where the audio sounded garbled.</li>
1352                                         <li>Fixed a bug in the Winamp2 plugin where Winamp would hang sporadically at the end of a track (c.f. <a href="http://sourceforge.net/projects/flac/&amp;atid=113478">bug #231197</a>).</li>
1353                                 </ul>
1354
1355                         </li>
1356                 </ul>
1357
1358                 <br />
1359
1360                 <a name="flac_0_8"><b>FLAC 0.8</b> (05-Mar-2001)</a>
1361
1362                 <br />
1363                 <ul>
1364                         <li>
1365                                 Changes since 0.7:
1366                                 <ul>
1367                                         <li>Created a new utility called <span class="commandname">metaflac</span>.  It is a metadata editor for .flac files.  Right now it just lists the contents of the metadata blocks but eventually it will allow update/insertion/deletion.</li>
1368                                         <li>Added two new metadata blocks: PADDING which has an obvious function, and APPLICATION, which is meant to be open to third party applications.  See the <a href="format.html#def_APPLICATION">latest format docs</a> for more info, or the new <a href="id.html">id registration page</a>.</li>
1369                                         <li>Added a <span class="argument">-P</span> option to <span class="commandname">flac</span> to reserve a PADDING block when encoding.</li>
1370                                         <li>Added support for 24-bit files to <span class="commandname">flac</span> (the FLAC format always supported it).</li>
1371                                         <li>Started the Winamp3 plugin.</li>
1372                                         <li>Greatly expanded the test suite, adding more streams (24-bit streams, noise streams, non-audio streams, more patterns) and more option combinations to the encoder.  The test suite runs about 30 streams and over 5000 encodings now.</li>
1373                                         <li>Fixed a bug in <span class="commandname">libFLAC</span> that happened when using an exhaustive LPC coefficient quantization search with 8 bps input.</li>
1374                                         <li>Fixed a bug in <span class="commandname">libFLAC</span> where the error estimation in the fixed predictor could overflow.</li>
1375                                         <li>Fixed a bug in <span class="commandname">libFLAC</span> where LPC was attempted even when the autocorrelation coefficients implied it wouldn't help.</li>
1376                                         <li>Reworked the LPC coefficient quantizer, which also fixed another bug that might occur in rare cases.</li>
1377                                         <li>Really fixed the '-V overflow' bug (c.f. <a href="http://sourceforge.net/p/flac/bugs/5/">bug #231976</a>).</li>
1378                                         <li>Fixed a bug in <span class="commandname">flac</span> related to the decode buffer sizing.</li>
1379                                 </ul>
1380                                 FLAC is very close to being ready for an official release.  The only known problems left are with the Winamp plugins, which should be fixed soon, and pipes with MSVC.
1381                         </li>
1382                 </ul>
1383                 <br />
1384
1385                 <a name="flac_0_7"><b>FLAC 0.7</b> (12-Feb-2001)</a>
1386
1387                 <br />
1388
1389                 <ul>
1390                         <li>
1391                                 Changes:
1392                                 <ul>
1393                                         <li>Fixed a bug that happened when both -fr and --seek were used at the same time.</li>
1394                                         <li>Fixed a bug with -p (c.f. <a href="http://sourceforge.net/p/flac/bugs/1/">bug #230992</a>).</li>
1395                                         <li>Fixed a bug that happened when using large (&gt;32K) blocksizes and -V (c.f. <a href="http://sourceforge.net/p/flac/bugs/5/">bug #231976</a>).</li>
1396                                         <li>Fixed a bug where encoder was double-closing a file.</li>
1397                                         <li>Expanded the test suite.</li>
1398                                         <li>Added more optimization flags for gcc, which should speed up flac.</li>
1399                                 </ul>
1400                         </li>
1401                 </ul>
1402                 <br />
1403
1404                 <a name="flac_0_6"><b>FLAC 0.6</b> (28-Jan-2001)</a>
1405
1406                 <br />
1407                 <ul>
1408                         <li>
1409                                 The encoder is now much faster.  The -m option has been sped up by 4x and -r improved, meaning that in the default compression mode (-6), encoding should be at least 3 times faster.  Other changes:
1410                                 <ul>
1411                                         <li>Some bugs related to <span class="commandname">flac</span> and pipes were fixed</li>
1412                                         <li>A "loose mid-side" (<span class="argument">-M</span>) option to the encoder has been added, which adaptively switches between independent and mid-side coding, instead of the exhaustive search that <span class="argument">-m</span> does.</li>
1413                                         <li>An analyze mode (<span class="argument">-a</span>) has been added to <span class="commandname">flac</span>.  This is useful mainly for developers; currently it will dump info about each frame and subframe to a file.  It's a text file in a format that can be easily processed by scripts; a separate analysis program is in the works.</li>
1414                                         <li>The source now has an autoconf/libtool-based build system.  This should allow the source to build "out-of-the-box" on many more platforms.</li>
1415                                 </ul>
1416                         </li>
1417                 </ul>
1418                 <br />
1419
1420                 <a name="flac_0_5"><b>FLAC 0.5</b> (15-Jan-2001)</a>
1421
1422                 <br />
1423                 <ul>
1424                         <li>
1425                                 This is the first beta version of FLAC.  Being beta, there will be no changes to the format that will break older streams, unless a serious bug involving the format is found.  What this means is that, barring such a bug, streams created with 0.5 will be decodable by future versions.  This version also includes some new features:
1426                                 <ul>
1427                                         <li>An <a href="http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html">MD5 signature</a> of the unencoded audio is computed during encoding, and stored in the Encoding metadata block in the stream header.  When decoding, <span class="commandname">flac</span> will now compute the MD5 signature of the decoded data and compare it against the signature in the stream header.</li>
1428                                         <li>A test mode (<span class="argument">-t</span>) has been added to <span class="commandname">flac</span>.  It works like decode mode but doesn't write an output file.</li>
1429                                 </ul>
1430                         </li>
1431                 </ul>
1432                 <br />
1433
1434                 <a name="flac_0_4"><b>FLAC 0.4</b> (23-Dec-2000)</a>
1435
1436                 <br />
1437                 <ul>
1438                         <li>This version fixes a bug in the constant subframe detection.  More importantly, a verify option (-V) has been added to <span class="commandname">flac</span> that verifies the encoding process.  With this option turned on, <span class="commandname">flac</span> will create a parallel decoder while encoding to make sure that the encoded output decodes to exactly match the original input.  In this way, any unknown bug in the encoder will be caught and <span class="commandname">flac</span> will abort with an error message.</li>
1439                 </ul>
1440
1441
1442
1443         </div>
1444         <div class="box_footer"></div>
1445 </div>
1446
1447
1448 <div class="copyright">
1449         <!-- @@@ oh so hacky -->
1450         <table>
1451                 <tr>
1452                         <td align="left">
1453                                 Copyright (c) 2004-2009  Josh Coalson
1454                                 <br/>
1455                                 Copyright (c) 2011-2016  Xiph.Org Foundation
1456                         </td>
1457                         <td width="1%" align="right">
1458                                 <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>
1459                         </td>
1460                 </tr>
1461         </table>
1462 </div>
1463
1464 </body>
1465 </html>