[Error]: 21:46:56.148 [AudioQueueServer] AudioQueueObject::IONodeConnection::_AcquireHardwareCodec: failed (‘hwiu’)
That’s an error I am getting when playing a sound file. Is this a codec issue or a problem with the sound file itself?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the docs, that error, ‘hwiu’, means “Hardware in use”. The hardware codec is unavailable. If you are creating your own AudioQueue, you can set the hardware codec policy to
kAudioQueueHardwareCodecPolicy_PreferSoftware, which will try the software codec first and fallback on the hardware codec, e.g.: