mirror of
https://github.com/holub/mame
synced 2025-04-30 03:47:13 +03:00
51 lines
4.7 KiB
HTML
51 lines
4.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>FLAC: FLAC++/decoder.h: decoder classes</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.4.2 -->
|
|
<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>
|
|
<h1>FLAC++/decoder.h: decoder classes<br>
|
|
<small>
|
|
[<a class="el" href="group__flacpp.html">FLAC C++ API</a>]</small>
|
|
</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
This module describes the decoder layers provided by libFLAC++.
|
|
<p>
|
|
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>
|
|
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>
|
|
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.
|
|
<p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
|
|
<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>
|
|
|
|
<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>
|
|
<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>
|
|
|
|
<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>
|
|
</table>
|
|
|
|
<hr size="1">
|
|
<div class="copyright">
|
|
<!-- @@@ oh so hacky -->
|
|
<table>
|
|
<tr>
|
|
<td align="left">
|
|
Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
|
</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>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
|
|
<!-- 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 -->
|
|
</body>
|
|
</html>
|