29 lines
1.3 KiB
C
29 lines
1.3 KiB
C
//**********************************************************************************************************************************************************************************
|
|
// Fichier AUDIO.H
|
|
//
|
|
// Contient tous les define liés à l'audio...
|
|
//**********************************************************************************************************************************************************************************/
|
|
|
|
|
|
// Maximums :
|
|
#define AUDIO_CONSIGNE_MAX 100
|
|
#define AUDIO_CONSIGNE_MIN 0
|
|
|
|
|
|
// Timings :
|
|
#define AUDIO_PERIODE_SURVEILLANCE 5 // En x 100ms
|
|
|
|
// Définitions :
|
|
#define AUDIO_SET_VOLUME_ECHO_OFF 0 // Indique que le changement de niveau se fera sans émettre de son
|
|
#define AUDIO_SET_VOLUME_ECHO_ON 1 // Indique que le changement de niveau se fera en émettant un son après la mise à jour
|
|
|
|
// Fonctions Jack :
|
|
#define AUDIO_FONCTION_JACK_HP_OFF 0 // le HP est coupé quand une prise jack est présente
|
|
#define AUDIO_FONCTION_JACK_HP_ON 1 // Le HP est maintenu On quand une prise jack est présente
|
|
|
|
// Etat séquenceur Audio :
|
|
#define ETAT_SEQUENCEUR_AUDIO_INIT 0
|
|
#define ETAT_SEQUENCEUR_AUDIO_REPOS 1
|
|
#define ETAT_SEQUENCEUR_AUDIO_DEBUT_BOUCLE 2
|
|
#define ETAT_SEQUENCEUR_AUDIO_TEMPO_BOUCLE 3
|