ponytracker/documentation/html/lecture_8h.html

216 lines
12 KiB
HTML

<!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: Référence du fichier sources/lecture/lecture.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="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_a0ced6c35a98b4c7fb5b02604504764a.html">lecture</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Fonctions</a> </div>
<div class="headertitle">
<div class="title">Référence du fichier lecture.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="melodie_8h_source.html">../melodie/melodie.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="instruments_8h_source.html">../instruments/instruments.h</a>&quot;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="fmod_8h_source.html">../fmod/include/fmod.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de lecture.h:</div>
<div class="dyncontent">
<div class="center"><img src="lecture_8h__incl.png" border="0" usemap="#sources_2lecture_2lecture_8h" alt=""/></div>
<map name="sources_2lecture_2lecture_8h" id="sources_2lecture_2lecture_8h">
</map>
</div>
</div><div class="textblock"><div class="dynheader">
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :</div>
<div class="dyncontent">
<div class="center"><img src="lecture_8h__dep__incl.png" border="0" usemap="#sources_2lecture_2lecture_8hdep" alt=""/></div>
<map name="sources_2lecture_2lecture_8hdep" id="sources_2lecture_2lecture_8hdep">
</map>
</div>
</div>
<p><a href="lecture_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:abc1160ea40fd2076c48cf3526db54b6f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="lecture_8h.html#abc1160ea40fd2076c48cf3526db54b6f">NBR_MS</a></td></tr>
<tr class="separator:abc1160ea40fd2076c48cf3526db54b6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a3132020e71a2cf5ac7ab656d21c93e79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="lecture_8h.html#a3132020e71a2cf5ac7ab656d21c93e79">lecture</a> (int nbrChaines, int nombreInst, int tempo, <a class="el" href="instruments_8h.html#a3ea24ed3c5f97006fe85fb5e0d168ebf">Instrument</a> *<a class="el" href="main_8c.html#a51daa158cc3ad050d5aed7b500f18886">inst</a>[], <a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *<a class="el" href="main_8c.html#a083d54258ee653fcb86365fce1e67bf3">melodie</a>[])</td></tr>
<tr class="separator:a3132020e71a2cf5ac7ab656d21c93e79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
<div class="textblock"><p>Lecture de la mélodie</p>
<dl class="section version"><dt>Version</dt><dd>1 </dd></dl>
<dl class="section author"><dt>Auteur</dt><dd>Quentin, Guy </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Mai 2014 </dd></dl>
<p>Définition dans le fichier <a class="el" href="lecture_8h_source.html">lecture.h</a>.</p>
</div><h2 class="groupheader">Documentation des macros</h2>
<a class="anchor" id="abc1160ea40fd2076c48cf3526db54b6f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define NBR_MS</td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="lecture_8h_source.html#l00024">24</a> du fichier <a class="el" href="lecture_8h_source.html">lecture.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Documentation des fonctions</h2>
<a class="anchor" id="a3132020e71a2cf5ac7ab656d21c93e79"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> lecture </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nbrChaines</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>nombreInst</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>tempo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="instruments_8h.html#a3ea24ed3c5f97006fe85fb5e0d168ebf">Instrument</a> *&#160;</td>
<td class="paramname"><em>inst</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="motifs_8h.html#a1ad48e14f9d1942401858dab039b3449">Motif</a> *&#160;</td>
<td class="paramname"><em>melodie</em>[]&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Permet la lecture d'un motif </p>
<dl class="params"><dt>Paramètres</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">nbrChaines</td><td>: nombre de chaines </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">tempo</td><td>: vitesse de lecture </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">melodie[]</td><td>: tableau ordonné des motifs </td></tr>
</table>
</dd>
</dl>
<p>Définition à la ligne <a class="el" href="lecture_8c_source.html#l00046">46</a> du fichier <a class="el" href="lecture_8c_source.html">lecture.c</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi 22 Mai 2014 00:09:14 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>