audrenderer.h 484 Bytes
#ifndef _AUDRENDERER_H
#define _AUDRENDERER_H

#define AUDIO_WAIT 1
#define AUDIO_NOWAIT 0
/*
 * Sound <-> events
 */

#define SOUND_STARTUP 0
#define SOUND_MENU_DOWN 1
#define SOUND_MENU_UP 2
#define SOUND_SELECTION_MOVE 3
#define SOUND_LOAD_MCELL 4
#define SOUND_LAUNCH_START 5
#define SOUND_LAUNCH_FAIL 6
#define SOUND_LPLAY_EXIT 6
#define SOUND_RECRYPT_TICK 7

void playSound(int id, int waitFinish);
int isPlaying(int id);
void initAudio(OSSched *sc);
void clearAudio();

#endif