81 lines
5.1 KiB
HTML
Executable File
81 lines
5.1 KiB
HTML
Executable File
<!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>libmusepack: mpc_reader_t Struct Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</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> | <a class="qindex" href="pages.html">Related Pages</a></div>
|
|
<h1>mpc_reader_t Struct Reference</h1>Stream reader interface structure.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="musepack_8h-source.html">musepack.h</a>></code>
|
|
<p>
|
|
<a href="structmpc__reader__t-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0" doxytag="mpc_reader_t::read"></a>
|
|
mpc_int32_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structmpc__reader__t.html#o0">read</a> )(void *t, void *ptr, mpc_int32_t size)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reads size bytes of data into buffer at ptr. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o1" doxytag="mpc_reader_t::seek"></a>
|
|
BOOL(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structmpc__reader__t.html#o1">seek</a> )(void *t, mpc_int32_t offset)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Seeks to byte position offset. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o2" doxytag="mpc_reader_t::tell"></a>
|
|
mpc_int32_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structmpc__reader__t.html#o2">tell</a> )(void *t)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current byte offset in the stream. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o3" doxytag="mpc_reader_t::get_size"></a>
|
|
mpc_int32_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structmpc__reader__t.html#o3">get_size</a> )(void *t)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the total length of the source stream, in bytes. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o4" doxytag="mpc_reader_t::canseek"></a>
|
|
BOOL(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structmpc__reader__t.html#o4">canseek</a> )(void *t)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">True if the stream is a seekable stream. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structmpc__reader__t.html#o5">data</a></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Stream reader interface structure.
|
|
<p>
|
|
This is the structure you must supply to the musepack decoding library to feed it with raw data. Implement the five member functions to provide a functional reader.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="musepack_8h-source.html#l00027">27</a> of file <a class="el" href="musepack_8h-source.html">musepack.h</a>.<hr><h2>Member Data Documentation</h2>
|
|
<a class="anchor" name="o5" doxytag="mpc_reader_t::data"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">void* <a class="el" href="structmpc__reader__t.html#o5">mpc_reader_t::data</a> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Optional field that can be used to identify a particular instance of reader or carry along data associated with that reader.
|
|
<p>
|
|
Definition at line <a class="el" href="musepack_8h-source.html#l00045">45</a> of file <a class="el" href="musepack_8h-source.html">musepack.h</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="idtag_8c-source.html#l00009">JumpID3v2()</a>, and <a class="el" href="streaminfo_8c-source.html#l00153">streaminfo_read()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
|
<li>include/<a class="el" href="musepack_8h-source.html">musepack.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Sat Dec 11 14:43:51 2004 for libmusepack by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|