| Modifier and Type | Class and Description |
|---|---|
static interface |
AVAudioConverter.Block_convertToBufferErrorWithInputFromBlock |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVAudioConverter(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVAudioConverter |
alloc() |
static AVAudioConverter |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSArray<? extends NSNumber> |
applicableEncodeBitRates()
[@property] applicableEncodeBitRates
|
NSArray<? extends NSNumber> |
applicableEncodeSampleRates()
[@property] applicableEncodeSampleRates
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
NSArray<? extends NSNumber> |
availableEncodeBitRates()
[@property] availableEncodeBitRates
|
NSArray<? extends NSNumber> |
availableEncodeChannelLayoutTags()
[@property] availableEncodeChannelLayoutTags
|
NSArray<? extends NSNumber> |
availableEncodeSampleRates()
[@property] availableEncodeSampleRates
|
long |
bitRate()
[@property] bitRate
|
java.lang.String |
bitRateStrategy()
[@property] bitRateStrategy
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
NSArray<? extends NSNumber> |
channelMap()
[@property] channelMap
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
long |
convertToBufferErrorWithInputFromBlock(AVAudioBuffer outputBuffer,
org.moe.natj.general.ptr.Ptr<NSError> outError,
AVAudioConverter.Block_convertToBufferErrorWithInputFromBlock inputBlock)
convertToBuffer:error:withInputFromBlock:
|
boolean |
convertToBufferFromBufferError(AVAudioPCMBuffer outputBuffer,
AVAudioPCMBuffer inputBuffer,
org.moe.natj.general.ptr.Ptr<NSError> outError)
convertToBuffer:fromBuffer:error:
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
boolean |
dither()
[@property] dither
|
boolean |
downmix()
[@property] downmix
|
static long |
hash_static() |
AVAudioConverter |
init() |
AVAudioConverter |
initFromFormatToFormat(AVAudioFormat fromFormat,
AVAudioFormat toFormat)
initFromFormat:toFormat:
|
AVAudioFormat |
inputFormat()
[@property] inputFormat
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSData |
magicCookie()
[@property] magicCookie
|
long |
maximumOutputPacketSize()
[@property] maximumOutputPacketSize
|
static AVAudioConverter |
new_objc() |
AVAudioFormat |
outputFormat()
[@property] outputFormat
|
AVAudioConverterPrimeInfo |
primeInfo()
[@property] primeInfo
|
long |
primeMethod()
[@property] primeMethod
|
void |
reset()
reset
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
java.lang.String |
sampleRateConverterAlgorithm()
[@property] sampleRateConverterAlgorithm
|
long |
sampleRateConverterQuality()
[@property] sampleRateConverterQuality
|
void |
setBitRate(long value)
[@property] bitRate
|
void |
setBitRateStrategy(java.lang.String value)
[@property] bitRateStrategy
|
void |
setChannelMap(NSArray<? extends NSNumber> value)
[@property] channelMap
|
void |
setDither(boolean value)
[@property] dither
|
void |
setDownmix(boolean value)
[@property] downmix
|
void |
setMagicCookie(NSData value)
[@property] magicCookie
|
void |
setPrimeInfo(AVAudioConverterPrimeInfo value)
[@property] primeInfo
|
void |
setPrimeMethod(long value)
[@property] primeMethod
|
void |
setSampleRateConverterAlgorithm(java.lang.String value)
[@property] sampleRateConverterAlgorithm
|
void |
setSampleRateConverterQuality(long value)
[@property] sampleRateConverterQuality
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static AVAudioConverter alloc()
public static AVAudioConverter allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public NSArray<? extends NSNumber> applicableEncodeBitRates()
When encoding, an NSArray of NSNumber of bit rates that can be applied based on the current formats and settings. Returns nil if not encoding.
public NSArray<? extends NSNumber> applicableEncodeSampleRates()
When encoding, an NSArray of NSNumber of output sample rates that can be applied based on the current formats and settings. Returns nil if not encoding.
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public NSArray<? extends NSNumber> availableEncodeBitRates()
When encoding, an NSArray of NSNumber of all bit rates provided by the codec. Returns nil if not encoding.
public NSArray<? extends NSNumber> availableEncodeChannelLayoutTags()
When encoding, an NSArray of NSNumber of all output channel layout tags provided by the codec. Returns nil if not encoding.
public NSArray<? extends NSNumber> availableEncodeSampleRates()
When encoding, an NSArray of NSNumber of all output sample rates provided by the codec. Returns nil if not encoding.
public long bitRate()
bitRate in bits per second. Only applies when encoding.
public java.lang.String bitRateStrategy()
When encoding, an AVEncoderBitRateStrategyKey value constant as defined in AVAudioSettings.h. Returns nil if not encoding.
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public NSArray<? extends NSNumber> channelMap()
An array of integers indicating from which input to derive each output.
The array has size equal to the number of output channels. Each element's value is the input channel number, starting with zero, that is to be copied to that output. A negative value means that the output channel will have no source and will be silent. Setting a channel map overrides channel mapping due to any channel layouts in the input and output formats that may have been supplied.
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public long convertToBufferErrorWithInputFromBlock(AVAudioBuffer outputBuffer, org.moe.natj.general.ptr.Ptr<NSError> outError, AVAudioConverter.Block_convertToBufferErrorWithInputFromBlock inputBlock)
Perform any supported conversion.
It attempts to fill the buffer to its capacity. On return, the buffer's length indicates the number of sample frames successfully converted.
inputBlock - A block which will be called to get input data as needed. See description for AVAudioConverterInputBlock.outputBuffer - The output buffer.outError - An error if the conversion fails.public boolean convertToBufferFromBufferError(AVAudioPCMBuffer outputBuffer, AVAudioPCMBuffer inputBuffer, org.moe.natj.general.ptr.Ptr<NSError> outError)
Perform a simple conversion. That is, a conversion which does not involve codecs or sample rate conversion.
The output buffer's frameCapacity should be at least at large as the inputBuffer's frameLength. If the conversion involves a codec or sample rate conversion, you instead must use convertToBuffer:error:withInputFromBlock:.
inputBuffer - The input buffer.outputBuffer - The output buffer.outError - An error if the conversion fails.public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public boolean dither()
Setting YES will turn on dither, if dither makes sense in given the current formats and settings. Default value is NO.
public boolean downmix()
If YES and channel remapping is necessary, then channels will be mixed as appropriate instead of remapped. Default value is NO.
public static long hash_static()
public AVAudioConverter init()
public AVAudioConverter initFromFormatToFormat(AVAudioFormat fromFormat, AVAudioFormat toFormat)
Initialize from input and output formats.
Returns nil if the format conversion is not possible.
fromFormat - The input format.toFormat - The output format.public AVAudioFormat inputFormat()
The format of the input audio stream. (NB. AVAudioFormat includes the channel layout)
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public NSData magicCookie()
Decoders require some data in the form of a magicCookie in order to decode properly. Encoders will produce a magicCookie.
public long maximumOutputPacketSize()
The maximum size of an output packet, in bytes.
When encoding it is useful to know how large a packet can be in order to allocate a buffer to receive the output.
public static AVAudioConverter new_objc()
public AVAudioFormat outputFormat()
The format of the output audio stream. (NB. AVAudioFormat includes the channel layout)
public AVAudioConverterPrimeInfo primeInfo()
Indicates the the number of priming frames.
public long primeMethod()
Indicates the priming method to be used by the sample rate converter or decoder.
public void reset()
Resets the converter so that a new stream may be converted.
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public java.lang.String sampleRateConverterAlgorithm()
An AVSampleRateConverterAlgorithmKey value as defined in AVAudioSettings.h.
public long sampleRateConverterQuality()
An AVAudioQuality value as defined in AVAudioSettings.h.
public void setBitRate(long value)
bitRate in bits per second. Only applies when encoding.
public void setBitRateStrategy(java.lang.String value)
When encoding, an AVEncoderBitRateStrategyKey value constant as defined in AVAudioSettings.h. Returns nil if not encoding.
public void setChannelMap(NSArray<? extends NSNumber> value)
An array of integers indicating from which input to derive each output.
The array has size equal to the number of output channels. Each element's value is the input channel number, starting with zero, that is to be copied to that output. A negative value means that the output channel will have no source and will be silent. Setting a channel map overrides channel mapping due to any channel layouts in the input and output formats that may have been supplied.
public void setDither(boolean value)
Setting YES will turn on dither, if dither makes sense in given the current formats and settings. Default value is NO.
public void setDownmix(boolean value)
If YES and channel remapping is necessary, then channels will be mixed as appropriate instead of remapped. Default value is NO.
public void setMagicCookie(NSData value)
Decoders require some data in the form of a magicCookie in order to decode properly. Encoders will produce a magicCookie.
public void setPrimeInfo(AVAudioConverterPrimeInfo value)
Indicates the the number of priming frames.
public void setPrimeMethod(long value)
Indicates the priming method to be used by the sample rate converter or decoder.
public void setSampleRateConverterAlgorithm(java.lang.String value)
An AVSampleRateConverterAlgorithmKey value as defined in AVAudioSettings.h.
public void setSampleRateConverterQuality(long value)
An AVAudioQuality value as defined in AVAudioSettings.h.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()