• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
trouble recording from Bluetooth microphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: trouble recording from Bluetooth microphone
      • From: Ed Wynne via Coreaudio-api <email@hidden>
  • Prev by Date: Instantly setting mixer volume at a specific sample time
  • Next by Date: Re: trouble recording from Bluetooth microphone
  • Previous by thread: Instantly setting mixer volume at a specific sample time
  • Next by thread: Re: trouble recording from Bluetooth microphone
  • Index(es):
    • Date
    • Thread