sync
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
#define AUDIO_THREAD_PRIORITY 5
|
||||
#define AUDIO_EVENTS_MASK (AUDIO_EVENT_PLAY | AUDIO_EVENT_STOP | AUDIO_EVENT_SYNC)
|
||||
|
||||
#define AUDIO_BLOCK_SIZE 1024
|
||||
#define AUDIO_BLOCK_COUNT 4
|
||||
#define AUDIO_BLOCK_SIZE 4096
|
||||
#define AUDIO_BLOCK_COUNT 8
|
||||
#define AUDIO_WORD_WIDTH 16
|
||||
#define AUDIO_SAMPLE_RATE 16000
|
||||
|
||||
@@ -27,7 +27,7 @@ int audio_init(void);
|
||||
*
|
||||
* @param filename The path to the audio file to play
|
||||
*/
|
||||
void audio_play(const char *filename)
|
||||
void audio_play(const char *filename);
|
||||
|
||||
/**
|
||||
* @brief Stops the currently playing audio
|
||||
@@ -39,4 +39,14 @@ void audio_stop(void);
|
||||
*/
|
||||
void audio_system_ready(void);
|
||||
|
||||
/**
|
||||
* @brief Refreshes the count of available audio files
|
||||
*/
|
||||
void audio_refresh_file_count(void);
|
||||
|
||||
/**
|
||||
* @brief Puts the QSPI flash into deep sleep mode to save power
|
||||
*/
|
||||
void flash_deep_sleep(void);
|
||||
|
||||
#endif // AUDIO_H
|
||||
Reference in New Issue
Block a user