\section{include/rom/sound.h File Reference}
\label{sound_8h}\index{include/rom/sound.h@{include/rom/sound.h}}
ROM Interface: RCX sound functions. 

\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf sound\_\-system} (unsigned nr)
\begin{CompactList}\small\item\em play one of the system sounds. \item\end{CompactList}\item 
int {\bf sound\_\-playing} (void)
\begin{CompactList}\small\item\em is a sound playing? \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
ROM Interface: RCX sound functions. 

\begin{Desc}
\item[Author:]Markus L. Noga $<${\tt markus@noga.de}$>$\end{Desc}
\begin{Desc}
\item[Warning:]These functions will only work if ROM is allowed to handle the OCIA interrupt. system time, motor control and task management depend upon handling it themselves.\end{Desc}


Definition in file {\bf sound.h}.

\subsection{Function Documentation}
\index{sound.h@{sound.h}!sound_playing@{sound\_\-playing}}
\index{sound_playing@{sound\_\-playing}!sound.h@{sound.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int sound\_\-playing (void)\hspace{0.3cm}{\tt  [inline]}}\label{sound_8h_a1}


is a sound playing? 

\begin{Desc}
\item[Returns:]T/F where T means a sound is playing \end{Desc}


Definition at line 66 of file sound.h.

References \_\-\_\-asm\_\-\_\-().\index{sound.h@{sound.h}!sound_system@{sound\_\-system}}
\index{sound_system@{sound\_\-system}!sound.h@{sound.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void sound\_\-system (unsigned {\em nr})\hspace{0.3cm}{\tt  [inline]}}\label{sound_8h_a0}


play one of the system sounds. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em nr}]- the number of the system sound to be played \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]Nothing NOTE: the system beep sound (\#0) is the only system sound implemented at this time. \end{Desc}


Definition at line 50 of file sound.h.

References \_\-\_\-asm\_\-\_\-().