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:
java.lang.AutoCloseable
public class CMAudioFormatDescription extends CMFormatDescription
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMAudioFormatDescription.CMAudioFormatDescriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.coremedia.CMFormatDescription
CMFormatDescription.CMFormatDescriptionPtr
-
Nested 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, getMediaType
-
Methods 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
-
-
-
-
Method Detail
-
create
public static CMAudioFormatDescription create(AudioStreamBasicDescription asbd, long layoutSize, AudioChannelLayout layout, long magicCookieSize, org.robovm.rt.bro.ptr.VoidPtr magicCookie, NSDictionary<NSString,?> extensions) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
createFromBigEndianSoundDescriptionData
public static CMAudioFormatDescription createFromBigEndianSoundDescriptionData(org.robovm.rt.bro.ptr.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
public CMAudioCodecType getAudioCodecType()
- Since:
- Available in iOS 4.0 and later.
-
getMagicCookie
public org.robovm.rt.bro.ptr.VoidPtr getMagicCookie()
- Since:
- Available in iOS 4.0 and later.
-
getMagicCookieSize
public long getMagicCookieSize()
- Since:
- Available in iOS 4.0 and later.
-
getChannelLayout
public AudioChannelLayout getChannelLayout()
- Since:
- Available in iOS 4.0 and later.
-
getChannelLayoutSize
public long getChannelLayoutSize()
- Since:
- Available in iOS 4.0 and later.
-
getFormatList
public AudioFormatListItem 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(java.util.List<CMAudioFormatDescription> formatDescriptionArray) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
equalsTo
public boolean equalsTo(CMAudioFormatDescription desc2, CMAudioFormatDescriptionMask equalityMask)
- 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, org.robovm.rt.bro.ptr.VoidPtr magicCookie, NSDictionary extensions, CMAudioFormatDescription.CMAudioFormatDescriptionPtr formatDescriptionOut)
- Since:
- Available in iOS 4.0 and later.
-
getStreamBasicDescription
public AudioStreamBasicDescription getStreamBasicDescription()
- Since:
- Available in iOS 4.0 and later.
-
getRichestDecodableFormat
public AudioFormatListItem getRichestDecodableFormat()
- Since:
- Available in iOS 4.0 and later.
-
getMostCompatibleFormat
public AudioFormatListItem getMostCompatibleFormat()
- Since:
- Available in iOS 4.0 and later.
-
-