1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>FLAC: FLAC++/decoder.h: decoder classes
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.4.2 -->
7 <div class=
"qindex"><a class=
"qindex" href=
"index.html">Main
Page
</a> |
<a class=
"qindex" href=
"modules.html">Modules
</a> |
<a class=
"qindex" href=
"hierarchy.html">Class
Hierarchy
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Class
List
</a> |
<a class=
"qindex" href=
"dirs.html">Directories
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Class
Members
</a> |
<a class=
"qindex" href=
"globals.html">File
Members
</a></div>
8 <h1>FLAC++/decoder.h: decoder classes
<br>
10 [
<a class=
"el" href=
"group__flacpp.html">FLAC C++ API
</a>]
</small>
11 </h1><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
12 This module describes the decoder layers provided by libFLAC++.
14 The libFLAC++ decoder classes are object wrappers around their counterparts in libFLAC. All decoding layers available in libFLAC are also provided here. The interface is very similar; make sure to read the
<a class=
"el" href=
"group__flac__decoder.html">libFLAC decoder module
</a>.
<p>
15 There are only two significant differences here. First, instead of passing in C function pointers for callbacks, you inherit from the decoder class and provide implementations for the callbacks in your derived class; because of this there is no need for a 'client_data' property.
<p>
16 Second, there are two stream decoder classes.
<a class=
"el" href=
"classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream
</a> is used for the same cases that
<a class=
"el" href=
"group__flac__stream__decoder.html#ga36">FLAC__stream_decoder_init_stream()
</a> /
<a class=
"el" href=
"group__flac__stream__decoder.html#ga37">FLAC__stream_decoder_init_ogg_stream()
</a> are used, and
<a class=
"el" href=
"classFLAC_1_1Decoder_1_1File.html">FLAC::Decoder::File
</a> is used for the same cases that
<a class=
"el" href=
"group__flac__stream__decoder.html#ga38">FLAC__stream_decoder_init_FILE()
</a> and
<a class=
"el" href=
"group__flac__stream__decoder.html#ga40">FLAC__stream_decoder_init_file()
</a> /
<a class=
"el" href=
"group__flac__stream__decoder.html#ga39">FLAC__stream_decoder_init_ogg_FILE()
</a> and
<a class=
"el" href=
"group__flac__stream__decoder.html#ga41">FLAC__stream_decoder_init_ogg_file()
</a> are used.
18 <table border=
"0" cellpadding=
"0" cellspacing=
"0">
20 <tr><td colspan=
"2"><br><h2>Classes
</h2></td></tr>
21 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">class
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream
</a></td></tr>
23 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">This class wraps the
<a class=
"el" href=
"structFLAC____StreamDecoder.html">FLAC__StreamDecoder
</a>. If you are decoding from a file,
<a class=
"el" href=
"classFLAC_1_1Decoder_1_1File.html">FLAC::Decoder::File
</a> may be more convenient.
<a href=
"classFLAC_1_1Decoder_1_1Stream.html#_details">More...
</a><br></td></tr>
24 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">class
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classFLAC_1_1Decoder_1_1File.html">FLAC::Decoder::File
</a></td></tr>
26 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">This class wraps the
<a class=
"el" href=
"structFLAC____StreamDecoder.html">FLAC__StreamDecoder
</a>. If you are not decoding from a file, you may need to use
<a class=
"el" href=
"classFLAC_1_1Decoder_1_1Stream.html">FLAC::Decoder::Stream
</a>.
<a href=
"classFLAC_1_1Decoder_1_1File.html#_details">More...
</a><br></td></tr>
30 <div class=
"copyright">
31 <!-- @@@ oh so hacky -->
35 Copyright (c)
2000,
2001,
2002,
2003,
2004,
2005,
2006,
2007 Josh Coalson
37 <td width=
"1%" align=
"right">
38 <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>
43 <!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
44 <!-- Permission is granted to copy, distribute and/or modify this document -->
45 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
46 <!-- or any later version published by the Free Software Foundation; -->
47 <!-- with no invariant sections. -->
48 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->