Skip to content

Commit 00d8bee

Browse files
committed
Diagnose
1 parent cfa51f5 commit 00d8bee

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/backend/tests/interfaces.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -581,15 +581,15 @@ fn test_ops_stream_current_device() {
581581
);
582582
assert!(!device.is_null());
583583
// Uncomment the below to print out the results.
584-
// let deviceref = unsafe { DeviceRef::from_ptr(device) };
585-
// println!(
586-
// "output: {}",
587-
// deviceref.output_name().unwrap_or("(no device name)")
588-
// );
589-
// println!(
590-
// "input: {}",
591-
// deviceref.input_name().unwrap_or("(no device name)")
592-
// );
584+
let deviceref = unsafe { DeviceRef::from_ptr(device) };
585+
println!(
586+
"output: {}",
587+
deviceref.output_name().unwrap_or("(no device name)")
588+
);
589+
println!(
590+
"input: {}",
591+
deviceref.input_name().unwrap_or("(no device name)")
592+
);
593593
assert_eq!(
594594
unsafe { OPS.stream_device_destroy.unwrap()(stream, device) },
595595
ffi::CUBEB_OK

0 commit comments

Comments
 (0)