Skip to content

Commit

Permalink
DEBUG5
Browse files Browse the repository at this point in the history
  • Loading branch information
Pehrsons committed Oct 12, 2023
1 parent 48cfed3 commit 8cbca7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/backend/tests/device_change.rs
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ fn test_unplug_a_device_on_an_active_stream(
}

// Ignore the return devices' info since we only need to print them.
let _ = get_devices_info_in_scope(device_scope.clone());
let _ = get_devices_info_in_scope(Scope::Input);
let _ = get_devices_info_in_scope(Scope::Output);
println!(
"Current default {:?} device is {}",
device_scope,
Expand Down Expand Up @@ -735,6 +736,9 @@ fn test_unplug_a_device_on_an_active_stream(
// XXX see if this makes a concrete default device appear
thread::sleep(Duration::from_millis(2000));

let _ = get_devices_info_in_scope(Scope::Input);
let _ = get_devices_info_in_scope(Scope::Output);

println!(
"Device {} for {:?} has been unplugged. The default {:?} device now is {}",
dev,
Expand Down

0 comments on commit 8cbca7f

Please sign in to comment.