<!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"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>SDL_sound: Sound_DecoderInfo Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">SDL_sound  <span id="projectnumber">1.0.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</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> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <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><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">Sound_DecoderInfo Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>Information about available soudn decoders. <a href="structSound__DecoderInfo.html#details">More...</a></p> <p><code>#include <<a class="el" href="SDL__sound_8h_source.html">SDL_sound.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr class="memitem:a9f11db9acb555302fd84509198683e2a"><td class="memItemLeft" align="right" valign="top">const char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#a9f11db9acb555302fd84509198683e2a">extensions</a></td></tr> <tr class="separator:a9f11db9acb555302fd84509198683e2a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac1241b30e4121aedd4286351b27f93d5"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#ac1241b30e4121aedd4286351b27f93d5">description</a></td></tr> <tr class="separator:ac1241b30e4121aedd4286351b27f93d5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1d3c5d5d46b0f5e5026944002e1d6e36"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#a1d3c5d5d46b0f5e5026944002e1d6e36">author</a></td></tr> <tr class="separator:a1d3c5d5d46b0f5e5026944002e1d6e36"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa983be8195cd74f7dcaab2f4788309fb"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#aa983be8195cd74f7dcaab2f4788309fb">url</a></td></tr> <tr class="separator:aa983be8195cd74f7dcaab2f4788309fb"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Information about available soudn decoders. </p> <p>Each decoder sets up one of these structs, which can be retrieved via the <a class="el" href="SDL__sound_8h.html#abbae3fccdec9fad347aa71a29bd4f074" title="Get a list of sound formats supported by this version of SDL_sound. ">Sound_AvailableDecoders()</a> function. EVERY FIELD IN THIS IS READ-ONLY.</p> <p>The extensions field is a NULL-terminated list of ASCIZ strings. You should read it like this:</p> <div class="fragment"><div class="line">* <span class="keyword">const</span> <span class="keywordtype">char</span> **ext;</div> <div class="line">* <span class="keywordflow">for</span> (ext = info->extensions; *ext != NULL; ext++) {</div> <div class="line">* printf(<span class="stringliteral">" File extension \"%s\"\n"</span>, *ext);</div> <div class="line">* }</div> <div class="line">* </div> </div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="SDL__sound_8h.html#abbae3fccdec9fad347aa71a29bd4f074" title="Get a list of sound formats supported by this version of SDL_sound. ">Sound_AvailableDecoders</a> </dd></dl> </div><h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="a1d3c5d5d46b0f5e5026944002e1d6e36"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* Sound_DecoderInfo::author</td> </tr> </table> </div><div class="memdoc"> <p>"Name Of Author \<email@emailhost.dom\>" </p> </div> </div> <a class="anchor" id="ac1241b30e4121aedd4286351b27f93d5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* Sound_DecoderInfo::description</td> </tr> </table> </div><div class="memdoc"> <p>Human readable description of decoder. </p> </div> </div> <a class="anchor" id="a9f11db9acb555302fd84509198683e2a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char** Sound_DecoderInfo::extensions</td> </tr> </table> </div><div class="memdoc"> <p>File extensions, list ends with NULL. </p> </div> </div> <a class="anchor" id="aa983be8195cd74f7dcaab2f4788309fb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* Sound_DecoderInfo::url</td> </tr> </table> </div><div class="memdoc"> <p>URL specific to this decoder. </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 --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Oct 17 2013 22:15:33 for SDL_sound by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>