#include <c++/Sound.H>
Static Public Member Functions | |
void | play (const note_t *notes) |
Play a list of notes (song). | |
int | playing () |
Determine if a sound is currently playing. | |
void | beep () |
Play the system_beep sound. | |
void | stop () |
Stop a currently playing sound. | |
void | duration (const unsigned int len) |
Set the default duration. | |
void | internote (const unsigned int len) |
Set the amount of time between notes. |
Sound Generation Class interface
Definition at line 37 of file Sound.H.
|
Play the system_beep sound.
Definition at line 57 of file Sound.H. References DSOUND_BEEP, and dsound_system(). |
|
Set the default duration.
Definition at line 69 of file Sound.H. References dsound_set_duration(). |
|
Set the amount of time between notes.
Definition at line 76 of file Sound.H. References dsound_set_internote(). |
|
Play a list of notes (song).
Definition at line 46 of file Sound.H. References dsound_play(). |
|
Determine if a sound is currently playing.
Definition at line 52 of file Sound.H. References dsound_playing(). |
|
Stop a currently playing sound.
Definition at line 62 of file Sound.H. References dsound_stop(). |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |