OLD | NEW |
1 /* libFLAC - Free Lossless Audio Codec library | 1 /* libFLAC - Free Lossless Audio Codec library |
2 * Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson | 2 * Copyright (C) 2000-2009 Josh Coalson |
| 3 * Copyright (C) 2011-2014 Xiph.Org Foundation |
3 * | 4 * |
4 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
6 * are met: | 7 * are met: |
7 * | 8 * |
8 * - Redistributions of source code must retain the above copyright | 9 * - Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
10 * | 11 * |
11 * - Redistributions in binary form must reproduce the above copyright | 12 * - Redistributions in binary form must reproduce the above copyright |
12 * notice, this list of conditions and the following disclaimer in the | 13 * notice, this list of conditions and the following disclaimer in the |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 /** \defgroup porting Porting Guide for New Versions | 155 /** \defgroup porting Porting Guide for New Versions |
155 * | 156 * |
156 * This module describes differences in the library interfaces from | 157 * This module describes differences in the library interfaces from |
157 * version to version. It assists in the porting of code that uses | 158 * version to version. It assists in the porting of code that uses |
158 * the libraries to newer versions of FLAC. | 159 * the libraries to newer versions of FLAC. |
159 * | 160 * |
160 * One simple facility for making porting easier that has been added | 161 * One simple facility for making porting easier that has been added |
161 * in FLAC 1.1.3 is a set of \c #defines in \c export.h of each | 162 * in FLAC 1.1.3 is a set of \c #defines in \c export.h of each |
162 * library's includes (e.g. \c include/FLAC/export.h). The | 163 * library's includes (e.g. \c include/FLAC/export.h). The |
163 * \c #defines mirror the libraries' | 164 * \c #defines mirror the libraries' |
164 * <A HREF="http://www.gnu.org/software/libtool/manual.html#Libtool-versioning">
libtool version numbers</A>, | 165 * <A HREF="http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-vers
ioning">libtool version numbers</A>, |
165 * e.g. in libFLAC there are \c FLAC_API_VERSION_CURRENT, | 166 * e.g. in libFLAC there are \c FLAC_API_VERSION_CURRENT, |
166 * \c FLAC_API_VERSION_REVISION, and \c FLAC_API_VERSION_AGE. | 167 * \c FLAC_API_VERSION_REVISION, and \c FLAC_API_VERSION_AGE. |
167 * These can be used to support multiple versions of an API during the | 168 * These can be used to support multiple versions of an API during the |
168 * transition phase, e.g. | 169 * transition phase, e.g. |
169 * | 170 * |
170 * \code | 171 * \code |
171 * #if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7 | 172 * #if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7 |
172 * legacy code | 173 * legacy code |
173 * #else | 174 * #else |
174 * new code | 175 * new code |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 * The FLAC C API is the interface to libFLAC, a set of structures | 362 * The FLAC C API is the interface to libFLAC, a set of structures |
362 * describing the components of FLAC streams, and functions for | 363 * describing the components of FLAC streams, and functions for |
363 * encoding and decoding streams, as well as manipulating FLAC | 364 * encoding and decoding streams, as well as manipulating FLAC |
364 * metadata in files. | 365 * metadata in files. |
365 * | 366 * |
366 * You should start with the format components as all other modules | 367 * You should start with the format components as all other modules |
367 * are dependent on it. | 368 * are dependent on it. |
368 */ | 369 */ |
369 | 370 |
370 #endif | 371 #endif |
OLD | NEW |