Sound generation interface. More...
#include <c++/Sound.H>
Static Public Member Functions | |
static void | play (const note_t *notes) |
Play a list of notes (song). | |
static int | playing () |
Determine if a sound is currently playing. | |
static void | beep () |
Play the system_beep sound. | |
static void | stop () |
Stop a currently playing sound. | |
static void | duration (const unsigned int len) |
Set the default duration. | |
static void | internote (const unsigned int len) |
Set the amount of time between notes. |
|
inlinestatic |
Play the system_beep sound.
Definition at line 57 of file Sound.H.
References DSOUND_BEEP, and dsound_system().
|
inlinestatic |
Set the default duration.
len | the duration in mSec? |
Definition at line 69 of file Sound.H.
References dsound_set_duration().
|
inlinestatic |
Set the amount of time between notes.
len | the duration in mSec? |
Definition at line 76 of file Sound.H.
References dsound_set_internote().
|
inlinestatic |
Play a list of notes (song).
notes | pointer to an array of note_t elements |
Definition at line 46 of file Sound.H.
References dsound_play().
|
inlinestatic |
Determine if a sound is currently playing.
Definition at line 52 of file Sound.H.
References dsound_playing().
|
inlinestatic |
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-2005 by the authors. |