Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 7528ff8b241faf6d158e12599972eb96 > files > 340

taglib-doc-1.8-3.20121215git.fc18.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>TagLib::MP4::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::MP4::Properties Class Reference)</h1></td></tr>
                    <tr>
                      <td valign="bottom">
                        <div id="links">
                          <a href="index.html">Home</a>
                          <a href="inherits.html">Class&nbsp;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&nbsp;Members</a>
                          <a href="functions.html">Class&nbsp;Members</a>
                          <a href="globals.html">File&nbsp;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_1MP4.html">MP4</a></li><li class="navelem"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html">Properties</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classTagLib_1_1MP4_1_1Properties-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TagLib::MP4::Properties Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An implementation of <a class="el" href="namespaceTagLib_1_1MP4.html" title="An implementation of MP4 (AAC, ALAC, ...) metadata.">MP4</a> audio properties.  
 <a href="classTagLib_1_1MP4_1_1Properties.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mp4properties_8h_source.html">mp4properties.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TagLib::MP4::Properties:</div>
<div class="dyncontent">
<div class="center"><img src="classTagLib_1_1MP4_1_1Properties__inherit__graph.png" border="0" usemap="#TagLib_1_1MP4_1_1Properties_inherit__map" alt="Inheritance graph"/></div>
<map name="TagLib_1_1MP4_1_1Properties_inherit__map" id="TagLib_1_1MP4_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="6,5,167,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for TagLib::MP4::Properties:</div>
<div class="dyncontent">
<div class="center"><img src="classTagLib_1_1MP4_1_1Properties__coll__graph.png" border="0" usemap="#TagLib_1_1MP4_1_1Properties_coll__map" alt="Collaboration graph"/></div>
<map name="TagLib_1_1MP4_1_1Properties_coll__map" id="TagLib_1_1MP4_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="6,5,167,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:a25afa542b45894d11d5d447a30670bc3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#a25afa542b45894d11d5d447a30670bc3">Properties</a> (<a class="el" href="classTagLib_1_1MP4_1_1File.html">File</a> *file, Atoms *atoms, <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:a25afa542b45894d11d5d447a30670bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3d7172799cb0d64f0e540eb1eb36d0"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#aaa3d7172799cb0d64f0e540eb1eb36d0">~Properties</a> ()</td></tr>
<tr class="separator:aaa3d7172799cb0d64f0e540eb1eb36d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7580d73956cadac6545627e5a86b4cd1"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#a7580d73956cadac6545627e5a86b4cd1">length</a> () const </td></tr>
<tr class="separator:a7580d73956cadac6545627e5a86b4cd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0afc3426f4fc5a5c56be55580fbc403f"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#a0afc3426f4fc5a5c56be55580fbc403f">bitrate</a> () const </td></tr>
<tr class="separator:a0afc3426f4fc5a5c56be55580fbc403f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeabf72f58a9b4bc7a712915580b0afea"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#aeabf72f58a9b4bc7a712915580b0afea">sampleRate</a> () const </td></tr>
<tr class="separator:aeabf72f58a9b4bc7a712915580b0afea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe796624e151b013cd16853c7a520972"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#abe796624e151b013cd16853c7a520972">channels</a> () const </td></tr>
<tr class="separator:abe796624e151b013cd16853c7a520972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5c69683ff912a06cb91a0c1fbc60c3d"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#aa5c69683ff912a06cb91a0c1fbc60c3d">bitsPerSample</a> () const </td></tr>
<tr class="separator:aa5c69683ff912a06cb91a0c1fbc60c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ff7a70c644c678ad882c9b02ac1012"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTagLib_1_1MP4_1_1Properties.html#a50ff7a70c644c678ad882c9b02ac1012">isEncrypted</a> () const </td></tr>
<tr class="separator:a50ff7a70c644c678ad882c9b02ac1012"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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&#160;</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">&#160;</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="-"/>&#160;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 &#160;</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">&#160;</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="-"/>&#160;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">&#160;</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">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An implementation of <a class="el" href="namespaceTagLib_1_1MP4.html" title="An implementation of MP4 (AAC, ALAC, ...) metadata.">MP4</a> audio properties. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a25afa542b45894d11d5d447a30670bc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TagLib::MP4::Properties::Properties </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTagLib_1_1MP4_1_1File.html">File</a> *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Atoms *&#160;</td>
          <td class="paramname"><em>atoms</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bb">ReadStyle</a>&#160;</td>
          <td class="paramname"><em>style</em> = <code><a class="el" href="classTagLib_1_1AudioProperties.html#ae43831c9807aaf08d60d9b3b5efb67bbac7b0fcdd909bbb360f26d60c6bc57f4e">Average</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aaa3d7172799cb0d64f0e540eb1eb36d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual TagLib::MP4::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">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0afc3426f4fc5a5c56be55580fbc403f"></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::MP4::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="aa5c69683ff912a06cb91a0c1fbc60c3d"></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::MP4::Properties::bitsPerSample </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">

</div>
</div>
<a class="anchor" id="abe796624e151b013cd16853c7a520972"></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::MP4::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="a50ff7a70c644c678ad882c9b02ac1012"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TagLib::MP4::Properties::isEncrypted </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7580d73956cadac6545627e5a86b4cd1"></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::MP4::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="aeabf72f58a9b4bc7a712915580b0afea"></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::MP4::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>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mp4properties_8h_source.html">mp4properties.h</a></li>
</ul>
</div><!-- contents -->
      </div>
    </div>
  </body>
</html>