From 2cb9b897e86e5ff0aa2be59bfa1834c5cc256b2b Mon Sep 17 00:00:00 2001 From: xiewei Date: Mon, 17 Jul 2023 17:06:56 +0800 Subject: [PATCH] Bugfix(CN_example):Modify sample rate of playback. --- examples/cn_speech_commands_recognition/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cn_speech_commands_recognition/main/main.c b/examples/cn_speech_commands_recognition/main/main.c index e6e5620..86fbd71 100644 --- a/examples/cn_speech_commands_recognition/main/main.c +++ b/examples/cn_speech_commands_recognition/main/main.c @@ -148,7 +148,7 @@ void detect_Task(void *arg) void app_main() { models = esp_srmodel_init("model"); - ESP_ERROR_CHECK(esp_board_init(AUDIO_HAL_16K_SAMPLES, 1, 16)); + ESP_ERROR_CHECK(esp_board_init(AUDIO_HAL_08K_SAMPLES, 1, 16)); // ESP_ERROR_CHECK(esp_sdcard_init("/sdcard", 10)); #if defined CONFIG_ESP32_KORVO_V1_1_BOARD led_init();