#include "../motor_led/e_epuck_ports.h"
#include "e_sound.h"
Functions | |
| void | e_init_sound (void) |
| Initialize all you need to play sound on speaker. | |
| void | e_play_sound (int sound_nbr, int sound_length) |
| Play a sound. | |
| void | e_close_sound (void) |
| Disable the sound After that you can't play sound anymore, if you want to, you have to call e_init_sound. | |
| void e_close_sound | ( | void | ) |
Disable the sound After that you can't play sound anymore, if you want to, you have to call e_init_sound.
| void e_init_sound | ( | void | ) |
Initialize all you need to play sound on speaker.
| void e_play_sound | ( | int | sound_nbr, | |
| int | sound_length | |||
| ) |
Play a sound.
| sound_nbr | the begining of the sound | |
| sound_length | the length of the sound |
1.5.4