AudioFormat property kAudioFormatProperty_ASBDFromMPEGPacket bug fix for macOS 10.12 (Sierra) and iOS 10.0

This thread has been locked by a moderator; it no longer accepts new replies.

The Audio Format Property Identifier

kAudioFormatProperty_ASBDFromMPEGPacket
is documented as returning a
AudioStreamBasicDescription
for a given MPEG Packet where the specifier is an MPEG Packet.


In versions of OS X and iOS prior to macOS 10.12 (Sierra) and iOS 10.0, the

inSpecifier
to
AudioFormatGetProperty()
for
kAudioFormatProperty_ASBDFromMPEGPacket
was being interpreted as a 4-byte MPEG audio sync word passed by value, rather than what you would expect to pass to this API, a pointer to a full packet.


This issue has been fixed. Developers using this property on older systems should note this behavior change and update their code as required.

Boost
AudioFormat property kAudioFormatProperty_ASBDFromMPEGPacket bug fix for macOS 10.12 (Sierra) and iOS 10.0
 
 
Q