ponytracker/documentation/html/fmod__errors_8h_source.html

228 lines
40 KiB
HTML
Raw Normal View History

<!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.6"/>
<title>PonyTracker: Fichier source de sources/fmod/include/fmod_errors.h</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</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 id="projectlogo"><img alt="Logo" src="vinyl.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">PonyTracker
</div>
<div id="projectbrief">Un projet de tracker de musique</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Page&#160;principale</span></a></li>
<li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
<li class="current"><a href="files.html"><span>Fichiers</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Recherche" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
<li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_08d237fc27d4ecd563f71c5d52f2fecc.html">sources</a></li><li class="navelem"><a class="el" href="dir_6c19ee39fd311a71af45ad229c43c5f0.html">fmod</a></li><li class="navelem"><a class="el" href="dir_3842d752ecd7b678829e19c90d796d7e.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">fmod_errors.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*$ preserve start $*/</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">/* ============================================================================================== */</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">/* FMOD Ex - Error string header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2014. */</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">/* */</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">/* Use this header if you want to store or display a string version / english explanation of */</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">/* the FMOD error codes. */</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">/* */</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">/* ============================================================================================== */</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#ifndef _FMOD_ERRORS_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _FMOD_ERRORS_H</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;fmod.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#ifdef __GNUC__ </span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"></span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *FMOD_ErrorString(FMOD_RESULT errcode) __attribute__((unused));</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *FMOD_ErrorString(FMOD_RESULT errcode)</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keywordflow">switch</span> (errcode)</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; {</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">/*$ preserve end $*/</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_ALREADYLOCKED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to call lock a second time before unlock was called. &quot;</span>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_BADCOMMAND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to call a function on a data type that does not allow this type of functionality (ie calling Sound::lock on a streaming sound). &quot;</span>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_DRIVERS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Neither NTSCSI nor ASPI could be initialised. &quot;</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_INIT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An error occurred while initialising the CDDA subsystem. &quot;</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_INVALID_DEVICE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Couldn&#39;t find the specified device. &quot;</span>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_NOAUDIO: <span class="keywordflow">return</span> <span class="stringliteral">&quot;No audio tracks on the specified disc. &quot;</span>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_NODEVICES: <span class="keywordflow">return</span> <span class="stringliteral">&quot;No CD/DVD devices were found. &quot;</span>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_NODISC: <span class="keywordflow">return</span> <span class="stringliteral">&quot;No disc present in the specified drive. &quot;</span>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CDDA_READ: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A CDDA read error occurred. &quot;</span>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CHANNEL_ALLOC: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error trying to allocate a channel. &quot;</span>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_CHANNEL_STOLEN: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified channel has been reused to play another sound. &quot;</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_COM: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A Win32 COM related error occured. COM failed to initialize or a QueryInterface failed meaning a Windows codec or driver was not installed properly. &quot;</span>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_DMA: <span class="keywordflow">return</span> <span class="stringliteral">&quot;DMA Failure. See debug output for more information. &quot;</span>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_DSP_CONNECTION: <span class="keywordflow">return</span> <span class="stringliteral">&quot;DSP connection error. Connection possibly caused a cyclic dependancy. Or tried to connect a tree too many units deep (more than 128). &quot;</span>;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_DSP_FORMAT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format. &quot;</span>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_DSP_NOTFOUND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;DSP connection error. Couldn&#39;t find the DSP unit specified. &quot;</span>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_DSP_RUNNING: <span class="keywordflow">return</span> <span class="stringliteral">&quot;DSP error. Cannot perform this operation while the network is in the middle of running. This will most likely happen if a connection or disconnection is attempted in a DSP callback. &quot;</span>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_DSP_TOOMANYCONNECTIONS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;DSP connection error. The unit being connected to or disconnected should only have 1 input or output. &quot;</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_ALREADY_LOADED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified project or bank has already been loaded. Having multiple copies of the same project loaded simultaneously is forbidden. &quot;</span>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_FAILED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An Event failed to be retrieved, most likely due to &#39;just fail&#39; being specified as the max playbacks behavior. &quot;</span>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_GUIDCONFLICT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An event with the same GUID already exists. &quot;</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_INFOONLY: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Can&#39;t execute this command on an EVENT_INFOONLY event. &quot;</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_INTERNAL: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An error occured that wasn&#39;t supposed to. See debug log for reason. &quot;</span>;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_MAXSTREAMS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Event failed because &#39;Max streams&#39; was hit when FMOD_EVENT_INIT_FAIL_ON_MAXSTREAMS was specified. &quot;</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_MISMATCH: <span class="keywordflow">return</span> <span class="stringliteral">&quot;FSB mismatches the FEV it was compiled with, the stream/sample mode it was meant to be created with was different, or the FEV was built for a different platform. &quot;</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_NAMECONFLICT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A category with the same name already exists. &quot;</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_NEEDSSIMPLE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to call a function on a complex event that&#39;s only supported by simple events. &quot;</span>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_EVENT_NOTFOUND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The requested event, event group, event category or event property could not be found. &quot;</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FILE_BAD: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error loading file. &quot;</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FILE_COULDNOTSEEK: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Couldn&#39;t perform seek operation. This is a limitation of the medium (ie netstreams) or the file format. &quot;</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FILE_DISKEJECTED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Media was ejected while reading. &quot;</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FILE_EOF: <span class="keywordflow">return</span> <span class="stringliteral">&quot;End of file unexpectedly reached while trying to read essential data (truncated data?). &quot;</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FILE_NOTFOUND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;File not found. &quot;</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FILE_UNWANTED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Unwanted file access occured. &quot;</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_FORMAT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Unsupported file or audio format. &quot;</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_HTTP: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere. &quot;</span>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_HTTP_ACCESS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified resource requires authentication or is forbidden. &quot;</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_HTTP_PROXY_AUTH: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Proxy authentication is required to access the specified resource. &quot;</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_HTTP_SERVER_ERROR: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A HTTP server error occurred. &quot;</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_HTTP_TIMEOUT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The HTTP request timed out. &quot;</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INITIALIZATION: <span class="keywordflow">return</span> <span class="stringliteral">&quot;FMOD was not initialized correctly to support this function. &quot;</span>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INITIALIZED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Cannot call this command after System::init. &quot;</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INTERNAL: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An error occured that wasn&#39;t supposed to. Contact support. &quot;</span>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_ADDRESS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;On Xbox 360, this memory address passed to FMOD must be physical, (ie allocated with XPhysicalAlloc.) &quot;</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_FLOAT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Value passed in was a NaN, Inf or denormalized float. &quot;</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_HANDLE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An invalid object handle was used. &quot;</span>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_PARAM: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An invalid parameter was passed to this function. &quot;</span>;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_POSITION: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An invalid seek position was passed to this function. &quot;</span>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_SPEAKER: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An invalid speaker was passed to this function based on the current speaker mode. &quot;</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_SYNCPOINT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The syncpoint did not come from this sound handle. &quot;</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_INVALID_VECTOR: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The vectors passed in are not unit length, or perpendicular. &quot;</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MAXAUDIBLE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Reached maximum audible playback count for this sound&#39;s soundgroup. &quot;</span>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MEMORY: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Not enough memory or resources. &quot;</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MEMORY_CANTPOINT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Can&#39;t use FMOD_OPENMEMORY_POINT on non PCM source data, or non mp3/xma/adpcm data if FMOD_CREATECOMPRESSEDSAMPLE was used. &quot;</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MEMORY_SRAM: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Not enough memory or resources on console sound ram. &quot;</span>;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MUSIC_NOCALLBACK: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The music callback is required, but it has not been set. &quot;</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MUSIC_NOTFOUND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The requested music entity could not be found. &quot;</span>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_MUSIC_UNINITIALIZED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Music system is not initialized probably because no music data is loaded. &quot;</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NEEDS2D: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to call a command on a 3d sound when the command was meant for 2d sound. &quot;</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NEEDS3D: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to call a command on a 2d sound when the command was meant for 3d sound. &quot;</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NEEDSHARDWARE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to use a feature that requires hardware support. (ie trying to play a GCADPCM compressed sound in software on Wii). &quot;</span>;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NEEDSSOFTWARE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Tried to use a feature that requires the software engine. Software engine has either been turned off, or command was executed on a hardware channel which does not support this feature. &quot;</span>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NET_CONNECT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Couldn&#39;t connect to the specified host. &quot;</span>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NET_SOCKET_ERROR: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere. &quot;</span>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NET_URL: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified URL couldn&#39;t be resolved. &quot;</span>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NET_WOULD_BLOCK: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Operation on a non-blocking socket could not complete immediately. &quot;</span>;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_NOTREADY: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Operation could not be performed because specified sound/DSP connection is not ready. &quot;</span>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_ALLOCATED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error initializing output device, but more specifically, the output device is already in use and cannot be reused. &quot;</span>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_CREATEBUFFER: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error creating hardware sound buffer. &quot;</span>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_DRIVERCALL: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted. &quot;</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_ENUMERATION: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error enumerating the available driver list. List may be inconsistent due to a recent device addition or removal. &quot;</span>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_FORMAT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Soundcard does not support the minimum features needed for this soundsystem (16bit stereo output). &quot;</span>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_INIT: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Error initializing output device. &quot;</span>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_NOHARDWARE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;FMOD_HARDWARE was specified but the sound card does not have the resources necessary to play it. &quot;</span>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_OUTPUT_NOSOFTWARE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Attempted to create a software sound but no software channels were specified in System::init. &quot;</span>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PAN: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Panning only works with mono or stereo sound sources. &quot;</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PLUGIN: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An unspecified error has been returned from a 3rd party plugin. &quot;</span>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PLUGIN_INSTANCES: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The number of allowed instances of a plugin has been exceeded. &quot;</span>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PLUGIN_MISSING: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A requested output, dsp unit type or codec was not available. &quot;</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PLUGIN_RESOURCE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback or other DLLs that it needs to load) &quot;</span>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PRELOADED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified sound is still in use by the event system, call EventSystem::unloadFSB before trying to release it. &quot;</span>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_PROGRAMMERSOUND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified sound is still in use by the event system, wait for the event which is using it finish with it. &quot;</span>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_RECORD: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An error occured trying to initialize the recording device. &quot;</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_REVERB_INSTANCE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Specified instance in FMOD_REVERB_PROPERTIES couldn&#39;t be set. Most likely because it is an invalid instance number or the reverb doesnt exist. &quot;</span>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_SUBSOUNDS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The error occured because the sound referenced contains subsounds when it shouldn&#39;t have, or it doesn&#39;t contain subsounds when it should have. The operation may also not be able to be performed on a parent sound, or a parent sound was played without setting up a sentence first. &quot;</span>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_SUBSOUND_ALLOCATED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null out the other parent&#39;s entry first. &quot;</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_SUBSOUND_CANTMOVE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file. &quot;</span>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_SUBSOUND_MODE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The subsound&#39;s mode bits do not match with the parent sound&#39;s mode bits. See documentation for function that it was called with. &quot;</span>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_TAGNOTFOUND: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The specified tag could not be found or there are no tags. &quot;</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_TOOMANYCHANNELS: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The sound created exceeds the allowable input channel count. This can be increased using the maxinputchannels parameter in System::setSoftwareFormat. &quot;</span>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_UNIMPLEMENTED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;Something in FMOD hasn&#39;t been implemented when it should be! contact support! &quot;</span>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_UNINITIALIZED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;This command failed because System::init or System::setDriver was not called. &quot;</span>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_UNSUPPORTED: <span class="keywordflow">return</span> <span class="stringliteral">&quot;A command issued was not supported by this object. Possibly a plugin without certain callbacks specified. &quot;</span>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_UPDATE: <span class="keywordflow">return</span> <span class="stringliteral">&quot;An error caused by System::update occured. &quot;</span>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">case</span> FMOD_ERR_VERSION: <span class="keywordflow">return</span> <span class="stringliteral">&quot;The version number of this file format is not supported. &quot;</span>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">case</span> FMOD_OK: <span class="keywordflow">return</span> <span class="stringliteral">&quot;No errors.&quot;</span>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">default</span> : <span class="keywordflow">return</span> <span class="stringliteral">&quot;Unknown error.&quot;</span>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="comment">/*$ preserve start $*/</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; };</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;}</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor"></span><span class="comment">/*$ preserve end $*/</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi 15 Mai 2014 16:53:16 pour PonyTracker par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>