LiuCodee
LiuCodee
您好,能否提供一下您的测试代码以及IDF和ADF的仓库版本,我在本地测试的index解析是正确的,我本地的仓库版本为IDF release/v5.5以及ADF master版本。
你好 @laodi-chen 使用你的代码和audio_tone.bin在本地测试的结果看起来是正常的,请问你是否尝试过对比`load_flash_tone_table(req->tone_index)`函数返回的结果以及`req->tone_index`的值是否符合期望值。 以下是我的测试代码 ``` void play_task(void *arg) { play_tone(0, NULL, NULL, false); vTaskDelay(pdMS_TO_TICKS(1000)); vTaskDelete(NULL); } void app_main(void) { esp_log_level_set("*", ESP_LOG_WARN); esp_log_level_set(TAG, ESP_LOG_INFO); audio_board_handle_t board_handle = audio_board_init(); audio_hal_ctrl_codec(board_handle->audio_hal, AUDIO_HAL_CODEC_MODE_DECODE, AUDIO_HAL_CTRL_START);...
This script may solve your problem. ```#!/usr/bin/fish if not set -q ADF_PATH set -l adf_path "." set -l script_path (status --current-filename) if test -n "$script_path" set adf_path (realpath (dirname "$script_path"))...
Please check https://github.com/espressif/esp-adf/issues/1503