When My Usb interface working on recording, the sync is not good work. I found every IO will in_io_buffer_frame_size is same, it is not sync to UpdateCurrentZeroTimestamp. So The Audio driver Kit Read opration is not same like Write? What is the way sync with Usb in data? If only play audio with UpdateCurrentZeroTimestamp, it working fine. Thanks!
Audio Driver kit Read opration Sync Error。
I have some test, if I play Apple music and open Logic pro same time , it can work good each other. but they play same time that apple music have pop sound. maybe use the usb time stamp upgrade that is not a good way in audio driver kit. Can't understand the sync frame in audio driver kit. Could you give same idea to me? Thanks! Is that use USB device real samplerate set the device samplerate?
11:16:01.353563+0800 Logic Pro X 188511 HALC_ProxyIOContext.cpp:1621 HALC_ProxyIOContext::IOWorkLoop:由于过载而跳过循环 11:16:01.353749+0800 音乐 49991 HALC_ProxyIOContext.cpp:1621 HALC_ProxyIOContext::IOWorkLoop:由于过载而跳过循环 11:16:01.369868+0800 检测到 WindowServer 长渲染。交换 85328 用了 2.4e+03s 11:16:01.373090+0800 内核 <private> 11:16:01.373262+0800 kernel com.platane.driver[2615] 尸体故障,太多 6 11:16:01.373315+0800 内核进程 [2615] 崩溃:com.platane.driv。创建的尸体太多。 11:16:01.373766+0800 内核 DK:PlataneUSBDeviceDriver-0x100015945:强制关闭 (PLATANE UP1-0x100015880)
这是 Log,这个问题是一起打开 Logic Pro X 和 Music App,我确定 UpdateCurrentZeroTimestamp 是硬件中的写入速度。
Logic Pro X skipping cycle due to overload Music skipping cycle due to overload <private> com.platane.driver Corpse failure, too many 6 kernel Process crashed: com.platane.driv. Too many corpses being created. kernel force close (PLATANE UP1)
This is Log, This problem is open Logic Pro X and Music App together, I am sure the UpdateCurrentZeroTimestamp is write speed in hardware.
Hi, I think It all about priority, AudioDriverKit's Priority is 63, But System default driver's Priority is 97. So Click and Pop sound is normal in Audio driver kit.
Please file a feedback with sysdiagnose and capture a trace.