Package org.robovm.apple.avfoundation
Class AVAudioConverter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVAudioConverter
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class AVAudioConverter extends NSObject
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAudioConverter.AVAudioConverterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description AVAudioConverter()
AVAudioConverter(AVAudioFormat fromFormat, AVAudioFormat toFormat)
protected
AVAudioConverter(NSObject.Handle h, long handle)
protected
AVAudioConverter(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
AVAudioConverter
public AVAudioConverter()
-
AVAudioConverter
protected AVAudioConverter(NSObject.Handle h, long handle)
-
AVAudioConverter
protected AVAudioConverter(NSObject.SkipInit skipInit)
-
AVAudioConverter
public AVAudioConverter(AVAudioFormat fromFormat, AVAudioFormat toFormat)
-
-
Method Detail
-
getInputFormat
public AVAudioFormat getInputFormat()
-
getOutputFormat
public AVAudioFormat getOutputFormat()
-
getChannelMap
public java.util.List<java.lang.Integer> getChannelMap()
-
setChannelMap
public void setChannelMap(java.util.List<java.lang.Integer> v)
-
getMagicCookie
public NSData getMagicCookie()
-
setMagicCookie
public void setMagicCookie(NSData v)
-
isDownmix
public boolean isDownmix()
-
setDownmix
public void setDownmix(boolean v)
-
isDither
public boolean isDither()
-
setDither
public void setDither(boolean v)
-
getSampleRateConverterQuality
public AVAudioQuality getSampleRateConverterQuality()
-
setSampleRateConverterQuality
public void setSampleRateConverterQuality(AVAudioQuality v)
-
getSampleRateConverterAlgorithm
public AVSampleRateConverterAlgorithm getSampleRateConverterAlgorithm()
-
setSampleRateConverterAlgorithm
public void setSampleRateConverterAlgorithm(AVSampleRateConverterAlgorithm v)
-
getPrimeMethod
public AVAudioConverterPrimeMethod getPrimeMethod()
-
setPrimeMethod
public void setPrimeMethod(AVAudioConverterPrimeMethod v)
-
getPrimeInfo
public AVAudioConverterPrimeInfo getPrimeInfo()
-
setPrimeInfo
public void setPrimeInfo(AVAudioConverterPrimeInfo v)
-
getBitRate
public long getBitRate()
-
setBitRate
public void setBitRate(long v)
-
getBitRateStrategy
public AVAudioBitRateStrategy getBitRateStrategy()
-
setBitRateStrategy
public void setBitRateStrategy(AVAudioBitRateStrategy v)
-
getMaximumOutputPacketSize
public long getMaximumOutputPacketSize()
-
getAvailableEncodeBitRates
public java.util.List<java.lang.Integer> getAvailableEncodeBitRates()
-
getApplicableEncodeBitRates
public java.util.List<java.lang.Integer> getApplicableEncodeBitRates()
-
getAvailableEncodeSampleRates
public java.util.List<java.lang.Integer> getAvailableEncodeSampleRates()
-
getApplicableEncodeSampleRates
public java.util.List<java.lang.Integer> getApplicableEncodeSampleRates()
-
getAvailableEncodeChannelLayoutTags
public java.util.List<java.lang.Integer> getAvailableEncodeChannelLayoutTags()
-
convert
public AVAudioConverterOutputStatus convert(AVAudioBuffer outputBuffer, org.robovm.objc.block.Block2<java.lang.Integer,org.robovm.rt.bro.ptr.MachineSizedSIntPtr,AVAudioBuffer> inputBlock) throws NSErrorException
- Throws:
NSErrorException
-
init
protected long init(AVAudioFormat fromFormat, AVAudioFormat toFormat)
-
reset
public void reset()
-
convert
public boolean convert(AVAudioPCMBuffer outputBuffer, AVAudioPCMBuffer inputBuffer) throws NSErrorException
- Throws:
NSErrorException
-
convert
protected AVAudioConverterOutputStatus convert(AVAudioBuffer outputBuffer, NSError.NSErrorPtr outError, org.robovm.objc.block.Block2<java.lang.Integer,org.robovm.rt.bro.ptr.MachineSizedSIntPtr,AVAudioBuffer> inputBlock)
-
-