2007-09-13 00:33:25 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2008-02-28 05:34:21 +00:00
<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007,2008 Josh Coalson -->
2007-09-13 00:33:25 +00:00
<!-- Permission is granted to copy, distribute and/or modify this document -->
<!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
<!-- or any later version published by the Free Software Foundation; -->
<!-- with no invariant sections. -->
<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=ISO-8859-1" / >
< meta name = "author" content = "Josh Coalson" / >
< meta name = "description" content = "A free, open source codec for lossless audio compression and decompression" / >
< meta name = "keywords" content = "free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" / >
< link rel = "shortcut icon" type = "image/x-icon" href = "favicon.ico" / >
< link rel = "stylesheet" type = "text/css" href = "flac.css" / >
< title > FLAC - developers< / title >
< / head >
< body >
< div class = "logo" >
< a href = "http://flac.sourceforge.net/" > < img src = "images/logo130.gif" alt = "FLAC Logo" align = "middle" border = "0" hspace = "0" / > < / a >
< / div >
< div class = "above_nav" > < / div >
< div class = "navbar" >
< a href = "index.html" > home< / a > |
< a href = "faq.html" > faq< / a > |
< a href = "news.html" > news< / a > |
< a href = "download.html" > download< / a > |
< a href = "documentation.html" > documentation< / a > |
< a href = "comparison.html" > comparison< / a > |
< a href = "changelog.html" > changelog< / a > |
< a href = "links.html" > links< / a > |
< a href = "developers.html" > developers< / a >
< / div >
< div class = "langbar" >
english |
< a href = "ru/documentation.html" > russian< / a >
< / div >
< div class = "below_nav" > < / div >
< div class = "box" >
< div class = "box_title" >
example code
< / div >
< div class = "box_header" > < / div >
< div class = "box_body" >
The FLAC source code has several small example programs that demonstrate how to use the libraries. The source is available on the < a href = "download.html" > download page< / a > , or can be < a href = "http://sourceforge.net/cvs/?group_id=13478" > checked out from CVS< / a > or < a href = "http://flac.cvs.sourceforge.net/flac/flac/examples/" > browsed online< / a > . The examples complement the < a href = "api/index.html" > API documentation< / a > .< br / >
< br / >
Currently the examples show how to encode WAV files to FLAC and vice-versa using both libFLAC and libFLAC++. Over time we'll be adding more examples.
< / div >
< div class = "box_footer" > < / div >
< / div >
< div class = "copyright" >
<!-- @@@ oh so hacky -->
< table >
< tr >
< td align = "left" >
2008-02-28 05:34:21 +00:00
Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007,2008 Josh Coalson
2007-09-13 00:33:25 +00:00
< / td >
< td width = "1%" align = "right" >
< 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 >
< / td >
< td width = "1%" align = "right" >
< a href = "http://www.eff.org/cafe/" > < img src = "images/cafebug.gif" alt = "CAFE Logo" border = "0" / > < / a > < br / >
< / td >
< td width = "1%" align = "right" >
< 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 >
< / td >
< / tr >
< / table >
< / div >
< / body >
< / html >