Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

legOS/include/rom/sound.h File Reference

ROM sound functions. More...


Functions

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

int sound_playing ()
is a sound playing? More...


Detailed Description

ROM sound functions.

Author(s):
Markus L. Noga <markus@noga.de>

Warning:
These functions will only work if ROM is allowed to handle the OCIA interrupt. legOS system time, motor control and task management depend upon handling it themselves.

Function Documentation

void sound_system (unsigned nr) [inline]

play one of the system sounds.

int sound_playing () [inline]

is a sound playing?

Returns:
0=no, else yes
legOS-0.2.4 is released under the Mozilla Public License. Original code copyright 1998-1999 by the authors.