<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>SDL_sound: Sound_DecoderInfo 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.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 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>Sound_DecoderInfo Struct Reference</h1><!-- doxytag: class="Sound_DecoderInfo" -->Information about available soudn decoders. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="SDL__sound_8h_source.html">SDL_sound.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#9f11db9acb555302fd84509198683e2a">extensions</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#c1241b30e4121aedd4286351b27f93d5">description</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#1d3c5d5d46b0f5e5026944002e1d6e36">author</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSound__DecoderInfo.html#a983be8195cd74f7dcaab2f4788309fb">url</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Information about available soudn decoders. <p> Each decoder sets up one of these structs, which can be retrieved via the <a class="el" href="SDL__sound_8h.html#bbae3fccdec9fad347aa71a29bd4f074" 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> The extensions field is a NULL-terminated list of ASCIZ strings. You should read it like this:<p> <div class="fragment"><pre class="fragment"> <span class="keyword">const</span> <span class="keywordtype">char</span> **ext; <span class="keywordflow">for</span> (ext = info->extensions; *ext != NULL; ext++) { printf(<span class="stringliteral">" File extension \"%s\"\n"</span>, *ext); } </pre></div><p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="SDL__sound_8h.html#bbae3fccdec9fad347aa71a29bd4f074" title="Get a list of sound formats supported by this version of SDL_sound.">Sound_AvailableDecoders</a> </dd></dl> <hr><h2>Field Documentation</h2> <a class="anchor" name="1d3c5d5d46b0f5e5026944002e1d6e36"></a><!-- doxytag: member="Sound_DecoderInfo::author" ref="1d3c5d5d46b0f5e5026944002e1d6e36" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="structSound__DecoderInfo.html#1d3c5d5d46b0f5e5026944002e1d6e36">Sound_DecoderInfo::author</a> </td> </tr> </table> </div> <div class="memdoc"> <p> "Name Of Author \<email@emailhost.dom\>" </div> </div><p> <a class="anchor" name="c1241b30e4121aedd4286351b27f93d5"></a><!-- doxytag: member="Sound_DecoderInfo::description" ref="c1241b30e4121aedd4286351b27f93d5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="structSound__DecoderInfo.html#c1241b30e4121aedd4286351b27f93d5">Sound_DecoderInfo::description</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Human readable description of decoder. </div> </div><p> <a class="anchor" name="9f11db9acb555302fd84509198683e2a"></a><!-- doxytag: member="Sound_DecoderInfo::extensions" ref="9f11db9acb555302fd84509198683e2a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char** <a class="el" href="structSound__DecoderInfo.html#9f11db9acb555302fd84509198683e2a">Sound_DecoderInfo::extensions</a> </td> </tr> </table> </div> <div class="memdoc"> <p> File extensions, list ends with NULL. </div> </div><p> <a class="anchor" name="a983be8195cd74f7dcaab2f4788309fb"></a><!-- doxytag: member="Sound_DecoderInfo::url" ref="a983be8195cd74f7dcaab2f4788309fb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* <a class="el" href="structSound__DecoderInfo.html#a983be8195cd74f7dcaab2f4788309fb">Sound_DecoderInfo::url</a> </td> </tr> </table> </div> <div class="memdoc"> <p> URL specific to this decoder. </div> </div><p> <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></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Thu Aug 20 13:53:21 2009 for SDL_sound by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>