<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libmtp: LIBMTP_filesampledata_struct Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>LIBMTP_filesampledata_struct Struct Reference<br/> <small> [<a class="el" href="group__structar.html">libmtp data structures</a>]</small> </h1><!-- doxytag: class="LIBMTP_filesampledata_struct" --> <p><code>#include <<a class="el" href="libmtp_8h_source.html">libmtp.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__filesampledata__struct.html#a2f010086f65823ef592de3b4fbe6e8a0">width</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__filesampledata__struct.html#a7754ec5416c7d3a0cb890a83a0b75823">height</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__filesampledata__struct.html#acf609a02978ec92e4a35bee6f421cb2f">duration</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga34d45fa6ab19cc024029d239250a8c64">LIBMTP_filetype_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__filesampledata__struct.html#a6bd3981ad582c653e9591cf2ed0c6e92">filetype</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__filesampledata__struct.html#ac09d08d6f612cf9daa06e5ce1aa7c028">size</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__filesampledata__struct.html#a80f98fb02979f329f8d36b97721bb757">data</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>LIBMTP Object RepresentativeSampleData Structure </p> <hr/><h2>Field Documentation</h2> <a class="anchor" id="a80f98fb02979f329f8d36b97721bb757"></a><!-- doxytag: member="LIBMTP_filesampledata_struct::data" ref="a80f98fb02979f329f8d36b97721bb757" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structLIBMTP__filesampledata__struct.html#a80f98fb02979f329f8d36b97721bb757">LIBMTP_filesampledata_struct::data</a></td> </tr> </table> </div> <div class="memdoc"> <p>Sample data </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l07952">LIBMTP_destroy_filesampledata_t()</a>, <a class="el" href="libmtp_8c_source.html#l08214">LIBMTP_Get_Representative_Sample()</a>, and <a class="el" href="libmtp_8c_source.html#l08119">LIBMTP_Send_Representative_Sample()</a>.</p> </div> </div> <a class="anchor" id="acf609a02978ec92e4a35bee6f421cb2f"></a><!-- doxytag: member="LIBMTP_filesampledata_struct::duration" ref="acf609a02978ec92e4a35bee6f421cb2f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__filesampledata__struct.html#acf609a02978ec92e4a35bee6f421cb2f">LIBMTP_filesampledata_struct::duration</a></td> </tr> </table> </div> <div class="memdoc"> <p>Duration in milliseconds if it is audio </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l08214">LIBMTP_Get_Representative_Sample()</a>, <a class="el" href="libmtp_8c_source.html#l07986">LIBMTP_Get_Representative_Sample_Format()</a>, and <a class="el" href="libmtp_8c_source.html#l08119">LIBMTP_Send_Representative_Sample()</a>.</p> </div> </div> <a class="anchor" id="a6bd3981ad582c653e9591cf2ed0c6e92"></a><!-- doxytag: member="LIBMTP_filesampledata_struct::filetype" ref="a6bd3981ad582c653e9591cf2ed0c6e92" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__types.html#ga34d45fa6ab19cc024029d239250a8c64">LIBMTP_filetype_t</a> <a class="el" href="structLIBMTP__filesampledata__struct.html#a6bd3981ad582c653e9591cf2ed0c6e92">LIBMTP_filesampledata_struct::filetype</a></td> </tr> </table> </div> <div class="memdoc"> <p>Filetype used for the sample </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l08214">LIBMTP_Get_Representative_Sample()</a>, <a class="el" href="libmtp_8c_source.html#l07986">LIBMTP_Get_Representative_Sample_Format()</a>, and <a class="el" href="libmtp_8c_source.html#l08119">LIBMTP_Send_Representative_Sample()</a>.</p> </div> </div> <a class="anchor" id="a7754ec5416c7d3a0cb890a83a0b75823"></a><!-- doxytag: member="LIBMTP_filesampledata_struct::height" ref="a7754ec5416c7d3a0cb890a83a0b75823" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__filesampledata__struct.html#a7754ec5416c7d3a0cb890a83a0b75823">LIBMTP_filesampledata_struct::height</a></td> </tr> </table> </div> <div class="memdoc"> <p>Height of sample if it is an image </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l08214">LIBMTP_Get_Representative_Sample()</a>, <a class="el" href="libmtp_8c_source.html#l07986">LIBMTP_Get_Representative_Sample_Format()</a>, <a class="el" href="libmtp_8c_source.html#l07934">LIBMTP_new_filesampledata_t()</a>, and <a class="el" href="libmtp_8c_source.html#l08119">LIBMTP_Send_Representative_Sample()</a>.</p> </div> </div> <a class="anchor" id="ac09d08d6f612cf9daa06e5ce1aa7c028"></a><!-- doxytag: member="LIBMTP_filesampledata_struct::size" ref="ac09d08d6f612cf9daa06e5ce1aa7c028" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint64_t <a class="el" href="structLIBMTP__filesampledata__struct.html#ac09d08d6f612cf9daa06e5ce1aa7c028">LIBMTP_filesampledata_struct::size</a></td> </tr> </table> </div> <div class="memdoc"> <p>Size of sample data in bytes </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l08214">LIBMTP_Get_Representative_Sample()</a>, <a class="el" href="libmtp_8c_source.html#l07986">LIBMTP_Get_Representative_Sample_Format()</a>, and <a class="el" href="libmtp_8c_source.html#l08119">LIBMTP_Send_Representative_Sample()</a>.</p> </div> </div> <a class="anchor" id="a2f010086f65823ef592de3b4fbe6e8a0"></a><!-- doxytag: member="LIBMTP_filesampledata_struct::width" ref="a2f010086f65823ef592de3b4fbe6e8a0" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__filesampledata__struct.html#a2f010086f65823ef592de3b4fbe6e8a0">LIBMTP_filesampledata_struct::width</a></td> </tr> </table> </div> <div class="memdoc"> <p>Width of sample if it is an image </p> <p>Referenced by <a class="el" href="libmtp_8c_source.html#l08214">LIBMTP_Get_Representative_Sample()</a>, <a class="el" href="libmtp_8c_source.html#l07986">LIBMTP_Get_Representative_Sample_Format()</a>, and <a class="el" href="libmtp_8c_source.html#l08119">LIBMTP_Send_Representative_Sample()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>/home/mandrake/rpm/BUILD/libmtp-1.0.2/src/<a class="el" href="libmtp_8h_source.html">libmtp.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>