Hi,

For the last week I've been debugging random crashes in our application when recording from a Bluetooth headset. I've tidied up lots of code including fixing allocations from the callback thread, and it's more stable, but I still have an occasional crash.


When I start recording (by calling AudioOutputUnitStart) I often get the following error printed:

testWavein[3983:4356913] [AudioHAL_Client] HALB_SharedBuffer.cpp:110:Allocate_Client: HALB_SharedBuffer::Allocate_Client: failed to open the connection to the shared memory object


What does this error mean?

This error, and all my crashing, only happens with Bluetooth headsets (Airpods and others).  I'm not sure if the message is relevant but I'm stumped and don't want to overlook anything. The crashes, when they occur, are memory corruption type errors in random parts of the code on unrelated threads - often in the UI.


Hamish

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to