Examine a big-endian SoundDescription data structure in a CMBlockBuffer, and report whether the sample tables will need to use the legacy CBR layout.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
Framework
- Core Media
Declaration
Boolean CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout(CMBlock Buffer Ref soundDescriptionBlockBuffer, CMSound Description Flavor flavor);
Parameters
soundDescriptionBlockBuffer
CMBlock
containing SoundDescription data structure in big-endian byte ordering.Buffer soundDescriptionFlavor
k
constant orCMSound Description Flavor NULL
for QuickTimeMovie flavor.