Defines | |
#define | CK_NO 0 |
#define | CK_BEEP 1 |
#define | CK_BEEP_SHORT 2 |
#define | BEEP_OK 0 |
#define | BEEP_INFO 1 |
#define | BEEP_QUESTION 2 |
#define | BEEP_ERROR 3 |
Functions | |
bool | get_sounds_enabled (void) |
void | enable_sounds (bool enable) |
void | beep (int beep_type) |
bool | is_tone_playing (void) |
void | play_tone (int index) |
void | play_raw (int divisor) |
void | stop_tone (void) |
void | enable_vibration (bool enable) |
void | vibrate (int index) |
Compounds | ||
struct | MSequence | The music sequence object |
These structures are used to control sound, music and vibration in the Cybiko computer. Most music control methods can be found within the description of the MSequence structure.
|
The beep function argument for the ERROR dialog. |
|
The beep function argument for the INFO dialog. |
|
The beep function argument for the OK dialog. |
|
The beep function argument for the QUESTION dialog. |
|
Normal click sound. |
|
Short click sound. |
|
No click sound. |
|
Produces a beep tone.
|
|
Enables or disables tone generation.
|
|
Enables or disables vibration.
|
|
Returns a sounds-enabled flag state.
|
|
Allows the device to determine whether or not a tone is being played.
|
|
Starts playing a tone.
|
|
Starts tone generation.
|
|
Stops tone playing (turns the sound off).
|
|
Turns the vibrator on (if index > 0) or off (if index is 0).
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |