mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
Merge branch 'feat/ringbuff_free_pct' into 'master'
Feat/ringbuff free pct See merge request speech-recognition-framework/esp-sr!172
This commit is contained in:
commit
326026d9b3
@ -143,7 +143,7 @@ build_esp_sr:
|
||||
- .rules:build:test_esp_sr
|
||||
parallel:
|
||||
matrix:
|
||||
- IMAGE: [espressif/idf:release-v5.3, espressif/idf:latest]
|
||||
- IMAGE: [espressif/idf:release-v5.4, espressif/idf:latest]
|
||||
EXAMPLES_PATH: "test_apps/esp-sr"
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@ build_esp_tts:
|
||||
- .rules:build:test_esp_tts
|
||||
parallel:
|
||||
matrix:
|
||||
- IMAGE: [espressif/idf:release-v5.3, espressif/idf:latest]
|
||||
- IMAGE: [espressif/idf:release-v5.4, espressif/idf:latest]
|
||||
EXAMPLES_PATH: "test_apps/esp-tts"
|
||||
|
||||
build_esp32c5:
|
||||
@ -214,7 +214,7 @@ test_esp_sr:
|
||||
image: $DOCKER_TARGET_TEST_v5_3_ENV_IMAGE
|
||||
variables:
|
||||
TEST_FOLDER: './test_apps/esp-sr'
|
||||
IDF_VERSION: "5.3"
|
||||
IDF_VERSION: "5.4"
|
||||
|
||||
test_esp_tts:
|
||||
extends:
|
||||
@ -233,7 +233,7 @@ test_esp_tts:
|
||||
image: $DOCKER_TARGET_TEST_v5_3_ENV_IMAGE
|
||||
variables:
|
||||
TEST_FOLDER: './test_apps/esp-tts'
|
||||
IDF_VERSION: "5.3"
|
||||
IDF_VERSION: "5.4"
|
||||
|
||||
.build_doc_template:
|
||||
stage: build_docs
|
||||
|
||||
@ -93,8 +93,8 @@ elseif((${IDF_TARGET} STREQUAL "esp32c5") OR (${IDF_TARGET} STREQUAL "esp32c3")
|
||||
)
|
||||
|
||||
component_compile_options(-ffast-math -O3 -Wno-error=format=-Wno-format)
|
||||
add_prebuilt_library(esp_audio_processor "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libesp_audio_processor.a")
|
||||
add_prebuilt_library(esp_audio_front_end "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libesp_audio_front_end.a")
|
||||
add_prebuilt_library(esp_audio_processor "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libesp_audio_processor.a" PRIV_REQUIRES ${COMPONENT_NAME})
|
||||
add_prebuilt_library(esp_audio_front_end "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libesp_audio_front_end.a" PRIV_REQUIRES ${COMPONENT_NAME})
|
||||
add_prebuilt_library(dl_lib "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libdl_lib.a" PRIV_REQUIRES ${COMPONENT_NAME})
|
||||
add_prebuilt_library(c_speech_features "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libc_speech_features.a" PRIV_REQUIRES ${COMPONENT_NAME})
|
||||
add_prebuilt_library(hufzip "${CMAKE_CURRENT_SOURCE_DIR}/lib/${IDF_TARGET}/libhufzip.a" PRIV_REQUIRES ${COMPONENT_NAME})
|
||||
|
||||
@ -46,6 +46,7 @@ typedef struct afe_fetch_result_t {
|
||||
int ret_value; // the return state of fetch function
|
||||
int16_t *raw_data; // the multi-channel output data of audio.
|
||||
int raw_data_channels; // the channel number of raw data
|
||||
float ringbuff_free_pct; // the percent of ringbuff free size. if the value is larger than 0.5, it means the ringbuff is buzy.
|
||||
void *reserved; // reserved for future use
|
||||
} afe_fetch_result_t;
|
||||
|
||||
|
||||
@ -46,6 +46,7 @@ typedef struct afe_fetch_result_t {
|
||||
int ret_value; // the return state of fetch function
|
||||
int16_t *raw_data; // the multi-channel output data of audio.
|
||||
int raw_data_channels; // the channel number of raw data
|
||||
float ringbuff_free_pct; // the percent of ringbuff free size. if the value is larger than 0.5, it means the ringbuff is buzy.
|
||||
void *reserved; // reserved for future use
|
||||
} afe_fetch_result_t;
|
||||
|
||||
|
||||
@ -46,6 +46,7 @@ typedef struct afe_fetch_result_t {
|
||||
int ret_value; // the return state of fetch function
|
||||
int16_t *raw_data; // the multi-channel output data of audio.
|
||||
int raw_data_channels; // the channel number of raw data
|
||||
float ringbuff_free_pct; // the percent of ringbuff free size. if the value is larger than 0.5, it means the ringbuff is buzy.
|
||||
void *reserved; // reserved for future use
|
||||
} afe_fetch_result_t;
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user