<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>TagLib::MPC::Properties Class Reference (TagLib)</title> <link href="taglib-api.css" rel="stylesheet" type="text/css"> </head> <body> <div id="container"> <table border="0" width="100%"> <tr> <td width="1"> <img src="../taglib.png"> </td> <td> <div id="intro"> <table border="0" height="119" cellpadding="0" cellspacing="0" width="100%"> <tr><td valign="top"><h1>TagLib 1.8.0 (TagLib::MPC::Properties Class Reference)</h1></td></tr> <tr> <td valign="bottom"> <div id="links"> <a href="index.html">Home</a> <a href="inherits.html">Class Hierarchy</a> <a href="namespaces.html">Namespaces</a> <a href="annotated.html">Classes</a> <a href="files.html">Headers</a> <a href="namespacemembers.html">Namespace Members</a> <a href="functions.html">Class Members</a> <a href="globals.html">File Members</a> </div> </td> </tr> </table> </div> </td> </tr> </table> <div id="text"> <!-- Generated by Doxygen 1.8.3 --> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceTagLib.html">TagLib</a></li><li class="navelem"><a class="el" href="namespaceTagLib_1_1MPC.html">MPC</a></li><li class="navelem"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html">Properties</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classTagLib_1_1MPC_1_1Properties-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">TagLib::MPC::Properties Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>An implementation of audio property reading for <a class="el" href="namespaceTagLib_1_1MPC.html" title="An implementation of MPC metadata.">MPC</a>. <a href="classTagLib_1_1MPC_1_1Properties.html#details">More...</a></p> <p><code>#include <<a class="el" href="mpcproperties_8h_source.html">mpcproperties.h</a>></code></p> <div class="dynheader"> Inheritance diagram for TagLib::MPC::Properties:</div> <div class="dyncontent"> <div class="center"><img src="classTagLib_1_1MPC_1_1Properties__inherit__graph.png" border="0" usemap="#TagLib_1_1MPC_1_1Properties_inherit__map" alt="Inheritance graph"/></div> <map name="TagLib_1_1MPC_1_1Properties_inherit__map" id="TagLib_1_1MPC_1_1Properties_inherit__map"> <area shape="rect" id="node2" href="classTagLib_1_1AudioProperties.html" title="A simple, abstract interface to common audio properties." alt="" coords="7,5,168,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for TagLib::MPC::Properties:</div> <div class="dyncontent"> <div class="center"><img src="classTagLib_1_1MPC_1_1Properties__coll__graph.png" border="0" usemap="#TagLib_1_1MPC_1_1Properties_coll__map" alt="Collaboration graph"/></div> <map name="TagLib_1_1MPC_1_1Properties_coll__map" id="TagLib_1_1MPC_1_1Properties_coll__map"> <area shape="rect" id="node2" href="classTagLib_1_1AudioProperties.html" title="A simple, abstract interface to common audio properties." alt="" coords="7,5,168,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a7749dff519767d66e451a26b56718cfd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a7749dff519767d66e451a26b56718cfd">Properties</a> (const <a class="el" href="classTagLib_1_1ByteVector.html">ByteVector</a> &data, long streamLength, <a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a> style=<a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbac7b0fcdd909bbb360f26d60c6bc57f4e">Average</a>)</td></tr> <tr class="separator:a7749dff519767d66e451a26b56718cfd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7381a90ea990013f52f733c36e479a2c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a7381a90ea990013f52f733c36e479a2c">Properties</a> (<a class="el" href="classTagLib_1_1MPC_1_1File.html">File</a> *file, long streamLength, <a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a> style=<a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbac7b0fcdd909bbb360f26d60c6bc57f4e">Average</a>)</td></tr> <tr class="separator:a7381a90ea990013f52f733c36e479a2c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae2199d3cf6bb85e1a4f7f1373e64e6da"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#ae2199d3cf6bb85e1a4f7f1373e64e6da">~Properties</a> ()</td></tr> <tr class="separator:ae2199d3cf6bb85e1a4f7f1373e64e6da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a570ce449f938e1963fc680551d1e97bd"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a570ce449f938e1963fc680551d1e97bd">length</a> () const </td></tr> <tr class="separator:a570ce449f938e1963fc680551d1e97bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9481544dd520cbe5b9705c9121a6ba34"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a9481544dd520cbe5b9705c9121a6ba34">bitrate</a> () const </td></tr> <tr class="separator:a9481544dd520cbe5b9705c9121a6ba34"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf5d64ce5fd0110c291904563b487a76"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#acf5d64ce5fd0110c291904563b487a76">sampleRate</a> () const </td></tr> <tr class="separator:acf5d64ce5fd0110c291904563b487a76"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa9992f7f67639d728d2bb52dfefc44e4"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#aa9992f7f67639d728d2bb52dfefc44e4">channels</a> () const </td></tr> <tr class="separator:aa9992f7f67639d728d2bb52dfefc44e4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abb8a6883e011f7c61e7148518c84ad51"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#abb8a6883e011f7c61e7148518c84ad51">mpcVersion</a> () const </td></tr> <tr class="separator:abb8a6883e011f7c61e7148518c84ad51"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c60cc68599f52d3724fbdba249ca64b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceTagLib.html#a0d56da3fb97ff5e823c2c4b3aea77e25">uint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a4c60cc68599f52d3724fbdba249ca64b">totalFrames</a> () const </td></tr> <tr class="separator:a4c60cc68599f52d3724fbdba249ca64b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0a25e150abe99ae37317d4ab209c6da8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceTagLib.html#a0d56da3fb97ff5e823c2c4b3aea77e25">uint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a0a25e150abe99ae37317d4ab209c6da8">sampleFrames</a> () const </td></tr> <tr class="separator:a0a25e150abe99ae37317d4ab209c6da8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae66cffa8917e88fdf44ab7b464c4dddb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#ae66cffa8917e88fdf44ab7b464c4dddb">trackGain</a> () const </td></tr> <tr class="separator:ae66cffa8917e88fdf44ab7b464c4dddb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6eda92b5b6e56a8f4d0df1b874dc7105"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a6eda92b5b6e56a8f4d0df1b874dc7105">trackPeak</a> () const </td></tr> <tr class="separator:a6eda92b5b6e56a8f4d0df1b874dc7105"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a38e45b7f67c5ce07d588e689a0bd0353"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#a38e45b7f67c5ce07d588e689a0bd0353">albumGain</a> () const </td></tr> <tr class="separator:a38e45b7f67c5ce07d588e689a0bd0353"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abad3dd9240ba64b1aff233b64ad85677"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MPC_1_1Properties.html#abad3dd9240ba64b1aff233b64ad85677">albumPeak</a> () const </td></tr> <tr class="separator:abad3dd9240ba64b1aff233b64ad85677"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classTagLib_1_1AudioProperties"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classTagLib_1_1AudioProperties')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classTagLib_1_1AudioProperties.html">TagLib::AudioProperties</a></td></tr> <tr class="memitem:ad4e4a349dd95126ef12624f7e2f9446d inherit pub_methods_classTagLib_1_1AudioProperties"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1AudioProperties.html#ad4e4a349dd95126ef12624f7e2f9446d">~AudioProperties</a> ()</td></tr> <tr class="separator:ad4e4a349dd95126ef12624f7e2f9446d inherit pub_methods_classTagLib_1_1AudioProperties"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_classTagLib_1_1AudioProperties"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classTagLib_1_1AudioProperties')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classTagLib_1_1AudioProperties.html">TagLib::AudioProperties</a></td></tr> <tr class="memitem:ae43831c9807aaf08d60d9b3b5efb67bb inherit pub_types_classTagLib_1_1AudioProperties"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a> { <a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbaa0bb85925dc3ac7fdbeb6425fa0e8587">Fast</a>, <a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbac7b0fcdd909bbb360f26d60c6bc57f4e">Average</a>, <a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bba936013aeb8da2f6ab18aee15e50041aa">Accurate</a> }</td></tr> <tr class="separator:ae43831c9807aaf08d60d9b3b5efb67bb inherit pub_types_classTagLib_1_1AudioProperties"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classTagLib_1_1AudioProperties"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classTagLib_1_1AudioProperties')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classTagLib_1_1AudioProperties.html">TagLib::AudioProperties</a></td></tr> <tr class="memitem:a3d553d4b500b509d9fcf7aeffdee3404 inherit pro_methods_classTagLib_1_1AudioProperties"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1AudioProperties.html#a3d553d4b500b509d9fcf7aeffdee3404">AudioProperties</a> (<a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a> style)</td></tr> <tr class="separator:a3d553d4b500b509d9fcf7aeffdee3404 inherit pro_methods_classTagLib_1_1AudioProperties"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>An implementation of audio property reading for <a class="el" href="namespaceTagLib_1_1MPC.html" title="An implementation of MPC metadata.">MPC</a>. </p> <p>This reads the data from an <a class="el" href="namespaceTagLib_1_1MPC.html" title="An implementation of MPC metadata.">MPC</a> stream found in the <a class="el" href="classTagLib_1_1AudioProperties.html" title="A simple, abstract interface to common audio properties.">AudioProperties</a> API. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a7749dff519767d66e451a26b56718cfd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TagLib::MPC::Properties::Properties </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTagLib_1_1ByteVector.html">ByteVector</a> & </td> <td class="paramname"><em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"><em>streamLength</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a> </td> <td class="paramname"><em>style</em> = <code><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbac7b0fcdd909bbb360f26d60c6bc57f4e">Average</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create an instance of <a class="el" href="classTagLib_1_1MPC_1_1Properties.html" title="An implementation of audio property reading for MPC.">MPC::Properties</a> with the data read from the <a class="el" href="classTagLib_1_1ByteVector.html" title="A byte vector.">ByteVector</a> <em>data</em>.</p> <p>This constructor is deprecated. It only works for <a class="el" href="namespaceTagLib_1_1MPC.html" title="An implementation of MPC metadata.">MPC</a> version up to 7. </p> </div> </div> <a class="anchor" id="a7381a90ea990013f52f733c36e479a2c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TagLib::MPC::Properties::Properties </td> <td>(</td> <td class="paramtype"><a class="el" href="classTagLib_1_1MPC_1_1File.html">File</a> * </td> <td class="paramname"><em>file</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"><em>streamLength</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a> </td> <td class="paramname"><em>style</em> = <code><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbac7b0fcdd909bbb360f26d60c6bc57f4e">Average</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create an instance of <a class="el" href="classTagLib_1_1MPC_1_1Properties.html" title="An implementation of audio property reading for MPC.">MPC::Properties</a> with the data read directly from a <a class="el" href="classTagLib_1_1MPC_1_1File.html" title="An implementation of TagLib::File with MPC specific methods.">MPC::File</a>. </p> </div> </div> <a class="anchor" id="ae2199d3cf6bb85e1a4f7f1373e64e6da"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual TagLib::MPC::Properties::~Properties </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destroys this <a class="el" href="classTagLib_1_1MPC_1_1Properties.html" title="An implementation of audio property reading for MPC.">MPC::Properties</a> instance. </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a38e45b7f67c5ce07d588e689a0bd0353"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int TagLib::MPC::Properties::albumGain </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the album gain as an integer value, to convert to dB: albumGain in dB = 64.82 - (albumGain / 256) </p> </div> </div> <a class="anchor" id="abad3dd9240ba64b1aff233b64ad85677"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int TagLib::MPC::Properties::albumPeak </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the album peak as an integer value, to convert to dB: albumPeak in dB = albumPeak / 256 to convert to floating [-1..1]: albumPeak = 10^(albumPeak / 256 / 20)/32768 </p> </div> </div> <a class="anchor" id="a9481544dd520cbe5b9705c9121a6ba34"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int TagLib::MPC::Properties::bitrate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate. </p> <p>Implements <a class="el" href="classTagLib_1_1AudioProperties.html#ae5b7650b50f8c8f8cc022f25cfee48c5">TagLib::AudioProperties</a>.</p> </div> </div> <a class="anchor" id="aa9992f7f67639d728d2bb52dfefc44e4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int TagLib::MPC::Properties::channels </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the number of audio channels. </p> <p>Implements <a class="el" href="classTagLib_1_1AudioProperties.html#a61faa1146ac84d05fee64677aa558102">TagLib::AudioProperties</a>.</p> </div> </div> <a class="anchor" id="a570ce449f938e1963fc680551d1e97bd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int TagLib::MPC::Properties::length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the length of the file in seconds. </p> <p>Implements <a class="el" href="classTagLib_1_1AudioProperties.html#acdd3ffe79f3a76ec5edb85bb911407e1">TagLib::AudioProperties</a>.</p> </div> </div> <a class="anchor" id="abb8a6883e011f7c61e7148518c84ad51"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int TagLib::MPC::Properties::mpcVersion </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the version of the bitstream (SV4-SV8) </p> </div> </div> <a class="anchor" id="a0a25e150abe99ae37317d4ab209c6da8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceTagLib.html#a0d56da3fb97ff5e823c2c4b3aea77e25">uint</a> TagLib::MPC::Properties::sampleFrames </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="acf5d64ce5fd0110c291904563b487a76"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int TagLib::MPC::Properties::sampleRate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the sample rate in Hz. </p> <p>Implements <a class="el" href="classTagLib_1_1AudioProperties.html#a3f36c5fdcf9f6f503fd3834665c2a80e">TagLib::AudioProperties</a>.</p> </div> </div> <a class="anchor" id="a4c60cc68599f52d3724fbdba249ca64b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceTagLib.html#a0d56da3fb97ff5e823c2c4b3aea77e25">uint</a> TagLib::MPC::Properties::totalFrames </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="ae66cffa8917e88fdf44ab7b464c4dddb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int TagLib::MPC::Properties::trackGain </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the track gain as an integer value, to convert to dB: trackGain in dB = 64.82 - (trackGain / 256) </p> </div> </div> <a class="anchor" id="a6eda92b5b6e56a8f4d0df1b874dc7105"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int TagLib::MPC::Properties::trackPeak </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the track peak as an integer value, to convert to dB: trackPeak in dB = trackPeak / 256 to convert to floating [-1..1]: trackPeak = 10^(trackPeak / 256 / 20)/32768 </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="mpcproperties_8h_source.html">mpcproperties.h</a></li> </ul> </div><!-- contents --> </div> </div> </body> </html>