feat: Add ringbuff_free_pct variable in fetch results

This commit is contained in:
xysun 2025-05-13 14:32:38 +08:00
parent afeade1ffc
commit debb22270f
21 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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.