1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<!-- Copyright (c) 2000-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 - developers</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 <a href="changelog.html">changelog</a> | 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 example code 42 </div> 43 <div class="box_header"></div> 44 <div class="box_body"> 45 The FLAC source code has several small example programs that demonstrate how to use the libraries. The source is available on the <a href="http://xiph.org/flac/download.html">download page</a>, or can be <a href="https://git.xiph.org/?p=flac.git">checked out from git</a>. The examples complement the <a href="api/index.html">API documentation</a>.<br /> 46 <br /> 47 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. 48 </div> 49 <div class="box_footer"></div> 50</div> 51 52 53<div class="copyright"> 54 <!-- @@@ oh so hacky --> 55 <table> 56 <tr> 57 <td align="left"> 58 Copyright (c) 2000-2009 Josh Coalson 59 <br/> 60 Copyright (c) 2011-2016 Xiph.Org Foundation 61 </td> 62 </tr> 63 </table> 64</div> 65 66</body> 67</html> 68