feat(voice): gate local wake prompt on network readiness
This commit is contained in:
@@ -78,6 +78,7 @@ static const uint8_t s_server_error_frame_order[] = {0, 1, 2, 1, 0};
|
||||
static const uint8_t s_wifi_disconnected_frame_order[] = {0, 1, 2, 3, 2, 1, 0};
|
||||
static const uint8_t s_basic_face_frame_order[] = {0, 1, 2};
|
||||
static const uint8_t s_muyu_frame_order[] = {0, 1, 2, 1};
|
||||
static const uint8_t s_listening_frame_order[] = {0, 1, 2};
|
||||
static const char *const s_chouqian_result_asset_dirs[] = {
|
||||
"chouqian_buyun",
|
||||
"chouqian_heping",
|
||||
@@ -227,6 +228,21 @@ static const domain_expression_catalog_entry_t s_expression_catalog[] = {
|
||||
.duration_ms = 0,
|
||||
},
|
||||
},
|
||||
{
|
||||
.id = DOMAIN_EXPRESSION_LISTENING,
|
||||
.platform_request = {
|
||||
.kind = PLATFORM_LCD_PRESENTATION_ASSET_SEQUENCE,
|
||||
.priority = 130,
|
||||
.interrupt_current = true,
|
||||
.return_to_idle = false,
|
||||
.asset_dir = "listening",
|
||||
.frame_order = s_listening_frame_order,
|
||||
.frame_order_count = sizeof(s_listening_frame_order) /
|
||||
sizeof(s_listening_frame_order[0]),
|
||||
.repeat_count = 0,
|
||||
.frame_ms = 500,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static void snapshot_domain_wifi_behavior_hooks(domain_wifi_behavior_hooks_t *out_hooks)
|
||||
|
||||
Reference in New Issue
Block a user