Re: [PATCH v2] coreaudio: Lock only the buffer

2021-06-22 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210622201740.38005-1-akihiko.od...@gmail.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210622201740.38005-1-akihiko.od...@gmail.com Subject: [PATCH v2] coreaudio: Lock

[PATCH v2] coreaudio: Lock only the buffer

2021-06-22 Thread Akihiko Odaki
On macOS 11.3.1, Core Audio calls AudioDeviceIOProc after calling an internal function named HALB_Mutex::Lock(), which locks a mutex in HALB_IOThread::Entry(void*). HALB_Mutex::Lock() is also called in AudioObjectGetPropertyData, which is called by coreaudio driver. Therefore, a deadlock will occur