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 xmlns="http://www.w3.org/1999/xhtml"> 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 <a href="index.html">home</a> | 30 <a href="faq.html">faq</a> | 31 <a href="documentation.html">documentation</a> | 32 <a href="developers.html">developers</a> | 33 changelog | 34 <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>.) Particularly 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.3"><b>FLAC 1.3.3</b> (4-Augs-2019)</a> 48 49 <br /> 50 51 <ul> 52 <li> 53 General: 54 <ul> 55 <li>Fix CPU detection (Janne Hyvärinen).</li> 56 <li>Switch from unsigned types to uint32_t (erikd).</li> 57 <li>CppCheck fixes (erikd).</li> 58 <li>Improve SIMD decoding of 24 bit files (lvqcl).</li> 59 <li>POWER* amnd POWER9 improvements (Anton Blanchard).</li> 60 <li>More tests.</li> 61 </ul> 62 </li> 63 <li> 64 FLAC format: 65 <ul> 66 <li>(none)</li> 67 </ul> 68 </li> 69 <li> 70 Ogg FLAC format: 71 <ul> 72 <li>(none)</li> 73 </ul> 74 </li> 75 <li> 76 flac: 77 <ul> 78 <li>When converting to WAV, use WAVEFORMATEXTENSIBLE when bits per second is not 8 or 16 (erikd).</li> 79 <li>Fix --output-prefix with input-files in sub-directories (orbea).</li> 80 </ul> 81 </li> 82 <li> 83 metaflac: 84 <ul> 85 <li>(none)</li> 86 </ul> 87 </li> 88 <li> 89 plugins: 90 <ul> 91 <li>(none)</li> 92 </ul> 93 </li> 94 <li> 95 build system: 96 <ul> 97 <li>Cmake support (Vitaliy Kirsanov, evpobr).</li> 98 <li>Visual Studio updates (Janne Hyvärinen).</li> 99 <li>Fix for MSVC when UNICODE is enabled (lvqcl).</li> 100 <li>Fix for OpenBSD/i386 (Christian Weisgerber).</li> 101 </ul> 102 </li> 103 104 <li> 105 documentation: 106 <ul> 107 <li>(none)</li> 108 </ul> 109 </li> 110 <li> 111 libraries: 112 <ul> 113 <li>(none).</li> 114 </ul> 115 </li> 116 <li> 117 Interface changes: 118 <ul> 119 <li> 120 libFLAC: 121 <ul> 122 <li>(none)</li> 123 </ul> 124 </li> 125 <li> 126 libFLAC++: 127 <ul> 128 <li>(none)</li> 129 </ul> 130 </li> 131 </ul> 132 </li> 133 </ul> 134 135 <br /> 136 137 <a name="flac_1_3_2"><b>FLAC 1.3.2</b> (01-Jan-2017)</a> 138 139 <br /> 140 141 <ul> 142 <li> 143 General: 144 <ul> 145 <li>Fix undefined behaviour using GCC/Clang UBSAN (erikd).</li> 146 <li>General hardening via fuzz testing with AFL (erikd and others).</li> 147 <li>General code improvements (lvqcl, erikd and others).</li> 148 <li>Add FLAC in MP4 specification docs (Ralph Giles).</li> 149 <li>MSVS build cleanups (lvqcl).</li> 150 <li>Fix some cppcheck warnings (erikd).</li> 151 <li>Assume all currently used OSes support SSE2.</li> 152 </ul> 153 </li> 154 <li> 155 FLAC format: 156 <ul> 157 <li>(none)</li> 158 </ul> 159 </li> 160 <li> 161 Ogg FLAC format: 162 <ul> 163 <li>(none)</li> 164 </ul> 165 </li> 166 <li> 167 flac: 168 <ul> 169 <li>Fix potential infinite loop on flac-to-flac conversion (erikd).</li> 170 <li>Add WAVEFORMATEXTENSIBLE to WAV (as needed) when decoding (lvqcl).</li> 171 <li>Only write vorbis-comments if they are non-empty.</li> 172 <li>Error out if decoding RAW with bits != (8|16|24).</li> 173 </ul> 174 </li> 175 <li> 176 metaflac: 177 <ul> 178 <li>Add --scan-replay-gain option.</li> 179 </ul> 180 </li> 181 <li> 182 plugins: 183 <ul> 184 <li>(none)</li> 185 </ul> 186 </li> 187 <li> 188 build system: 189 <ul> 190 <li>Fixes for MSVC and Makefile.lite build systems.</li> 191 </ul> 192 </li> 193 194 <li> 195 documentation: 196 <ul> 197 <li>(none)</li> 198 </ul> 199 </li> 200 <li> 201 libraries: 202 <ul> 203 <li>CPU detection cleanup and fixes (Julian Calaby, erikd and lvqcl).</li> 204 <li>Fix two stream decoder bugs (Max Kellermann).</li> 205 <li>Fix a NULL dereference bug (on a malformed file).</li> 206 <li>Changed the LPC order guess for a slight compression improvement, particularly for classical music (Martijn van Beurden).</li> 207 <li>Improved encoding speed on older Intel CPUs.</li> 208 <li>Fixed a seeking bug when decoding certain files (Miroslav Lichvar).</li> 209 <li>Put an upper bound (32768) on the number of seek points.</li> 210 <li>Fix potential memory leaks.</li> 211 <li>Support 64bit brword/bwword allowing FLAC__BYTES_PER_WORD to be set to 8 (disabled by default).</li> 212 <li>Fix an out-of-bounds heap read.</li> 213 <li>Win32: Only use large buffers when writing to disk.</li> 214 </ul> 215 </li> 216 <li> 217 Interface changes: 218 <ul> 219 <li> 220 libFLAC: 221 <ul> 222 <li>(none)</li> 223 </ul> 224 </li> 225 <li> 226 libFLAC++: 227 <ul> 228 <li>(none)</li> 229 </ul> 230 </li> 231 </ul> 232 </li> 233 </ul> 234 235 <br /> 236 237 <a name="flac_1_3_1"><b>FLAC 1.3.1</b> (25-Nov-2014)</a> 238 239 <br /> 240 241 <ul> 242 <li> 243 General: 244 <ul> 245 <li>Improved decoding efficiency of all bit depths but especially so for 24 bits for IA32 architecture (lvqcl and Miroslav Lichvar).</li> 246 <li>Faster encoding using SSE and AVX (lvqcl).</li> 247 <li>Fixed bartlett, bartlett_hann and triangle functions.</li> 248 <li>New apodization functions partial_tukey and punchout_tukey for improved compression (Martijn van Beurden).</li> 249 <li>Retuned compression presets to incorporate new apodization functions (Martijn van Beurden).</li> 250 <li>Fix -Wcast-align warnings on armhf architecture (Erik de Castro Lopo).</li> 251 </ul> 252 </li> 253 <li> 254 FLAC format: 255 <ul> 256 <li>(none)</li> 257 </ul> 258 </li> 259 <li> 260 Ogg FLAC format: 261 <ul> 262 <li>(none)</li> 263 </ul> 264 </li> 265 <li> 266 flac: 267 <ul> 268 <li>Help output documentation improvements.</li> 269 <li>I/O buffering improvements on Windows to reduce disk fragmentation when writing files.</li> 270 <li>Only write vorbis-comments if they are non-empty.</li> 271 </ul> 272 </li> 273 <li> 274 metaflac: 275 <ul> 276 <li>(none)</li> 277 </ul> 278 </li> 279 <li> 280 plugins: 281 <ul> 282 <li>Fix symbol visibility in XMMS plugin.</li> 283 </ul> 284 </li> 285 <li> 286 build system: 287 <ul> 288 <li>Many fixes and improvements across all the build systems.</li> 289 </ul> 290 </li> 291 292 <li> 293 documentation: 294 <ul> 295 <li>Document new <a href="documentation_tools_flac.html#flac_options_apodization">apodization windows</a>.</li> 296 </ul> 297 </li> 298 <li> 299 libraries: 300 <ul> 301 <li>Fix CVE-2014-9028 (heap write overflow) and CVE-2014-8962 (heap read overflow) (Erik de Castro Lopo).</li> 302 </ul> 303 </li> 304 <li> 305 Interface changes: 306 <ul> 307 <li> 308 libFLAC: 309 <ul> 310 <li>(none)</li> 311 </ul> 312 </li> 313 <li> 314 libFLAC++: 315 <ul> 316 <li>(none)</li> 317 </ul> 318 </li> 319 </ul> 320 </li> 321 </ul> 322 323 <br /> 324 325 <a name="flac_1_3_0"><b>FLAC 1.3.0</b> (26-May-2013)</a> 326 327 <br /> 328 329 <ul> 330 <li> 331 General: 332 <ul> 333 <li>Move development to Xiph.org <a href="http://git.xiph.org/?p=flac.git;a=summary">git repository</a>.</li> 334 <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> 335 <li>Support for the RF64 and Wave64 formats in <span class="commandname">flac</span> (see below).</li> 336 <li>Better handling of cuesheets with non-CD-DA sample rates.</li> 337 <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> 338 </ul> 339 </li> 340 <li> 341 FLAC format: 342 <ul> 343 <li>(none)</li> 344 </ul> 345 </li> 346 <li> 347 Ogg FLAC format: 348 <ul> 349 <li>(none)</li> 350 </ul> 351 </li> 352 <li> 353 flac: 354 <ul> 355 <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> 356 <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> 357 <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> 358 <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> 359 <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> 360 <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> 361 <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> 362 <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> 363 <li>Read and write appropriate channel masks for 6.1 and 7.1 surround input WAV files. Documentation was also updated.</li> 364 <li>Correct Wave64 GUIDs.</li> 365 <li>Support 56kHz to 192kHz gain analysis (patch from Earl Chew)</li> 366 <li>Add ability to handle unicode filenames on Windows (large set of patches from Janne Hyvärinen)</li> 367 </ul> 368 </li> 369 <li> 370 metaflac: 371 <ul> 372 <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> 373 </ul> 374 </li> 375 <li> 376 plugins: 377 <ul> 378 <li>Minor updates for XMMS plugin.</li> 379 <li>Winamp2 plugin was dropped because Nullsoft has provided native FLAC support since 2006.</li> 380 </ul> 381 </li> 382 <li> 383 build system: 384 <ul> 385 <li>Fixes for autotools (including <a href="http://sourceforge.net/p/flac/patches/28/">SF #1859664</a>).</li> 386 <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> 387 <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> 388 <li>Fixes for Sun Studio/Forte (<a href="http://sourceforge.net/p/flac/patches/22/">SF #1701960</a>).</li> 389 <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> 390 <li>Fixes for FreeBSD and OpenBSD.</li> 391 <li>Compile with GNU gcc _FORTIFY_SOURCE=2 and stack protection where those features are detected.</li> 392 <li>Enable a bunch of GCC compiler warnings and fix code that generates warnings.</li> 393 </ul> 394 </li> 395 396 <li> 397 documentation: 398 <ul> 399 <li>Document <span class="argument"><a href="documentation_tools_flac.html#flac_options_ignore_chunk_sizes">--ignore-chunk-sizes</a></span> 400 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> 401 option for <span class="commandname">flac</span>.</li> 402 </ul> 403 </li> 404 <li> 405 libraries: 406 <ul> 407 <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> 408 <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> 409 <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> 410 </ul> 411 </li> 412 <li> 413 Interface changes: 414 <ul> 415 <li> 416 libFLAC: 417 <ul> 418 <li><b>Added</b> FLAC__format_blocksize_is_subset()</li> 419 </ul> 420 </li> 421 <li> 422 libFLAC++: 423 <ul> 424 <li>Add a number of convenience methods.</li> 425 </ul> 426 </li> 427 </ul> 428 </li> 429 </ul> 430 431 <br /> 432 433 <a name="flac_1_2_1"><b>FLAC 1.2.1</b> (17-Sep-2007)</a> 434 435 <br /> 436 437 <ul> 438 <li> 439 General: 440 <ul> 441 <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> 442 </ul> 443 </li> 444 <li> 445 FLAC format: 446 <ul> 447 <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> 448 <li>The lead-out track number for non-CDDA cuesheets now must be 255.</li> 449 </ul> 450 </li> 451 <li> 452 Ogg FLAC format: 453 <ul> 454 <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> 455 </ul> 456 </li> 457 <li> 458 flac: 459 <ul> 460 <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> 461 <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> 462 <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> 463 <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> 464 <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> 465 <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> 466 </ul> 467 </li> 468 <li> 469 metaflac: 470 <ul> 471 <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> 472 <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> 473 </ul> 474 </li> 475 <li> 476 plugins: 477 <ul> 478 <li>(none)</li> 479 </ul> 480 </li> 481 <li> 482 build system: 483 <ul> 484 <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> 485 <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> 486 <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> 487 <li>OS X fixes (<a href="http://sourceforge.net/p/flac/patches/25/">SF #1786225</a>).</li> 488 <li>MinGW fixes (<a href="http://sourceforge.net/p/flac/bugs/264/">SF #1684879</a>).</li> 489 <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> 490 <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> 491 <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> 492 </ul> 493 </li> 494 <li> 495 documentation: 496 <ul> 497 <li>Added new <a href="documentation_tools_flac.html#tutorial">tutorial</a> section for <span class="commandname">flac</span>.</li> 498 <li>Added <a href="documentation_example_code.html">example code</a> section for using libFLAC/libFLAC++.</li> 499 </ul> 500 </li> 501 <li> 502 libraries: 503 <ul> 504 <li>libFLAC: Fixed very rare seek bug (<a href="http://sourceforge.net/p/flac/bugs/263/">SF #1684049</a>).</li> 505 <li>libFLAC: Fixed seek bug with Ogg FLAC and small streams (<a href="http://sourceforge.net/p/flac/bugs/301/">SF #1792172</a>).</li> 506 <li>libFLAC: 64-bit fixes (<a href="http://sourceforge.net/p/flac/bugs/299/">SF #1790872</a>).</li> 507 <li>libFLAC: Fix assembler code to be position independent.</li> 508 <li>libFLAC: Optimization of a number of inner loop functions.</li> 509 <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> 510 </ul> 511 </li> 512 <li> 513 Interface changes: 514 <ul> 515 <li> 516 libFLAC: 517 <ul> 518 <li><b>Added</b> FLAC__metadata_simple_iterator_is_last()</li> 519 <li><b>Added</b> FLAC__metadata_simple_iterator_get_block_offset()</li> 520 <li><b>Added</b> FLAC__metadata_simple_iterator_get_block_length()</li> 521 <li><b>Added</b> FLAC__metadata_simple_iterator_get_application_id()</li> 522 </ul> 523 </li> 524 <li> 525 libFLAC++: 526 <ul> 527 <li><b>Added</b> FLAC::Metadata::SimpleIterator::is_last()</li> 528 <li><b>Added</b> FLAC::Metadata::SimpleIterator::get_block_offset()</li> 529 <li><b>Added</b> FLAC::Metadata::SimpleIterator::get_block_length()</li> 530 <li><b>Added</b> FLAC::Metadata::SimpleIterator::get_application_id()</li> 531 </ul> 532 </li> 533 </ul> 534 </li> 535 </ul> 536 537 <br /> 538 539 <a name="flac_1_2_0"><b>FLAC 1.2.0</b> (23-Jul-2007)</a> 540 541 <br /> 542 543 <ul> 544 <li> 545 General: 546 <ul> 547 <li>Small encoding speedups for all modes.</li> 548 </ul> 549 </li> 550 <li> 551 FLAC format: 552 <ul> 553 <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> 554 </ul> 555 </li> 556 <li> 557 Ogg FLAC format: 558 <ul> 559 <li>(none)</li> 560 </ul> 561 </li> 562 <li> 563 flac: 564 <ul> 565 <li>Added runtime detection of SSE OS support for most operating systems.</li> 566 <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> 567 </ul> 568 </li> 569 <li> 570 metaflac: 571 <ul> 572 <li>(none)</li> 573 </ul> 574 </li> 575 <li> 576 plugins: 577 <ul> 578 <li>(none)</li> 579 </ul> 580 </li> 581 <li> 582 build system: 583 <ul> 584 <li>Added solution and project files for building with VC++ 2005.</li> 585 </ul> 586 </li> 587 <li> 588 libraries: 589 <ul> 590 <li>Added runtime detection of SSE OS support for most operating systems.</li> 591 <li>Fixed bug where invalid seek tables could cause some seeks to fail.</li> 592 <li>Added support for decoding the new residual coding method (RESIDUAL_CODING_METHOD_PARTITIONED_RICE2).</li> 593 </ul> 594 </li> 595 <li> 596 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): 597 <ul> 598 <li> 599 libFLAC: 600 <ul> 601 <li><b>Added</b> FLAC__format_sample_rate_is_subset()</li> 602 </ul> 603 </li> 604 <li> 605 libFLAC++: 606 <ul> 607 <li><b>Added</b> FLAC::Decoder::Stream::get_decode_position()</li> 608 </ul> 609 </li> 610 </ul> 611 </li> 612 </ul> 613 614 <br /> 615 616 <a name="flac_1_1_4"><b>FLAC 1.1.4</b> (13-Feb-2007)</a> 617 618 <br /> 619 620 <ul> 621 <li> 622 General: 623 <ul> 624 <li>Improved compression with no change to format or decrease in speed.</li> 625 <li>Encoding and decoding speedups for all modes. Encoding at -8 is twice as fast.</li> 626 </ul> 627 </li> 628 <li> 629 FLAC format: 630 <ul> 631 <li>(none)</li> 632 </ul> 633 </li> 634 <li> 635 Ogg FLAC format: 636 <ul> 637 <li>(none)</li> 638 </ul> 639 </li> 640 <li> 641 flac: 642 <ul> 643 <li>Improved compression with no change to format or decrease in speed.</li> 644 <li>Encoding and decoding speedups for all modes. Encoding at -8 is twice as fast.</li> 645 <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> 646 <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> 647 <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> 648 <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> 649 <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> 650 <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> 651 </ul> 652 </li> 653 <li> 654 metaflac: 655 <ul> 656 <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> 657 </ul> 658 </li> 659 <li> 660 plugins: 661 <ul> 662 <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> 663 </ul> 664 </li> 665 <li> 666 build system: 667 <ul> 668 <li>Fixed a makefile linkage bug with libogg (<a href="http://sourceforge.net/p/flac/bugs/239/">SF #1611414</a>).</li> 669 <li>Added pkg-config files for libFLAC and libFLAC++ (<a href="http://sourceforge.net/p/flac/patches/21/">SF #1647881</a>).</li> 670 <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> 671 </ul> 672 </li> 673 <li> 674 libraries: 675 <ul> 676 <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> 677 <li>Much faster Rice partition size estimation which greatly speeds encoding in higher modes.</li> 678 <li>Increased compression for all modes.</li> 679 <li>Reduced memory requirements for encoder and decoder.</li> 680 <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> 681 </ul> 682 </li> 683 <li> 684 Interface changes: 685 <ul> 686 <li> 687 libFLAC: 688 <ul> 689 <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> 690 </ul> 691 </li> 692 <li> 693 libFLAC++: 694 <ul> 695 <li>(none)</li> 696 </ul> 697 </li> 698 </ul> 699 </li> 700 </ul> 701 702 <br /> 703 704 <a name="flac_1_1_3"><b>FLAC 1.1.3</b> (27-Nov-2006)</a> 705 706 <br /> 707 708 <ul> 709 <li> 710 General: 711 <ul> 712 <li>Improved compression with no impact on format or decoding speed.</li> 713 <li>Much better recovery for corrupted files</li> 714 <li>Better multichannel support</li> 715 <li>Large file (>2GB) support everywhere</li> 716 <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> 717 <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> 718 <li>Support for new <tt>REPLAYGAIN_REFERENCE_LOUDNESS</tt> tag.</li> 719 <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> 720 <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> 721 </ul> 722 </li> 723 <li> 724 FLAC format: 725 <ul> 726 <li>New <span class="code"><a href="format.html#def_PICTURE">PICTURE</a></span> metadata block for storing things like cover art.</li> 727 <li>Speaker assignments and channel orders for 3-6 channels (see <a href="format.html#frame_header">frame header</a>).</li> 728 <li>Further restrictions on the <a href="format.html#subset">FLAC subset</a> when the sample rate is <=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> 729 </ul> 730 </li> 731 <li> 732 Ogg FLAC format: 733 <ul> 734 <li>(none)</li> 735 </ul> 736 </li> 737 <li> 738 flac: 739 <ul> 740 <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> 741 <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> 742 <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> 743 <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> 744 <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> 745 <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> 746 <li>Added a new option <span class="argument"><a href="documentation_tools_flac.html#flac_options_picture">--picture</a></span> for adding pictures.</li> 747 <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> 748 <li>Added support for encoding from non-compressed AIFF-C (<a href="http://sourceforge.net/p/flac/bugs/143/">SF #1090933</a>).</li> 749 <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> 750 <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> 751 <li>The default padding size is now 8K, or 64K if the input audio stream is more than 20 minutes long.</li> 752 <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> 753 <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> 754 <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> 755 <li>Fixed bugs with --sector-align and raw input files.</li> 756 <li>Fixed a bug printing out unknown AIFF subchunk names (<a href="http://sourceforge.net/p/flac/bugs/186/">SF #1267476</a>).</li> 757 <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> 758 <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> 759 <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> 760 <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> 761 <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> 762 </ul> 763 </li> 764 <li> 765 metaflac: 766 <ul> 767 <li>Added support for read-only operations on Ogg FLAC files.</li> 768 <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> 769 <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> 770 <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> 771 <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> 772 <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> 773 <li>Importing of non-CDDA-compliant cuesheets now issues a warning.</li> 774 <li>Removed the following deprecated tag editing options; you should use the new option names shown instead: 775 <ul> 776 <li>Removed <span class="argument">--show-vc-vendor</span>; use <span class="argument">--show-vendor-tag</span></li> 777 <li>Removed <span class="argument">--show-vc-field</span>; use <span class="argument">--show-tag</span></li> 778 <li>Removed <span class="argument">--remove-vc-all</span>; use <span class="argument">--remove-all-tags</span></li> 779 <li>Removed <span class="argument">--remove-vc-field</span>; use <span class="argument">--remove-tag</span></li> 780 <li>Removed <span class="argument">--remove-vc-firstfield</span>; use <span class="argument">--remove-first-tag</span></li> 781 <li>Removed <span class="argument">--set-vc-field</span>; use <span class="argument">--set-tag</span></li> 782 <li>Removed <span class="argument">--import-vc-from</span>; use <span class="argument">--import-tags-from</span></li> 783 <li>Removed <span class="argument">--export-vc-to</span>; use <span class="argument">--export-tags-to</span></li> 784 </ul> 785 </li> 786 <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> 787 </ul> 788 </li> 789 <li> 790 plugins: 791 <ul> 792 <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> 793 <li>Added ReplayGain info to file info box in XMMS plugin</li> 794 <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> 795 </ul> 796 </li> 797 <li> 798 build system: 799 <ul> 800 <li>Added support for building on OS/2 with EMX (<a href="http://sourceforge.net/p/flac/bugs/174/">SF #1229495</a>)</li> 801 <li>Added support for building with Borland C++ (<a href="http://sourceforge.net/p/flac/patches/17/">SF #1599018</a>)</li> 802 <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> 803 <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> 804 <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> 805 <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> 806 </ul> 807 </li> 808 <li> 809 libraries: 810 <ul> 811 <li>Merged libOggFLAC into libFLAC; both formats are now supported through the same API.</li> 812 <li>Merged libOggFLAC++ into libFLAC++; both formats are now supported through the same API.</li> 813 <li>libFLAC and libFLAC++: Simplified encoder setup with new <span class="argument">FLAC__stream_encoder_set_compression_level()</span> function.</li> 814 <li>libFLAC: Improved compression with no impact on FLAC format or decoding time by adding a windowing stage before LPC analysis.</li> 815 <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> 816 <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> 817 <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> 818 <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> 819 </ul> 820 </li> 821 <li> 822 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): 823 <ul> 824 <li> 825 all libraries; 826 <ul> 827 <li>Merged libOggFLAC into libFLAC; both formats are now supported through the same API.</li> 828 <li>Merged libOggFLAC++ into libFLAC++; both formats are now supported through the same API.</li> 829 <li>Merged seekable stream decoder and file decoder into the stream decoder.</li> 830 <li>Merged seekable stream encoder and file encoder into the stream encoder.</li> 831 <li>Added #defines for the API version number to make porting easier; see <tt>include/lib*FLAC*/export.h</tt>.</li> 832 </ul> 833 </li> 834 <li> 835 libFLAC: 836 <ul> 837 <li><b>Added</b> FLAC__stream_encoder_set_apodization()</li> 838 <li><b>Added</b> FLAC__stream_encoder_set_compression_level()</li> 839 <li><b>Added</b> FLAC__metadata_object_cuesheet_calculate_cddb_id()</li> 840 <li><b>Added</b> FLAC__metadata_get_cuesheet()</li> 841 <li><b>Added</b> FLAC__metadata_get_picture()</li> 842 <li><b>Added</b> FLAC__metadata_chain_read_ogg() and FLAC__metadata_chain_read_ogg_with_callbacks()</li> 843 <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> 844 <li><b>Changed</b> FLAC__StreamDecoderState: removed state FLAC__STREAM_DECODER_UNPARSEABLE_STREAM</li> 845 <li><b>Changed</b> FLAC__StreamDecoderErrorStatus: new error code FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM</li> 846 <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> 847 </ul> 848 </li> 849 <li> 850 libFLAC++: 851 <ul> 852 <li><b>Added</b> FLAC::Metadata::Picture</li> 853 <li><b>Added</b> FLAC::Encoder::Stream::set_apodization()</li> 854 <li><b>Added</b> FLAC::Encoder::Stream::set_compression_level()</li> 855 <li><b>Added</b> FLAC::Metadata::CueSheet::calculate_cddb_id()</li> 856 <li><b>Added</b> FLAC::Metadata::get_cuesheet()</li> 857 <li><b>Added</b> FLAC::Metadata::get_picture()</li> 858 <li><b>Changed</b> FLAC::Metadata::Chain::read() to accept a flag denoting Ogg FLAC input</li> 859 <li><b>Changed</b> FLAC::Decoder::Stream::finish() now returns a bool to signal an MD5 failure like FLAC__stream_decoder_finish() does.</li> 860 <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> 861 </ul> 862 </li> 863 <li> 864 libOggFLAC: 865 <ul> 866 <li>Merged into libFLAC.</li> 867 </ul> 868 </li> 869 <li> 870 libOggFLAC++: 871 <ul> 872 <li>Merged into libFLAC++.</li> 873 </ul> 874 </li> 875 </ul> 876 </li> 877 </ul> 878 879 <br /> 880 881 <a name="flac_1_1_2"><b>FLAC 1.1.2</b> (05-Feb-2005)</a> 882 883 <br /> 884 885 <ul> 886 <li> 887 General: 888 <ul> 889 <li>Sped up decoding by a few percent overall.</li> 890 <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> 891 <li>Fixed a decoding bug that could cause sync errors with some ID3v1-tagged FLAC files.</li> 892 <li>Added <a href="documentation_tools_metaflac.html#metaflac">HTML documentation for metaflac</a>.</li> 893 </ul> 894 </li> 895 <li> 896 FLAC format: 897 <ul> 898 <li>(none)</li> 899 </ul> 900 </li> 901 <li> 902 Ogg FLAC format: 903 <ul> 904 <li>(none)</li> 905 </ul> 906 </li> 907 <li> 908 flac: 909 <ul> 910 <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> 911 </ul> 912 </li> 913 <li> 914 metaflac: 915 <ul> 916 <li>(none)</li> 917 </ul> 918 </li> 919 <li> 920 plugins: 921 <ul> 922 <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> 923 </ul> 924 </li> 925 <li> 926 build system: 927 <ul> 928 <li>(none)</li> 929 </ul> 930 </li> 931 <li> 932 libraries: 933 <ul> 934 <li>libFLAC: Sped up Rice block decoding in the bitbuffer, resulting in decoding speed gains of a few percent.</li> 935 <li>libFLAC: Sped up encoding when not using LPC (i.e. <span class="code">max_lpc_order == 0</span>).</li> 936 <li>libFLAC: Trailing NUL characters maintained on Vorbis comment entries so they can be treated like C strings.</li> 937 <li>libFLAC: More FLAC tag (i.e. Vorbis comment) validation.</li> 938 <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> 939 <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> 940 </ul> 941 </li> 942 <li> 943 Interface changes: 944 <ul> 945 <li> 946 libFLAC: 947 <ul> 948 <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment entries for convenience.</li> 949 <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> 950 <li><b>Added</b> FLAC__format_vorbiscomment_entry_name_is_legal()</li> 951 <li><b>Added</b> FLAC__format_vorbiscomment_entry_value_is_legal()</li> 952 <li><b>Added</b> FLAC__format_vorbiscomment_entry_is_legal()</li> 953 <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()</li> 954 <li><b>Added</b> FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair()</li> 955 <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> 956 </ul> 957 </li> 958 <li> 959 libFLAC++: 960 <ul> 961 <li><b>Changed:</b> Metadata object interface now maintains a trailing NUL on Vorbis comment values for convenience.</li> 962 <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> 963 <li><b>Changed:</b> All Metadata objects' operator=() methods now return a reference to themselves.</li> 964 <li><b>Added</b> methods to FLAC::Metadata::VorbisComment::Entry for setting comment values from null-terminated strings: 965 <ul> 966 <li>Entry(const char *field)</li> 967 <li>Entry(const char *field_name, const char *field_value)</li> 968 <li>bool set_field(const char *field)</li> 969 <li>bool set_field_value(const char *field_value)</li> 970 </ul> 971 </li> 972 <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> 973 <li><b>Added</b> FLAC::Metadata::*::assign() to all Metadata objects.</li> 974 <li><b>Added</b> bool FLAC::Metadata::get_tags(const char *filename, VorbisComment &tags)</li> 975 </ul> 976 </li> 977 <li> 978 libOggFLAC: 979 <ul> 980 <li>(none)</li> 981 </ul> 982 </li> 983 <li> 984 libOggFLAC++: 985 <ul> 986 <li>(none)</li> 987 </ul> 988 </li> 989 </ul> 990 </li> 991 </ul> 992 993 <br /> 994 995 <a name="flac_1_1_1"><b>FLAC 1.1.1</b> (01-Oct-2004)</a> 996 997 <br /> 998 999 <ul> 1000 <li> 1001 General: 1002 <ul> 1003 <li>Ogg FLAC seeking now works</li> 1004 <li>New optimizations almost double the decoding speed on PowerPC (e.g. Mac G4/G5)</li> 1005 <li>A native OS X release thanks to updated Project Builder and autotools files</li> 1006 </ul> 1007 </li> 1008 <li> 1009 FLAC format: 1010 <ul> 1011 <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> 1012 </ul> 1013 </li> 1014 <li> 1015 Ogg FLAC format: 1016 <ul> 1017 <li>First official FLAC->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> 1018 </ul> 1019 </li> 1020 <li> 1021 flac: 1022 <ul> 1023 <li>Print an error when output file already exists instead of automatically overwriting.</li> 1024 <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> 1025 <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> 1026 <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> 1027 <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&st=11">this thread</a> for usage and caveats.</li> 1028 <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> 1029 <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> 1030 <li>Decoder no longer exits with an error when writing to stdout and the pipe is broken.</li> 1031 <li>Better explanation of common error messages.</li> 1032 <li>Default extension when writing AIFF files is .aif (before, it was .aiff).</li> 1033 <li>Write more common representation of SANE numbers in AIFF files.</li> 1034 <li>Bug fix: calculating ReplayGain on 48kHz streams.</li> 1035 <li>Bug fix: check for supported block alignments in WAVE files.</li> 1036 <li>Bug fix: "offset" field in AIFF SSND chunk properly handled.</li> 1037 <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/77/">#679166</a>: flac doesn't respect RIFF subchunk padding byte.</li> 1038 <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/90/">#828391</a>: --add-replay-gain segfaults.</li> 1039 <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/96/">#851155</a>: Can't seek to position in flac file.</li> 1040 <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/97/">#851756</a>: flac --skip --until reads entire file.</li> 1041 <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/100/">#877122</a>: problem parsing cuesheet with CATALOG entry.</li> 1042 <li>Bug fix: <a href="http://sourceforge.net/p/flac/bugs/104/">#896057</a>: parsing ISRC number from cuesheet.</li> 1043 </ul> 1044 </li> 1045 <li> 1046 metaflac: 1047 <ul> 1048 <li>Renamed the tag editing options as follows (the <span class="argument">...-vc-...</span> options still work but are deprecated): 1049 <ul> 1050 <li><span class="argument">--show-vc-vendor</span> becomes <span class="argument">--show-vendor-tag</span></li> 1051 <li><span class="argument">--show-vc-field</span> becomes <span class="argument">--show-tag</span></li> 1052 <li><span class="argument">--remove-vc-all</span> becomes <span class="argument">--remove-all-tags</span></li> 1053 <li><span class="argument">--remove-vc-field</span> becomes <span class="argument">--remove-tag</span></li> 1054 <li><span class="argument">--remove-vc-firstfield</span> becomes <span class="argument">--remove-first-tag</span></li> 1055 <li><span class="argument">--set-vc-field</span> becomes <span class="argument">--set-tag</span></li> 1056 <li><span class="argument">--import-vc-from</span> becomes <span class="argument">--import-tags-from</span></li> 1057 <li><span class="argument">--export-vc-to</span> becomes <span class="argument">--export-tags-to</span></li> 1058 </ul> 1059 </li> 1060 <li>Better explanation of common error messages.</li> 1061 <li>Bug fix: calculating ReplayGain on 48kHz streams.</li> 1062 <li>Bug fix: incorrect numbers when printing seek points.</li> 1063 </ul> 1064 </li> 1065 <li> 1066 plugins: 1067 <ul> 1068 <li>Speed optimization in ReplayGain synthesis.</li> 1069 <li>Speed optimization in XMMS playback.</li> 1070 <li>Support for big-endian architectures in XMMS plugin.</li> 1071 <li>Removed support for ID3 tags.</li> 1072 <li>Bug fix: make hard limiter default to off in XMMS plugin.</li> 1073 <li>Bug fix: stream length calculation bug in XMMS plugin, debian bug #200435</li> 1074 <li>Bug fix: small memory leak in XMMS plugin.</li> 1075 </ul> 1076 </li> 1077 <li> 1078 build system: 1079 <ul> 1080 <li><span class="code">ordinals.h</span> is now static, not a build-generated file anymore.</li> 1081 </ul> 1082 </li> 1083 <li> 1084 libraries: 1085 <ul> 1086 <li>libFLAC: PPC+Altivec optimizations of some decoder routines.</li> 1087 <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> 1088 <li>libFLAC: Bug fix: fixed seek routine where infinite loop could happen when seeking past end of stream.</li> 1089 <li>libFLAC, libFLAC++: added methods to skip single frames, useful for quickly finding frame boundaries (see interface changes below).</li> 1090 <li>libOggFLAC, libOggFLAC++: New seekable-stream and file encoder and decoder APIs to match native FLAC APIs (see interface changes below).</li> 1091 </ul> 1092 </li> 1093 <li> 1094 Interface changes: 1095 <ul> 1096 <li> 1097 libFLAC: 1098 <ul> 1099 <li><b>Added</b> FLAC__metadata_get_tags()</li> 1100 <li><b>Added</b> callback-based versions of metadata editing functions: 1101 <ul> 1102 <li>FLAC__metadata_chain_read_with_callbacks()</li> 1103 <li>FLAC__metadata_chain_write_with_callbacks()</li> 1104 <li>FLAC__metadata_chain_write_with_callbacks_and_tempfile()</li> 1105 <li>FLAC__metadata_chain_check_if_tempfile_needed()</li> 1106 </ul> 1107 </li> 1108 <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries: 1109 <ul> 1110 <li>FLAC__stream_decoder_skip_single_frame()</li> 1111 <li>FLAC__seekable_stream_decoder_skip_single_frame()</li> 1112 <li>FLAC__file_decoder_skip_single_frame()</li> 1113 </ul> 1114 </li> 1115 <li><b>Added</b> new required tell callback on seekable stream encoder: 1116 <ul> 1117 <li>FLAC__SeekableStreamEncoderTellStatus and FLAC__SeekableStreamEncoderTellStatusString[]</li> 1118 <li>FLAC__SeekableStreamEncoderTellCallback</li> 1119 <li>FLAC__seekable_stream_encoder_set_tell_callback()</li> 1120 </ul> 1121 </li> 1122 <li><b>Changed</b> FLAC__SeekableStreamEncoderState by adding FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR</li> 1123 <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li> 1124 <li><b>Deleted</b> erroneous and unimplemented FLAC__file_decoder_process_remaining_frames()</li> 1125 </ul> 1126 </li> 1127 <li> 1128 libFLAC++: 1129 <ul> 1130 <li><b>Added</b> FLAC::Metadata::get_tags()</li> 1131 <li><b>Added</b> decoder functions for skipping single frames, also useful for quickly finding frame boundaries: 1132 <ul> 1133 <li>FLAC::Decoder::Stream::skip_single_frame()</li> 1134 <li>FLAC::Decoder::SeekableStream::skip_single_frame()</li> 1135 <li>FLAC::Decoder::File::skip_single_frame()</li> 1136 </ul> 1137 </li> 1138 <li><b>Added</b> encoder functions for setting metadata: 1139 <ul> 1140 <li>FLAC::Encoder::Stream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li> 1141 <li>FLAC::Encoder::SeekableStream::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li> 1142 <li>FLAC::Encoder::File::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks)</li> 1143 </ul> 1144 </li> 1145 <li><b>Added</b> new required tell callback on seekable stream encoder: 1146 <ul> 1147 <li>pure virtual FLAC::Encoder::SeekableStream::tell_callback()</li> 1148 </ul> 1149 </li> 1150 <li><b>Changed</b> Tell callback is now required to initialize seekable stream encoder</li> 1151 <li><b>Deleted</b> the following methods: 1152 <ul> 1153 <li>FLAC::Decoder::Stream::State::resolved_as_cstring()</li> 1154 <li>FLAC::Encoder::Stream::State::resolved_as_cstring()</li> 1155 </ul> 1156 </li> 1157 </ul> 1158 </li> 1159 <li> 1160 libOggFLAC: 1161 <ul> 1162 <li><b>Added</b> OggFLAC__SeekableStreamDecoder interface</li> 1163 <li><b>Added</b> OggFLAC__FileDecoder interface</li> 1164 <li><b>Added</b> OggFLAC__SeekableStreamEncoder interface</li> 1165 <li><b>Added</b> OggFLAC__FileEncoder interface</li> 1166 <li><b>Added</b> OggFLAC__stream_decoder_get_resolved_state_string()</li> 1167 <li><b>Added</b> OggFLAC__stream_encoder_get_resolved_state_string()</li> 1168 <li><b>Added</b> OggFLAC__stream_encoder_set_metadata_callback()</li> 1169 <li><b>Changed</b> OggFLAC__StreamDecoderState by adding OggFLAC__STREAM_DECODER_END_OF_STREAM</li> 1170 </ul> 1171 </li> 1172 <li> 1173 libOggFLAC++: 1174 <ul> 1175 <li><b>Added</b> OggFLAC::Decoder::SeekableStream interface</li> 1176 <li><b>Added</b> OggFLAC::Decoder::File interface</li> 1177 <li><b>Added</b> OggFLAC::Encoder::SeekableStream interface</li> 1178 <li><b>Added</b> OggFLAC::Encoder::File interface</li> 1179 <li><b>Added</b> OggFLAC::Decoder::Stream::get_resolved_state_string()</li> 1180 <li><b>Added</b> OggFLAC::Encoder::Stream::get_resolved_state_string()</li> 1181 <li><b>Added</b> pure virtual OggFLAC::Encoder::Stream::metadata_callback()</li> 1182 </ul> 1183 </li> 1184 </ul> 1185 </li> 1186 </ul> 1187 1188 <br /> 1189 1190 <a name="flac_1_1_0"><b>FLAC 1.1.0</b> (26-Jan-2003)</a> 1191 1192 <br /> 1193 1194 <ul> 1195 <li> 1196 General: 1197 <ul> 1198 <li>All code is now <a href="http://valgrind.org/">Valgrind</a>-clean!</li> 1199 <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> 1200 <li><a href="http://www.replaygain.org/">ReplayGain</a> support.</li> 1201 <li>Better compression of 24-bit files.</li> 1202 <li>More complete AIFF support.</li> 1203 <li>3DNow! optimizations enabled by default.</li> 1204 <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> 1205 </ul> 1206 <span class="commandname">flac</span>: 1207 <ul> 1208 <li>Can now decode FLAC to AIFF; new <span class="argument">--force-aiff-format</span> option.</li> 1209 <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> 1210 <li>New <span class="argument">--replay-gain</span> option for calculating ReplayGain values and storing them as tags.</li> 1211 <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> 1212 <li><span class="argument">--skip</span> and <span class="argument">--until</span> now also accept mm:ss.ss format.</li> 1213 <li>New <span class="argument">-S #s</span> flavor to specify seekpoints every '#' number of seconds.</li> 1214 <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> 1215 <li><span class="commandname">flac</span> now adds a 4k PADDING block by default (turn off with <span class="argument">--no-padding</span>).</li> 1216 <li>Fixed a bug with --skip and AIFF-to-FLAC encoding.</li> 1217 <li>Fixed a bug where decoding a FLAC file whose total_samples==0 in the STREAMINFO would corrupt the WAVE header.</li> 1218 </ul> 1219 <span class="commandname">metaflac</span>: 1220 <ul> 1221 <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> 1222 <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> 1223 <li>New <span class="argument">--add-replay-gain</span> option for calculating ReplayGain values and storing them as tags.</li> 1224 <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> 1225 </ul> 1226 XMMS plugin: 1227 <ul> 1228 <li>Configurable sample resolution conversion with dither.</li> 1229 <li>ReplayGain support with customizable noise shaping, pre-amp, and optional hard limiter.</li> 1230 <li>New Vorbis comment editor.</li> 1231 <li>File info now works.</li> 1232 <li>Bitrate now shows the smoothed instantaneous bitrate.</li> 1233 <li>Uses the ARTIST tag if there is no PERFORMER tag.</li> 1234 </ul> 1235 Winamp2 plugin: 1236 <ul> 1237 <li>Configurable sample resolution conversion with dither.</li> 1238 <li>ReplayGain support with customizable noise shaping, pre-amp, and optional hard limiter.</li> 1239 <li>File info now works.</li> 1240 <li>Uses the ARTIST tag if there is no PERFORMER tag.</li> 1241 </ul> 1242 Libraries (developers take note!): 1243 <ul> 1244 <li>All code and tests are instrumented for Valgrind. All tests run Valgrind-clean, meaning no memory leaks or buffer over/under-runs.</li> 1245 <li>Separate 64-bit datapath through the filter in <span class="commandname">libFLAC</span> for better compression of >16 bps files.</li> 1246 <li><span class="code">FLAC__metadata_object_new(FLAC__METADATA_TYPE_VORBIS_COMMENT)</span> now sets the vendor string.</li> 1247 <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> 1248 </ul> 1249 </li> 1250 </ul> 1251 <br /> 1252 1253 <a name="flac_1_0_4"><b>FLAC 1.0.4</b> (24-Sep-2002)</a> 1254 1255 <br /> 1256 <ul> 1257 <li> 1258 Plugins: 1259 <ul> 1260 <li>Support for Vorbis comments, ID3 v1 and v2 tags.</li> 1261 <li>Configurable title formatting and charset conversion in XMMS plugin.</li> 1262 <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> 1263 </ul> 1264 <span class="commandname">flac</span>: 1265 <ul> 1266 <li>Improved option parser (now uses getopt).</li> 1267 <li>AIFF input support (thanks to Brady Patterson).</li> 1268 <li>Small decoder speedup.</li> 1269 <li><span class="argument">--sector-align</span> now supported for raw input files.</li> 1270 <li>New -T, --tag options for adding Vorbis comments while encoding.</li> 1271 <li>New --serial-number option for use with --ogg.</li> 1272 <li>Automatically writes vendor string in Vorbis comments.</li> 1273 <li>Drastically reduced memory requirements.</li> 1274 <li>Fixed bug where extra fmt/data chunks that were supposed to be skipped were not getting skipped.</li> 1275 <li>Fixed bug in granulepos setting for Ogg FLAC streams.</li> 1276 <li>Fixed memory leak when encoding multiple files with -V.</li> 1277 </ul> 1278 <span class="commandname">metaflac</span>: 1279 <ul> 1280 <li>UTF-8 support in Vorbis comments.</li> 1281 <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 /> 1282 <span class="code"> 1283 metaflac --export-vc-to=- --no-utf8-convert file.flac | vorbiscomment --raw -w file.ogg<br /> 1284 vorbiscomment --raw -l file.ogg | metaflac --import-vc-from=- --no-utf8-convert file.flac<br /> 1285 </span> 1286 </li> 1287 <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> 1288 </ul> 1289 Libraries: 1290 <ul> 1291 <li>All APIs now meticulously documented via Doxygen. <a href="api/index.html">See here</a>.</li> 1292 <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> 1293 <li>New FLAC__SeekableStreamEncoder and FLAC__FileEncoder in <span class="commandname">libFLAC</span> simplify common encoding tasks.</li> 1294 <li>New verify mode in all encoders.</li> 1295 <li>FLAC__stream_encoder_finish() now resets the defaults just like the stream decoders.</li> 1296 <li>Drastically reduced memory requirements of encoders and decoders.</li> 1297 <li>Encoder now automatically writes vendor string in VORBIS_COMMENT block.</li> 1298 <li>Encoding speedup of fixed predictors and MD5 speedup for 16bps mono/stereo signals on x86 (thanks to Miroslav Lichvar).</li> 1299 <li>Fixed bug in metadata interface where a bps in STREAMINFO > 16 was incorrectly parsed.</li> 1300 <li>Fixed bug where aborting stream decoder could cause infinite loop.</li> 1301 <li>Behavior change: simplified decoder *_process() commands.</li> 1302 <li>Behavior change: calling FLAC__stream_encoder_init() calls write callback once for "fLaC" signature and once for each metadata block.</li> 1303 <li>Behavior change: deprecated do_escape_coding and rice_parameter_search_distance in encoder.</li> 1304 </ul> 1305 </li> 1306 </ul> 1307 1308 <br /> 1309 1310 <a name="flac_1_0_3"><b>FLAC 1.0.3</b> (03-Jul-2002)</a> 1311 1312 <br /> 1313 1314 <ul> 1315 <li> 1316 New features: 1317 <ul> 1318 <li>24-bit input support restored in <span class="commandname">flac</span>.</li> 1319 <li>Decoder speedup in <span class="commandname">libFLAC</span>, which is directly passed on to the command-line decoder and plugins.</li> 1320 <li>New <span class="argument">-F</span> option to <span class="commandname">flac</span> to continue decoding in spite of errors.</li> 1321 <li>Correctly set granulepos in Ogg packets so seeking Ogg FLAC streams will be easier.</li> 1322 <li>New <a href="format.html#metadata_block_vorbis_comment">VORBIS_COMMENT</a> metadata block for tagging with Vorbis-style comments.</li> 1323 <li>Vastly improved <span class="commandname">metaflac</span>, now with many editing and tagging options.</li> 1324 <li>Partial id3v1 support in Winamp plugins.</li> 1325 <li>Updated Winamp 3 plugin.</li> 1326 <li>Note: new semantics for -P option in <span class="commandname">flac</span>.</li> 1327 <li>Note: removed -R option in <span class="commandname">flac</span>.</li> 1328 </ul> 1329 New library features: 1330 <ul> 1331 <li>Previously mentioned decoder speedup in <span class="commandname">libFLAC</span>.</li> 1332 <li>New metadata interface to <span class="commandname">libFLAC</span> for manipulating metadata in FLAC files.</li> 1333 <li>New <span class="commandname">libFLAC++</span> API, an object wrapper around <span class="commandname">libFLAC</span>.</li> 1334 <li>New <a href="format.html#metadata_block_vorbis_comment">VORBIS_COMMENT</a> metadata block for tagging with Vorbis-style comments.</li> 1335 <li>Customizable metadata filtering by type in decoders.</li> 1336 <li>Stream encoder can take an arbitrary list of metadata blocks, instead of just one SEEKTABLE and/or PADDING block.</li> 1337 </ul> 1338 Bugs fixed: 1339 <ul> 1340 <li>Fixed bug with using pipes under Windows.</li> 1341 <li>Fixed several bugs in the plugins and made them more robust in general.</li> 1342 <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> 1343 <li>Fixed bug in Ogg packet numbering.</li> 1344 </ul> 1345 </li> 1346 </ul> 1347 1348 <br /> 1349 1350 <a name="flac_1_0_2"><b>FLAC 1.0.2</b> (03-Dec-2001)</a> 1351 1352 <br /> 1353 <ul> 1354 <li> 1355 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 1356 </li> 1357 </ul> 1358 <br /> 1359 1360 <a name="flac_1_0_1"><b>FLAC 1.0.1</b> (14-Nov-2001)</a> 1361 1362 <br /> 1363 <ul> 1364 <li> 1365 New features for users: 1366 <ul> 1367 <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> 1368 <li>New Winamp 3 plugin based on the Wasabi Beta 1 SDK.</li> 1369 <li>New utilities for adding FLAC support to the Monkey's Audio GUI (see <a href="documentation_tasks.html#monkey">how</a>).</li> 1370 <li>Mac OS X support. The download area now contains an OS X binary release.</li> 1371 <li>Mingw32 support.</li> 1372 <li>Better handling of MS-specific 'fmt' chunks in WAVE files.</li> 1373 </ul> 1374 New features for developers: 1375 <ul> 1376 <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> 1377 <li>Drastically reduced the stack requirements of the encoder.</li> 1378 </ul> 1379 Bug fixes: 1380 <ul> 1381 <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> 1382 <li>Fixed a minor bug in <span class="commandname">libFLAC</span> with setting the file name to stdin on a file decoder.</li> 1383 <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> 1384 <li>Fixed a minor bug in <span class="commandname">metaflac</span>, now correctly skips an id3v2 tag if present.</li> 1385 <li>Fixed a minor bug in <span class="commandname">metaflac</span>, now correctly skips long metadata blocks.</li> 1386 </ul> 1387 </li> 1388 </ul> 1389 1390 <br /> 1391 1392 <a name="flac_1_0"><b>FLAC 1.0</b> (20-Jul-2001)</a> 1393 1394 <br /> 1395 <ul> 1396 <li> 1397 It's finally here. There are a few new features but mostly it is minor bug fixes since 0.10: 1398 <ul> 1399 <li>New '--sector-align' option to <span class="commandname">flac</span> which aligns a group of encoded files on CD audio sector boundaries.</li> 1400 <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> 1401 <li>Better WAVE autodetection (doesn't rely on ungetc() anymore).</li> 1402 <li>Cleaner one-line encoding/decoding stats.</li> 1403 <li>Changes to the libFLAC interface and type names to make binary compatibility easier to maintain in the future.</li> 1404 <li>New '--sse-os' option to 'configure' to enable faster SSE-based routines.</li> 1405 <li>Another (hopefully last) fix to the Winamp 2 plugin.</li> 1406 <li>Slightly improved Rice parameter estimation.</li> 1407 <li>Bug fixes for some very rare corner cases when encoding.</li> 1408 </ul> 1409 </li> 1410 </ul> 1411 <br /> 1412 1413 <a name="flac_0_10"><b>FLAC 0.10</b> (07-Jun-2001)</a> 1414 1415 <br /> 1416 <ul> 1417 <li> 1418 This is probably the final beta. There have been many improvements in the last two months: 1419 <ul> 1420 <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> 1421 <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> 1422 <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> 1423 <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> 1424 <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> 1425 <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> 1426 <li>Added an option '--delete-input-file' to <span class="commandname">flac</span> which automatically deletes the input after a successful encode/decode.</li> 1427 <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> 1428 <li>Changed the XMMS plugin to send smaller chunks of samples (now 512) so that visualization is not slow.</li> 1429 <li>Fixed a bug in the stream decoder where the decoded samples counter got corrupted after a seek.</li> 1430 </ul> 1431 1432 </li> 1433 </ul> 1434 <br /> 1435 1436 <a name="flac_0_9"><b>FLAC 0.9</b> (31-Mar-2001)</a> 1437 1438 <br /> 1439 <ul> 1440 <li> 1441 Bug fixes and some new features: 1442 <ul> 1443 <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> 1444 <li>Two reserved bits were added to the frame header.</li> 1445 <li>A CRC-16 was added to the FLAC frame footer, and the decoder now does frame integrity checking based on the CRC.</li> 1446 <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> 1447 <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> 1448 <li>XMMS plugin now supports 8-bit files.</li> 1449 <li>Fixed a bug in the Winamp2 plugin where the audio sounded garbled.</li> 1450 <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/&atid=113478">bug #231197</a>).</li> 1451 </ul> 1452 1453 </li> 1454 </ul> 1455 1456 <br /> 1457 1458 <a name="flac_0_8"><b>FLAC 0.8</b> (05-Mar-2001)</a> 1459 1460 <br /> 1461 <ul> 1462 <li> 1463 Changes since 0.7: 1464 <ul> 1465 <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> 1466 <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> 1467 <li>Added a <span class="argument">-P</span> option to <span class="commandname">flac</span> to reserve a PADDING block when encoding.</li> 1468 <li>Added support for 24-bit files to <span class="commandname">flac</span> (the FLAC format always supported it).</li> 1469 <li>Started the Winamp3 plugin.</li> 1470 <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> 1471 <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> 1472 <li>Fixed a bug in <span class="commandname">libFLAC</span> where the error estimation in the fixed predictor could overflow.</li> 1473 <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> 1474 <li>Reworked the LPC coefficient quantizer, which also fixed another bug that might occur in rare cases.</li> 1475 <li>Really fixed the '-V overflow' bug (c.f. <a href="http://sourceforge.net/p/flac/bugs/5/">bug #231976</a>).</li> 1476 <li>Fixed a bug in <span class="commandname">flac</span> related to the decode buffer sizing.</li> 1477 </ul> 1478 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. 1479 </li> 1480 </ul> 1481 <br /> 1482 1483 <a name="flac_0_7"><b>FLAC 0.7</b> (12-Feb-2001)</a> 1484 1485 <br /> 1486 1487 <ul> 1488 <li> 1489 Changes: 1490 <ul> 1491 <li>Fixed a bug that happened when both -fr and --seek were used at the same time.</li> 1492 <li>Fixed a bug with -p (c.f. <a href="http://sourceforge.net/p/flac/bugs/1/">bug #230992</a>).</li> 1493 <li>Fixed a bug that happened when using large (>32K) blocksizes and -V (c.f. <a href="http://sourceforge.net/p/flac/bugs/5/">bug #231976</a>).</li> 1494 <li>Fixed a bug where encoder was double-closing a file.</li> 1495 <li>Expanded the test suite.</li> 1496 <li>Added more optimization flags for gcc, which should speed up flac.</li> 1497 </ul> 1498 </li> 1499 </ul> 1500 <br /> 1501 1502 <a name="flac_0_6"><b>FLAC 0.6</b> (28-Jan-2001)</a> 1503 1504 <br /> 1505 <ul> 1506 <li> 1507 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: 1508 <ul> 1509 <li>Some bugs related to <span class="commandname">flac</span> and pipes were fixed</li> 1510 <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> 1511 <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> 1512 <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> 1513 </ul> 1514 </li> 1515 </ul> 1516 <br /> 1517 1518 <a name="flac_0_5"><b>FLAC 0.5</b> (15-Jan-2001)</a> 1519 1520 <br /> 1521 <ul> 1522 <li> 1523 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: 1524 <ul> 1525 <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> 1526 <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> 1527 </ul> 1528 </li> 1529 </ul> 1530 <br /> 1531 1532 <a name="flac_0_4"><b>FLAC 0.4</b> (23-Dec-2000)</a> 1533 1534 <br /> 1535 <ul> 1536 <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> 1537 </ul> 1538 1539 1540 1541 </div> 1542 <div class="box_footer"></div> 1543</div> 1544 1545 1546<div class="copyright"> 1547 <!-- @@@ oh so hacky --> 1548 <table> 1549 <tr> 1550 <td align="left"> 1551 Copyright (c) 2004-2009 Josh Coalson 1552 <br/> 1553 Copyright (c) 2011-2016 Xiph.Org Foundation 1554 </td> 1555 </tr> 1556 </table> 1557</div> 1558 1559</body> 1560</html> 1561