trouble recording from Bluetooth microphone
trouble recording from Bluetooth microphone
- Subject: trouble recording from Bluetooth microphone
- From: Hamish Moffatt via Coreaudio-api <email@hidden>
- Date: Tue, 19 Nov 2019 02:10:19 +0000
- Feedback-id: 1.us-east-1.IJy5eMNMFS8iPDr6+zv4JcS8SWkDFxwXblnla24uGn0=:AmazonSES
- Organization: Rising Software Australia Pty Ltd
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden