1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>FLAC: Porting from FLAC 1.1.4 to 1.2.0</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.4.2 --> 7<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> 8<h1>Porting from FLAC 1.1.4 to 1.2.0<br> 9<small> 10[<a class="el" href="group__porting.html">Porting Guide for New Versions</a>]</small> 11</h1>There were only very minor changes to the interfaces from 1.1.4 to 1.2.0. In libFLAC, <code><a class="el" href="group__flac__format.html#ga81">FLAC__format_sample_rate_is_subset()</a></code> was added. In libFLAC++, <code><a class="el" href="classFLAC_1_1Decoder_1_1Stream.html#FLAC_1_1Decoder_1_1Streama20">FLAC::Decoder::Stream::get_decode_position()</a></code> was added.<p> 12Finally, value of the constant <code>FLAC__FRAME_HEADER_RESERVED_LEN</code> has changed to reflect the conversion of one of the reserved bits into active use. It used to be <code>2</code> and now is <code>1</code>. However the FLAC frame header length has not changed, so to skip the proper number of bits, use <code>FLAC__FRAME_HEADER_RESERVED_LEN</code> + <code>FLAC__FRAME_HEADER_BLOCKING_STRATEGY_LEN</code> 13<p> 14<table border="0" cellpadding="0" cellspacing="0"> 15<tr><td></td></tr> 16</table> 17 18<hr size="1"> 19<div class="copyright"> 20 <!-- @@@ oh so hacky --> 21 <table> 22 <tr> 23 <td align="left"> 24 Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson 25 </td> 26 <td width="1%" align="right"> 27 <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a> 28 </td> 29 </tr> 30 </table> 31</div> 32<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson --> 33<!-- Permission is granted to copy, distribute and/or modify this document --> 34<!-- under the terms of the GNU Free Documentation License, Version 1.1 --> 35<!-- or any later version published by the Free Software Foundation; --> 36<!-- with no invariant sections. --> 37<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> 38</body> 39</html> 40