28 #if defined(CONF_DSOUND) 80 #warning Enable CONF_DSOUND to use Sound.H #define DSOUND_BEEP
system sounds
static void stop()
Stop a currently playing sound.
static void play(const note_t *notes)
Play a list of notes (song).
void dsound_stop(void)
stop playing sound
static void beep()
Play the system_beep sound.
static void dsound_play(const note_t *notes)
play a sequence of notes
the note structure describing a single note.
static void duration(const unsigned int len)
Set the default duration.
Sound generation interface.
static int dsound_playing(void)
returns nonzero value if a sound is playing
static int playing()
Determine if a sound is currently playing.
static void dsound_set_internote(unsigned duration)
set duration of inter-note spacing (subtracted from note duration)
static unsigned dsound_set_duration(unsigned duration)
set duration of a 16th note in ms; return the previous duration.
static void dsound_system(unsigned nr)
play a system sound
static void internote(const unsigned int len)
Set the amount of time between notes.
Interface: direct control of sound.