File tree 1 file changed +9
-9
lines changed 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -581,15 +581,15 @@ fn test_ops_stream_current_device() {
581
581
) ;
582
582
assert ! ( !device. is_null( ) ) ;
583
583
// 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
+ ) ;
593
593
assert_eq ! (
594
594
unsafe { OPS . stream_device_destroy. unwrap( ) ( stream, device) } ,
595
595
ffi:: CUBEB_OK
You can’t perform that action at this time.
0 commit comments