[all] And switches added to Custom Switches
[ARM] No Init of SD after a reboot (not tested) [X9D] Bug when [EXIT] on MODELSEL
This commit is contained in:
+8
-4
@@ -65,10 +65,11 @@ class AudioFragment : public ToneFragment {
|
||||
|
||||
extern "C" void DAC_IRQHandler();
|
||||
|
||||
#define AUDIO_SLEEPING 0
|
||||
#define AUDIO_RESUMING 1
|
||||
#define AUDIO_PLAYING_TONE 2
|
||||
#define AUDIO_PLAYING_WAV 3
|
||||
#define AUDIO_NOT_STARTED 0
|
||||
#define AUDIO_SLEEPING 1
|
||||
#define AUDIO_RESUMING 2
|
||||
#define AUDIO_PLAYING_TONE 3
|
||||
#define AUDIO_PLAYING_WAV 4
|
||||
|
||||
extern bool playingBackground;
|
||||
|
||||
@@ -92,6 +93,8 @@ class AudioQueue {
|
||||
|
||||
AudioQueue();
|
||||
|
||||
void start();
|
||||
|
||||
void play(uint8_t tFreq, uint8_t tLen, uint8_t tPause, uint8_t tFlags=0, int8_t tFreqIncr=0);
|
||||
|
||||
void playFile(const char *filename, uint8_t flags=0, uint8_t id=0);
|
||||
@@ -141,6 +144,7 @@ extern AudioQueue audioQueue;
|
||||
|
||||
void codecsInit();
|
||||
void audioEvent(uint8_t e, uint8_t f=BEEP_DEFAULT_FREQ);
|
||||
void audioStart();
|
||||
|
||||
#define AUDIO_TADA() audioEvent(AU_TADA)
|
||||
#define AUDIO_KEYPAD_UP() audioEvent(AU_KEYPAD_UP)
|
||||
|
||||
Reference in New Issue
Block a user