sync
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
#ifndef AUDIO_H
|
||||
#define AUDIO_H
|
||||
|
||||
#define AUDIO_PATH "/lfs/a"
|
||||
#define AUDIO_EVENT_PLAY BIT(0)
|
||||
#define AUDIO_EVENT_STOP BIT(1)
|
||||
#define AUDIO_EVENT_SYNC BIT(8)
|
||||
|
||||
#define AUDIO_EVENTS_MASK (AUDIO_EVENT_PLAY | AUDIO_EVENT_STOP | AUDIO_EVENT_SYNC)
|
||||
|
||||
#define AUDIO_BLOCK_SIZE 8192 /* 512 Samples Stereo (16-bit) = 8192 Bytes */
|
||||
#define AUDIO_BLOCK_COUNT 4
|
||||
#define AUDIO_WORD_WIDTH 16
|
||||
#define AUDIO_SAMPLE_RATE 16000
|
||||
|
||||
/**
|
||||
* @brief Initializes the audio subsystem
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user