ponytracker/documentation/latex/instruments_8c.tex

154 lines
7.4 KiB
TeX
Raw Normal View History

2014-05-20 13:17:26 +02:00
\hypertarget{instruments_8c}{\section{Référence du fichier sources/instruments/instruments.c}
\label{instruments_8c}\index{sources/instruments/instruments.\-c@{sources/instruments/instruments.\-c}}
}
{\ttfamily \#include \char`\"{}instruments.\-h\char`\"{}}\\*
Graphe des dépendances par inclusion de instruments.\-c\-:
\subsection*{Fonctions}
\begin{DoxyCompactItemize}
\item
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a5bf07257c1018526706f17f5dd2e453d}{ajouter\-Instrument} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$tab\mbox{[}$\,$\mbox{]}, int i)
\item
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a1b4d0adf7a9012b51b6cf75146ce8e87}{supprimer\-Instrument} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$tab\mbox{[}$\,$\mbox{]}, int i)
\item
int \hyperlink{instruments_8c_a61e64131ac7d4ab157492278e13c8c86}{get\-Volume} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst)
\item
int \hyperlink{instruments_8c_a1bff83ef5393fa8e882dc0c5b7660fcd}{get\-Balance} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst)
\item
char $\ast$ \hyperlink{instruments_8c_aa4f31c49f61e26b4b93aef01d63e5ec7}{get\-Nom\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst)
\item
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_abd1a070026808669fdf4b452da81d0f6}{set\-Volume} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst, int volume)
\item
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_ae1988f980b621165d938c5ac6b541d25}{set\-Balance} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst, int balance)
\item
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{instruments_8c_a1f6ed72cbc1a2aa4dae0863269e728e2}{set\-Nom\-Inst} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst, char $\ast$nom)
\item
\hyperlink{fmod_8h_aeb841aa4b4b5f444b5d739d865b420af}{float} \hyperlink{instruments_8c_a23b2d1a486a42541c8d094bacbf4c1b8}{rapport\-Pitch} (\hyperlink{instruments_8h_a3ea24ed3c5f97006fe85fb5e0d168ebf}{Instrument} $\ast$inst, int note, int octave)
\end{DoxyCompactItemize}
\subsection{Description détaillée}
Implémentation de sample.\-h
\begin{DoxyVersion}{Version}
1
\end{DoxyVersion}
\begin{DoxyAuthor}{Auteur}
Guy
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
Mai 2014
\end{DoxyDate}
Définition dans le fichier \hyperlink{instruments_8c_source}{instruments.\-c}.
\subsection{Documentation des fonctions}
\hypertarget{instruments_8c_a5bf07257c1018526706f17f5dd2e453d}{\index{instruments.\-c@{instruments.\-c}!ajouter\-Instrument@{ajouter\-Instrument}}
\index{ajouter\-Instrument@{ajouter\-Instrument}!instruments.c@{instruments.\-c}}
\subsubsection[{ajouter\-Instrument}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} ajouter\-Instrument (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{tab\mbox{[}$\,$\mbox{]}, }
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a5bf07257c1018526706f17f5dd2e453d}
Définition à la ligne 13 du fichier instruments.\-c.
\hypertarget{instruments_8c_a1bff83ef5393fa8e882dc0c5b7660fcd}{\index{instruments.\-c@{instruments.\-c}!get\-Balance@{get\-Balance}}
\index{get\-Balance@{get\-Balance}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Balance}]{\setlength{\rightskip}{0pt plus 5cm}int get\-Balance (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a1bff83ef5393fa8e882dc0c5b7660fcd}
Définition à la ligne 26 du fichier instruments.\-c.
\hypertarget{instruments_8c_aa4f31c49f61e26b4b93aef01d63e5ec7}{\index{instruments.\-c@{instruments.\-c}!get\-Nom\-Inst@{get\-Nom\-Inst}}
\index{get\-Nom\-Inst@{get\-Nom\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Nom\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ get\-Nom\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_aa4f31c49f61e26b4b93aef01d63e5ec7}
Définition à la ligne 30 du fichier instruments.\-c.
\hypertarget{instruments_8c_a61e64131ac7d4ab157492278e13c8c86}{\index{instruments.\-c@{instruments.\-c}!get\-Volume@{get\-Volume}}
\index{get\-Volume@{get\-Volume}!instruments.c@{instruments.\-c}}
\subsubsection[{get\-Volume}]{\setlength{\rightskip}{0pt plus 5cm}int get\-Volume (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a61e64131ac7d4ab157492278e13c8c86}
Définition à la ligne 22 du fichier instruments.\-c.
\hypertarget{instruments_8c_a23b2d1a486a42541c8d094bacbf4c1b8}{\index{instruments.\-c@{instruments.\-c}!rapport\-Pitch@{rapport\-Pitch}}
\index{rapport\-Pitch@{rapport\-Pitch}!instruments.c@{instruments.\-c}}
\subsubsection[{rapport\-Pitch}]{\setlength{\rightskip}{0pt plus 5cm}{\bf float} rapport\-Pitch (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{int}]{note, }
\item[{int}]{octave}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a23b2d1a486a42541c8d094bacbf4c1b8}
Définition à la ligne 45 du fichier instruments.\-c.
\hypertarget{instruments_8c_ae1988f980b621165d938c5ac6b541d25}{\index{instruments.\-c@{instruments.\-c}!set\-Balance@{set\-Balance}}
\index{set\-Balance@{set\-Balance}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Balance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Balance (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{int}]{balance}
\end{DoxyParamCaption}
)}}\label{instruments_8c_ae1988f980b621165d938c5ac6b541d25}
Définition à la ligne 37 du fichier instruments.\-c.
\hypertarget{instruments_8c_a1f6ed72cbc1a2aa4dae0863269e728e2}{\index{instruments.\-c@{instruments.\-c}!set\-Nom\-Inst@{set\-Nom\-Inst}}
\index{set\-Nom\-Inst@{set\-Nom\-Inst}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Nom\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Nom\-Inst (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{char $\ast$}]{nom}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a1f6ed72cbc1a2aa4dae0863269e728e2}
Définition à la ligne 41 du fichier instruments.\-c.
\hypertarget{instruments_8c_abd1a070026808669fdf4b452da81d0f6}{\index{instruments.\-c@{instruments.\-c}!set\-Volume@{set\-Volume}}
\index{set\-Volume@{set\-Volume}!instruments.c@{instruments.\-c}}
\subsubsection[{set\-Volume}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} set\-Volume (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{inst, }
\item[{int}]{volume}
\end{DoxyParamCaption}
)}}\label{instruments_8c_abd1a070026808669fdf4b452da81d0f6}
Définition à la ligne 33 du fichier instruments.\-c.
\hypertarget{instruments_8c_a1b4d0adf7a9012b51b6cf75146ce8e87}{\index{instruments.\-c@{instruments.\-c}!supprimer\-Instrument@{supprimer\-Instrument}}
\index{supprimer\-Instrument@{supprimer\-Instrument}!instruments.c@{instruments.\-c}}
\subsubsection[{supprimer\-Instrument}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} supprimer\-Instrument (
\begin{DoxyParamCaption}
\item[{{\bf Instrument} $\ast$}]{tab\mbox{[}$\,$\mbox{]}, }
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{instruments_8c_a1b4d0adf7a9012b51b6cf75146ce8e87}
Définition à la ligne 18 du fichier instruments.\-c.