Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

include/rom/sound.h File Reference

ROM Interface: RCX sound functions. More...

Go to the source code of this file.

Functions

void sound_system (unsigned nr)
 play one of the system sounds.

int sound_playing (void)
 is a sound playing?


Detailed Description

ROM Interface: RCX sound functions.

Author:
Markus L. Noga <markus@noga.de>
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.

Definition in file sound.h.


Function Documentation

int sound_playing void   )  [inline]
 

is a sound playing?

Returns:
T/F where T means a sound is playing

Definition at line 66 of file sound.h.

References __asm__().

void sound_system unsigned  nr  )  [inline]
 

play one of the system sounds.

Parameters:
nr - the number of the system sound to be played
Returns:
Nothing NOTE: the system beep sound (#0) is the only system sound implemented at this time.
Bug:
FIXME: register clobbers

Definition at line 50 of file sound.h.

References __asm__().


brickOS is released under the Mozilla Public License.
Original code copyright 1998-2002 by the authors.

Generated on Mon Feb 16 21:02:22 2004 for brickOS Kernel Developer by doxygen 1.3.5