diff options
Diffstat (limited to 'src/common/includes/Audio')
-rw-r--r-- | src/common/includes/Audio/audio_in.h | 4 | ||||
-rw-r--r-- | src/common/includes/Audio/tone.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/common/includes/Audio/audio_in.h b/src/common/includes/Audio/audio_in.h index 40482d9..d2e8378 100644 --- a/src/common/includes/Audio/audio_in.h +++ b/src/common/includes/Audio/audio_in.h @@ -27,8 +27,8 @@ #include <stdio.h> #include "FreeRTOS.h" -#define AUDIO_IN_RATE 8000 -#define AUDIO_IN_BUF_LEN 400 +#define AUDIO_IN_RATE 16000 +#define AUDIO_IN_BUF_LEN 1600 void audio_in_initialize(void); diff --git a/src/common/includes/Audio/tone.h b/src/common/includes/Audio/tone.h index 294fe54..f8f4132 100644 --- a/src/common/includes/Audio/tone.h +++ b/src/common/includes/Audio/tone.h @@ -30,8 +30,6 @@ #define TONE_BUFFER_LEN AUDIO_IN_BUF_LEN -#define TONE_N 400 - struct tone_detector { float coef; float Q1; |