feat(voice): add iOS VAD runtime support
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user