ponytracker/documentation/html/_vol_pan_8c_source.html

122 lines
10 KiB
HTML
Raw Permalink Blame 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/VolPan/VolPan.c</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="namespaces.html"><span>Espaces&#160;de&#160;nommage</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>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Définitions de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><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_009abc1c975bfca7004e3ef8f85ae9f3.html">VolPan</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">VolPan.c</div> </div>
</div><!--header-->
<div class="contents">
<a href="_vol_pan_8c.html">Aller à la documentation de ce fichier.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_vol_pan_8h.html">VolPan.h</a>&quot;</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;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="_vol_pan_8c.html#a9c7c9b93628fbf6cab1b7199c478e307"> 6</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="_vol_pan_8c.html#a9c7c9b93628fbf6cab1b7199c478e307">pan</a> (<span class="keywordtype">int</span> <a class="code" href="fmod__codec_8h.html#a7d71cf36b6a2fc185ecbc89f93fa58a3">position</a>, <a class="code" href="fmod_8h.html#a9fb107c7e07c194c97e0a668f29016b1">FMOD_CHANNEL</a> *chan) { <span class="comment">// La fonction prend en entr<74>e un entier entre -1 (son <20> gauche) et 1 (son <20> droite)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; <a class="code" href="fmod_8h.html#acddf22889b0d89e32e35b22a22027bbb">FMOD_Channel_SetPan</a>(chan, position); <span class="comment">// et la chaine FMOD <20> affecter</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;}</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="_vol_pan_8c.html#a8a204ec58fb12dbceb0957225830b03b"> 10</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="_vol_pan_8c.html#a8a204ec58fb12dbceb0957225830b03b">vol</a> (<span class="keywordtype">int</span> volume, <a class="code" href="fmod_8h.html#a9fb107c7e07c194c97e0a668f29016b1">FMOD_CHANNEL</a> *chan) { <span class="comment">// La fonction prend en entr<74>e un entier entre 0 (-inf dB) et 1 (0 dB)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <a class="code" href="fmod_8h.html#a0f812704941a9f3f5aa84a34c35f2e6b">FMOD_Channel_SetVolume</a>(chan, volume); <span class="comment">// et la chaine FMOD <20> affecter</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;}</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
<div class="ttc" id="_vol_pan_8c_html_a8a204ec58fb12dbceb0957225830b03b"><div class="ttname"><a href="_vol_pan_8c.html#a8a204ec58fb12dbceb0957225830b03b">vol</a></div><div class="ttdeci">void vol(int volume, FMOD_CHANNEL *chan)</div><div class="ttdef"><b>Definition:</b> <a href="_vol_pan_8c_source.html#l00010">VolPan.c:10</a></div></div>
<div class="ttc" id="_vol_pan_8c_html_a9c7c9b93628fbf6cab1b7199c478e307"><div class="ttname"><a href="_vol_pan_8c.html#a9c7c9b93628fbf6cab1b7199c478e307">pan</a></div><div class="ttdeci">void pan(int position, FMOD_CHANNEL *chan)</div><div class="ttdef"><b>Definition:</b> <a href="_vol_pan_8c_source.html#l00006">VolPan.c:6</a></div></div>
<div class="ttc" id="_vol_pan_8h_html"><div class="ttname"><a href="_vol_pan_8h.html">VolPan.h</a></div></div>
<div class="ttc" id="fmod__codec_8h_html_a7d71cf36b6a2fc185ecbc89f93fa58a3"><div class="ttname"><a href="fmod__codec_8h.html#a7d71cf36b6a2fc185ecbc89f93fa58a3">position</a></div><div class="ttdeci">int unsigned int position</div><div class="ttdef"><b>Definition:</b> <a href="fmod__codec_8h_source.html#l00023">fmod_codec.h:23</a></div></div>
<div class="ttc" id="fmod_8h_html_a9fb107c7e07c194c97e0a668f29016b1"><div class="ttname"><a href="fmod_8h.html#a9fb107c7e07c194c97e0a668f29016b1">FMOD_CHANNEL</a></div><div class="ttdeci">struct FMOD_CHANNEL FMOD_CHANNEL</div><div class="ttdef"><b>Definition:</b> <a href="fmod_8h_source.html#l00066">fmod.h:66</a></div></div>
<div class="ttc" id="fmod_8h_html_acddf22889b0d89e32e35b22a22027bbb"><div class="ttname"><a href="fmod_8h.html#acddf22889b0d89e32e35b22a22027bbb">FMOD_Channel_SetPan</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_Channel_SetPan(FMOD_CHANNEL *channel, float pan)</div></div>
<div class="ttc" id="fmod_8h_html_a0f812704941a9f3f5aa84a34c35f2e6b"><div class="ttname"><a href="fmod_8h.html#a0f812704941a9f3f5aa84a34c35f2e6b">FMOD_Channel_SetVolume</a></div><div class="ttdeci">FMOD_RESULT F_API FMOD_Channel_SetVolume(FMOD_CHANNEL *channel, float volume)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi 22 Mai 2014 00:09:13 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>