Fix code formatting of asio-sys timestamp changes

This commit is contained in:
mitchmindtree 2020-05-01 15:34:01 +02:00
parent 63db35ed97
commit 46afc8f695
1 changed files with 1 additions and 3 deletions

View File

@ -916,9 +916,7 @@ extern "C" fn buffer_switch_time_info(
) -> *mut ai::ASIOTime { ) -> *mut ai::ASIOTime {
// This lock is probably unavoidable, but locks in the audio stream are not great. // This lock is probably unavoidable, but locks in the audio stream are not great.
let mut bcs = BUFFER_CALLBACK.lock().unwrap(); let mut bcs = BUFFER_CALLBACK.lock().unwrap();
let asio_time: &mut AsioTime = unsafe { let asio_time: &mut AsioTime = unsafe { &mut *(time as *mut AsioTime) };
&mut *(time as *mut AsioTime)
};
let callback_info = CallbackInfo { let callback_info = CallbackInfo {
buffer_index: double_buffer_index, buffer_index: double_buffer_index,
system_time: asio_time.time_info.system_time, system_time: asio_time.time_info.system_time,