Package org.robovm.apple.coremedia
Class CMAudioFormatDescription
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coremedia.CMFormatDescription
org.robovm.apple.coremedia.CMAudioFormatDescription
- All Implemented Interfaces:
AutoCloseable
public class CMAudioFormatDescription extends CMFormatDescription
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMAudioFormatDescription.CMAudioFormatDescriptionPtrNested classes/interfaces inherited from class org.robovm.apple.coremedia.CMFormatDescription
CMFormatDescription.CMFormatDescriptionPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Constructor Description CMAudioFormatDescription() -
Method Summary
Methods inherited from class org.robovm.apple.coremedia.CMFormatDescription
create, create, create0, equalsTo, equalsTo, equalsTo, getClassTypeID, getExtension, getExtensionDictionary, getMediaSubType, getMediaTypeMethods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CMAudioFormatDescription
public CMAudioFormatDescription()
-
-
Method Details
-
create
public static CMAudioFormatDescription create(AudioStreamBasicDescription asbd, long layoutSize, AudioChannelLayout layout, long magicCookieSize, VoidPtr magicCookie, NSDictionary<NSString,?> extensions) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
createFromBigEndianSoundDescriptionData
public static CMAudioFormatDescription createFromBigEndianSoundDescriptionData(BytePtr soundDescriptionData, long soundDescriptionSize, CMSoundDescriptionFlavor soundDescriptionFlavor) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 8.0 and later.
-
createFromBigEndianSoundDescriptionBlockBuffer
public static CMAudioFormatDescription createFromBigEndianSoundDescriptionBlockBuffer(CMBlockBuffer soundDescriptionBlockBuffer, CMSoundDescriptionFlavor soundDescriptionFlavor) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 8.0 and later.
-
getAudioCodecType
- Since:
- Available in iOS 4.0 and later.
-
getMagicCookie
- Since:
- Available in iOS 4.0 and later.
-
getMagicCookieSize
public long getMagicCookieSize()- Since:
- Available in iOS 4.0 and later.
-
getChannelLayout
- Since:
- Available in iOS 4.0 and later.
-
getChannelLayoutSize
public long getChannelLayoutSize()- Since:
- Available in iOS 4.0 and later.
-
getFormatList
- Since:
- Available in iOS 4.0 and later.
-
getFormatListSize
public long getFormatListSize()- Since:
- Available in iOS 4.0 and later.
-
createSummary
public static CMAudioFormatDescription createSummary(List<CMAudioFormatDescription> formatDescriptionArray) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
equalsTo
- Since:
- Available in iOS 4.0 and later.
-
copyAsBigEndianSoundDescriptionBlockBuffer
public CMBlockBuffer copyAsBigEndianSoundDescriptionBlockBuffer(CMAudioFormatDescription audioFormatDescription, CMSoundDescriptionFlavor soundDescriptionFlavor) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 8.0 and later.
-
create0
protected static OSStatus create0(CFAllocator allocator, AudioStreamBasicDescription asbd, long layoutSize, AudioChannelLayout layout, long magicCookieSize, VoidPtr magicCookie, NSDictionary extensions, CMAudioFormatDescription.CMAudioFormatDescriptionPtr formatDescriptionOut) -
getStreamBasicDescription
-
getRichestDecodableFormat
-
getMostCompatibleFormat
-