feat(voice): add iOS VAD runtime support

This commit is contained in:
Edison Jwa
2026-05-21 20:51:45 +09:00
parent 171baf6e41
commit 6af4ecab0f
73 changed files with 11529 additions and 1249 deletions
@@ -774,7 +774,7 @@ mod tests {
}
#[test]
fn build_descriptor_granted_keyboard_reports_L2() {
fn build_descriptor_granted_keyboard_reports_l2() {
let d = MacOSEventTapBackend::build_descriptor(
PermissionState::Granted,
PttInputClass::Keyboard,
@@ -784,7 +784,7 @@ mod tests {
}
#[test]
fn build_descriptor_granted_mouse_reports_L3() {
fn build_descriptor_granted_mouse_reports_l3() {
let d = MacOSEventTapBackend::build_descriptor(
PermissionState::Granted,
PttInputClass::MouseSideButton,
@@ -794,7 +794,7 @@ mod tests {
}
#[test]
fn build_descriptor_granted_none_reports_L2_keyboard() {
fn build_descriptor_granted_none_reports_l2_keyboard() {
let d =
MacOSEventTapBackend::build_descriptor(PermissionState::Granted, PttInputClass::None);
assert_eq!(d.level, PttCapabilityLevel::L2GlobalHoldToTalk);