documentation_example_code.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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>
  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. <body>
  20. <div class="logo">
  21. <a href="index.html"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a>
  22. </div>
  23. <div class="above_nav"></div>
  24. <div class="navbar">
  25. &nbsp;<a href="index.html">home</a>&nbsp;&nbsp;|
  26. &nbsp;<a href="faq.html">faq</a>&nbsp;&nbsp;|
  27. &nbsp;<a href="documentation.html">documentation</a>&nbsp;&nbsp;|
  28. &nbsp;<a href="developers.html">developers</a>&nbsp;&nbsp;|
  29. &nbsp;<a href="changelog.html">changelog</a>&nbsp;&nbsp;|
  30. &nbsp;<a href="http://xiph.org/flac">more</a>
  31. </div>
  32. <div class="below_nav"></div>
  33. <div class="box">
  34. <div class="box_title">
  35. example code
  36. </div>
  37. <div class="box_header"></div>
  38. <div class="box_body">
  39. 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 />
  40. <br />
  41. 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.
  42. </div>
  43. <div class="box_footer"></div>
  44. </div>
  45. <div class="copyright">
  46. <!-- @@@ oh so hacky -->
  47. <table>
  48. <tr>
  49. <td align="left">
  50. Copyright (c) 2000-2009 Josh Coalson
  51. <br/>
  52. Copyright (c) 2011-2016 Xiph.Org Foundation
  53. </td>
  54. <td width="1%" align="right">
  55. <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>
  56. </td>
  57. </tr>
  58. </table>
  59. </div>
  60. </body>
  61. </html>