Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 8c49c9a34bf5ba680612f6535ec9849e > files > 30

libSDL_sound-devel-1.0.3-10.i586.rpm

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SDL_sound: Sound_AudioInfo Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_sound
   &#160;<span id="projectnumber">1.0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">Sound_AudioInfo Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Information about an existing sample's format.  
 <a href="structSound__AudioInfo.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="SDL__sound_8h_source.html">SDL_sound.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:afc1f02fd774a0e1d35109360496390eb"><td class="memItemLeft" align="right" valign="top">Uint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__AudioInfo.html#afc1f02fd774a0e1d35109360496390eb">format</a></td></tr>
<tr class="memitem:a2a7fe880d009e698eb0d52cde3ddfc80"><td class="memItemLeft" align="right" valign="top">Uint8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__AudioInfo.html#a2a7fe880d009e698eb0d52cde3ddfc80">channels</a></td></tr>
<tr class="memitem:abc8310e37ae527e5d92e675655d944ee"><td class="memItemLeft" align="right" valign="top">Uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__AudioInfo.html#abc8310e37ae527e5d92e675655d944ee">rate</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Information about an existing sample's format. </p>
<p>These are the basics of a decoded sample's data structure: data format (see AUDIO_U8 and friends in SDL_audio.h), number of channels, and sample rate. If you need more explanation than that, you should stop developing sound code right now.</p>
<dl class="section see"><dt>See also:</dt><dd>Sound_SampleNew </dd>
<dd>
Sound_SampleNewFromFile </dd></dl>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a2a7fe880d009e698eb0d52cde3ddfc80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint8 <a class="el" href="structSound__AudioInfo.html#a2a7fe880d009e698eb0d52cde3ddfc80">Sound_AudioInfo::channels</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Number of sound channels. 1 == mono, 2 == stereo. </p>

</div>
</div>
<a class="anchor" id="afc1f02fd774a0e1d35109360496390eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint16 <a class="el" href="structSound__AudioInfo.html#afc1f02fd774a0e1d35109360496390eb">Sound_AudioInfo::format</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Equivalent of SDL_AudioSpec.format. </p>

</div>
</div>
<a class="anchor" id="abc8310e37ae527e5d92e675655d944ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint32 <a class="el" href="structSound__AudioInfo.html#abc8310e37ae527e5d92e675655d944ee">Sound_AudioInfo::rate</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sample rate; frequency of sample points per second. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="SDL__sound_8h_source.html">SDL_sound.h</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Sat Mar 31 2012 10:17:03 for SDL_sound by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>