1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<!-- Copyright (c) 2000,2001,2002,2003,2004,2005 Josh Coalson -->
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,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
3
3
<!-- Permission is granted to copy, distribute and/or modify this document -->
4
4
<!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
5
5
<!-- or any later version published by the Free Software Foundation; -->
6
6
<!-- with no invariant sections. -->
7
7
<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
10
<TITLE>FLAC - developers</TITLE>
13
<BODY MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BGCOLOR="#99CC99" TEXT="#000000" LINK="#336699" VLINK="#336699" ALINK="#336699">
15
<TABLE BORDER=0 WIDTH="100%" CELLPADDING=1 CELLSPACING=0>
17
<TD ALIGN="CENTER" BGCOLOR="#000000"><A HREF="http://flac.sourceforge.net/"><IMG SRC="images/logo130.gif" ALIGN=CENTER ALT="FLAC Logo" BORDER=0 HSPACE=0></a></TD>
21
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#99CC99"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="25" ALT=""></TD></TR></TABLE>
23
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
25
<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
27
<TD ALIGN="CENTER" BGCOLOR="#D3D4C5">
28
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
30
<TD HEIGHT=22 BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="index.html">home</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
31
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="faq.html">faq</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
32
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="news.html">news</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
33
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="download.html">download</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
34
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="features.html">features</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
35
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="goals.html">goals</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
36
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="format.html">format</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
37
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="id.html">id</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
38
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="comparison.html">comparison</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
39
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="documentation.html">documentation</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
40
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="changelog.html">changelog</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
41
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="links.html">links</A> </TD><TD BGCOLOR="#D3D4C5" ALIGN=CENTER>|</TD>
42
<TD BGCOLOR="#D3D4C5" ALIGN=CENTER NOWRAP> developers </TD>
49
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
51
<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
53
<TD ALIGN="CENTER" BGCOLOR="#EEEED4">
54
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
56
<TD HEIGHT=22 BGCOLOR="#EEEED4" ALIGN=CENTER NOWRAP> english </TD><TD BGCOLOR="#EEEED4" ALIGN=CENTER>|</TD>
57
<TD BGCOLOR="#EEEED4" ALIGN=CENTER NOWRAP> <A CLASS="topnav" HREF="ru/developers.html">russian</A> </TD>
64
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="2" ALT=""></TD></TR></TABLE>
68
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#99CC99"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="15" ALT=""></TD></TR></TABLE>
71
<TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
73
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
74
<TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
75
<TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
76
<B><FONT SIZE="+2">FLAC developers</FONT></B>
79
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
80
<TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
81
<TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
83
FLAC is an open source project and we are happy to enlist the help of anyone who wants to contribute. The preferred method for transmitting improvements is patch files (in "diff -c" format) sent to the <A HREF="http://sourceforge.net/mail/?group_id=13478">developer mailing list</A>, but zipped up sources are OK. Make sure to read the <A HREF="goals.html">FLAC goals</A> first; there are some thing the we <B>don't</B> want added to FLAC, like copy protection and lossy compression.
86
High priority items are:
91
Support in the plugins for using the CUESHEET metadata block. The plugin should be able to see a CUESHEET in a FLAC file and present the individual tracks in the player, and fetch metadata from CDDB or CDindex by computing the hash from the CUESHEET and looking up either in a local database or over the net.
96
Some other "nice-to-haves":
101
FLAC module for <A HREF="http://www.68k.org/~michael/audiofile/">Audiofile</A>.
104
<A HREF="http://java.sun.com/products/java-media/jmf/">JMF</A> plugin.
107
Streaming support in the Winamp plugin.
112
See also the <A HREF="http://sourceforge.net/projects/flac">FLAC project page</A> on Sourceforge.net.
117
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
122
<TABLE WIDTH="100%" CELLPADDING="5" CELLSPACING="5" BORDER="0">
124
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
125
<TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#D3D4C5">
126
<TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
127
<B><FONT SIZE="+2">third-party developers</FONT></B>
130
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
131
<TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="100%" BORDER="0" BGCOLOR="#EEEED4">
132
<TR><TD><FONT FACE="Lucida,Verdana,Helvetica,Arial">
134
FLAC is open to third-party developers who want to add support for FLAC into their programs. All the necessary functionality is contained the lib*FLAC libraries which are licensed under Xiph.org's BSD license. The relevant documentation here is:
136
<LI>The <A HREF="license.html">license page</A>.</LI>
137
<LI>The <A HREF="api/index.html">API documentation</A>.</LI>
138
<LI>The <A HREF="format.html">formal description</A> of the FLAC format.</LI>
139
<LI>The <A HREF="ogg_mapping.html">Ogg FLAC mapping</A> document.</LI>
140
<LI>The <A HREF="id.html">ID registration page</A> for registering an ID if you need to write custom metadata.</LI>
144
There also are several examples in the FLAC code base of API usage that may also be helpful. Visit the <A HREF="download.html">download page</A> for instructions on how to get the source.
149
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR BGCOLOR="#000000"><TD><IMG SRC="images/1x1.gif" WIDTH="1" HEIGHT="1" ALT=""></TD></TR></TABLE>
156
<P> Copyright (c) 2000,2001,2002,2003,2004,2005 Josh Coalson</P>
10
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
11
<meta name="author" content="Josh Coalson" />
12
<meta name="description" content="A free, open source codec for lossless audio compression and decompression" />
13
<meta name="keywords" content="free,lossless,audio,codec,encoder,decoder,compression,compressor,archival,archive,archiving,backup,music" />
14
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
15
<link rel="stylesheet" type="text/css" href="flac.css" />
16
<title>FLAC - developers</title>
22
<a href="http://flac.sourceforge.net/"><img src="images/logo130.gif" alt="FLAC Logo" align="middle" border="0" hspace="0" /></a>
25
<div class="above_nav"></div>
28
<a href="index.html">home</a> |
29
<a href="faq.html">faq</a> |
30
<a href="news.html">news</a> |
31
<a href="download.html">download</a> |
32
<a href="documentation.html">documentation</a> |
33
<a href="comparison.html">comparison</a> |
34
<a href="changelog.html">changelog</a> |
35
<a href="links.html">links</a> |
36
developers
40
english |
41
<a href="ru/developers.html">russian</a>
44
<div class="below_nav"></div>
47
<div class="box_title">
50
<div class="box_header"></div>
51
<div class="box_body">
52
FLAC is an open source project and we are happy to enlist the help of anyone who wants to contribute, or to help with FLAC support in other programs and devices. The preferred method of communication is the <a href="http://lists.xiph.org/mailman/listinfo/flac-dev">developer mailing list</a>.<br />
54
FLAC is open to third-party developers who want to add support for FLAC into their programs. All the necessary functionality is contained the libFLAC libraries which are licensed under <a href="license.html">Xiph.org's BSD license</a>.<br />
56
Some pointers to developer documentation and code:<br />
58
<li><a href="license.html">License</a> - The license under which the official tools are distributed.</li>
59
<li><a href="api/index.html">libFLAC and libFLAC++ APIs</a> - Complete library documentation.</li>
60
<li><a href="format.html">FLAC Format Specification</a> - The formal specification.</li>
61
<li><a href="ogg_mapping.html">Ogg FLAC Mapping</a> - How FLAC should be embedded in an Ogg container.</li>
62
<li><a href="id.html">ID Registration</a> - Register an ID if you need to write custom metadata.</li>
63
<li><a href="http://sourceforge.net/cvs/?group_id=13478">CVS Access</a> - instructions for checking out the source code.</li>
64
<li><a href="http://flac.cvs.sourceforge.net/flac">Browse the CVS repository</a> from your web browser.</li>
66
There also are several examples in the FLAC code base of API usage that may also be helpful. Visit the <a href="download.html">download page</a> for instructions on how to get the source code.
68
Finally, more resources are available on the <a href="http://sourceforge.net/projects/flac">FLAC project page</a> on Sourceforge.net.
70
<div class="box_footer"></div>
76
<div class="box_title">
79
<div class="box_header"></div>
80
<div class="box_body">
81
Since FLAC is an open-source project, it's important to have a set of goals that everyone works to. They may change slightly from time to time but they're a good guideline. Changes should be in line with the goals and should not attempt to embrace any of the anti-goals.<br />
86
FLAC should be and stay an open format with an open-source reference implementation.
89
FLAC should be lossless. This seems obvious but lossy compression seems to creep into every audio codec. This goal also means that <span class="commandname">flac</span> should stay archival quality and be truly lossless for all input. Testing of releases should be thorough.
92
FLAC should yield respectable compression, on par or better than other lossless codecs.
95
FLAC should allow at least realtime decoding on even modest hardware.
98
FLAC should support fast sample-accurate seeking.
101
FLAC should allow gapless playback of consecutive streams. This follows from the lossless goal.
104
The FLAC project owes a lot to the many people who have advanced the audio compression field so freely, and aims also to contribute through the open-source development of new ideas.
107
<b>Anti-goals</b><br />
110
Lossy compression. There are already many suitable lossy formats (<a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a>, <a href="http://www.mp3-tech.org/">MP3</a>, etc.).
113
Copy prevention, DRM, etc. There is no intention to add any copy prevention methods. Of course, we can't stop someone from encrypting a FLAC stream in another container (e.g. the way Apple encrypts AAC in MP4 with FairPlay), that is the choice of the user.
117
<div class="box_footer"></div>
121
<div class="copyright">
122
<!-- @@@ oh so hacky -->
126
Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
128
<td width="1%" align="right">
129
<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>
131
<td width="1%" align="right">
132
<a href="http://www.eff.org/cafe/"><img src="images/cafebug.gif" alt="CAFE Logo" border="0" /></a><br />
134
<td width="1%" align="right">
135
<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>