77 lines
3.0 KiB
TeX
77 lines
3.0 KiB
TeX
\hypertarget{lecture_8h}{\section{Référence du fichier sources/lecture/lecture.h}
|
|
\label{lecture_8h}\index{sources/lecture/lecture.\-h@{sources/lecture/lecture.\-h}}
|
|
}
|
|
{\ttfamily \#include \char`\"{}../melodie/melodie.\-h\char`\"{}}\\*
|
|
{\ttfamily \#include \char`\"{}../instruments/instruments.\-h\char`\"{}}\\*
|
|
{\ttfamily \#include $<$stdio.\-h$>$}\\*
|
|
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
|
|
{\ttfamily \#include $<$unistd.\-h$>$}\\*
|
|
{\ttfamily \#include \char`\"{}../fmod/include/fmod.\-h\char`\"{}}\\*
|
|
Graphe des dépendances par inclusion de lecture.\-h\-:
|
|
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier \-:
|
|
\subsection*{Macros}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\#define \hyperlink{lecture_8h_abc1160ea40fd2076c48cf3526db54b6f}{N\-B\-R\-\_\-\-M\-S}
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Fonctions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{lecture_8h_a3132020e71a2cf5ac7ab656d21c93e79}{lecture} (int nbr\-Chaines, int nombre\-Inst, int tempo, \hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$\hyperlink{main_8c_a51daa158cc3ad050d5aed7b500f18886}{inst}\mbox{[}$\,$\mbox{]}, \hyperlink{motifs_8h_a1ad48e14f9d1942401858dab039b3449}{Motif} $\ast$\hyperlink{main_8c_a083d54258ee653fcb86365fce1e67bf3}{melodie}\mbox{[}$\,$\mbox{]})
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Description détaillée}
|
|
Lecture de la mélodie
|
|
|
|
\begin{DoxyVersion}{Version}
|
|
1
|
|
\end{DoxyVersion}
|
|
\begin{DoxyAuthor}{Auteur}
|
|
Quentin, Guy
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
Mai 2014
|
|
\end{DoxyDate}
|
|
|
|
|
|
Définition dans le fichier \hyperlink{lecture_8h_source}{lecture.\-h}.
|
|
|
|
|
|
|
|
\subsection{Documentation des macros}
|
|
\hypertarget{lecture_8h_abc1160ea40fd2076c48cf3526db54b6f}{\index{lecture.\-h@{lecture.\-h}!N\-B\-R\-\_\-\-M\-S@{N\-B\-R\-\_\-\-M\-S}}
|
|
\index{N\-B\-R\-\_\-\-M\-S@{N\-B\-R\-\_\-\-M\-S}!lecture.h@{lecture.\-h}}
|
|
\subsubsection[{N\-B\-R\-\_\-\-M\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-B\-R\-\_\-\-M\-S}}\label{lecture_8h_abc1160ea40fd2076c48cf3526db54b6f}
|
|
|
|
|
|
Définition à la ligne 24 du fichier lecture.\-h.
|
|
|
|
|
|
|
|
\subsection{Documentation des fonctions}
|
|
\hypertarget{lecture_8h_a3132020e71a2cf5ac7ab656d21c93e79}{\index{lecture.\-h@{lecture.\-h}!lecture@{lecture}}
|
|
\index{lecture@{lecture}!lecture.h@{lecture.\-h}}
|
|
\subsubsection[{lecture}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} lecture (
|
|
\begin{DoxyParamCaption}
|
|
\item[{int}]{nbr\-Chaines, }
|
|
\item[{int}]{nombre\-Inst, }
|
|
\item[{int}]{tempo, }
|
|
\item[{{\bf Instrument} $\ast$}]{inst\mbox{[}$\,$\mbox{]}, }
|
|
\item[{{\bf Motif} $\ast$}]{melodie\mbox{[}$\,$\mbox{]}}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{lecture_8h_a3132020e71a2cf5ac7ab656d21c93e79}
|
|
Permet la lecture d'un motif
|
|
\begin{DoxyParams}[1]{Paramètres}
|
|
\mbox{\tt in} & {\em nbr\-Chaines} & \-: nombre de chaines \\
|
|
\hline
|
|
\mbox{\tt in} & {\em tempo} & \-: vitesse de lecture \\
|
|
\hline
|
|
\mbox{\tt in} & {\em melodie\mbox{[}$\,$\mbox{]}} & \-: tableau ordonné des motifs \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Définition à la ligne 46 du fichier lecture.\-c.
|
|
|