NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AUAudioUnitBus(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AUAudioUnitBus |
alloc() |
static AUAudioUnitBus |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
busType()
[@property] busType
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
double |
contextPresentationLatency()
[@property] contextPresentationLatency
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
AVAudioFormat |
format()
[@property] format
|
static long |
hash_static() |
long |
index()
[@property] index
|
AUAudioUnitBus |
init() |
AUAudioUnitBus |
initWithFormatError(AVAudioFormat format,
org.moe.natj.general.ptr.Ptr<NSError> outError)
initWithFormat:error:
|
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) |
boolean |
isEnabled()
[@property] enabled
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
int |
maximumChannelCount()
[@property] maximumChannelCount
|
java.lang.String |
name()
[@property] name
|
static AUAudioUnitBus |
new_objc() |
AUAudioUnit |
ownerAudioUnit()
[@property] ownerAudioUnit
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setContextPresentationLatency(double value)
[@property] contextPresentationLatency
|
void |
setEnabled(boolean value)
[@property] enabled
|
boolean |
setFormatError(AVAudioFormat format,
org.moe.natj.general.ptr.Ptr<NSError> outError)
[@property] setFormat:error:
|
void |
setMaximumChannelCount(int value)
[@property] maximumChannelCount
|
void |
setName(java.lang.String value)
[@property] name
|
void |
setShouldAllocateBuffer(boolean value)
[@property] shouldAllocateBuffer
|
void |
setSupportedChannelCounts(NSArray<? extends NSNumber> value)
[@property] supportedChannelCounts
|
static void |
setVersion_static(long aVersion) |
boolean |
shouldAllocateBuffer()
[@property] shouldAllocateBuffer
|
static org.moe.natj.objc.Class |
superclass_static() |
NSArray<? extends NSNumber> |
supportedChannelCounts()
[@property] supportedChannelCounts
|
NSArray<? extends NSNumber> |
supportedChannelLayoutTags()
[@property] supportedChannelLayoutTags
|
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 AUAudioUnitBus alloc()
public static AUAudioUnitBus allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
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 static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
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 static AUAudioUnitBus new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public long busType()
The AUAudioUnitBusType.
public double contextPresentationLatency()
Information about latency in the audio unit's processing context.
This should not be confused with the audio unit's latency property, where the audio unit describes to the host any processing latency it introduces between its input and its output.
A host may set this property to describe to the audio unit the presentation latency of its input and/or output audio data. Latency is described in seconds. A value of zero means either no latency or an unknown latency.
A host should set this property on each active bus, since, for example, the audio routing path to each of multiple output busses may differ.
For input busses: Describes how long ago the audio arriving on this bus was acquired. For instance, when reading from a file to the first audio unit in a chain, the input presentation latency is zero. For audio input from a device, this initial input latency is the presentation latency of the device itself, i.e. the device's safety offset and latency.
A second chained audio unit's input presentation latency will be the input presentation latency of the first unit, plus the processing latency of the first unit.
For output busses: Describes how long it will be before the output audio of an audio unit is presented. For instance, when writing to a file, the output presentation latency of the last audio unit in a chain is zero. When the audio from that audio unit is to be played to a device, then that initial presentation latency will be the presentation latency of the device itself, which is the I/O buffer size, plus the device's safety offset and latency
A previous chained audio unit's output presentation latency is the last unit's presentation latency plus its processing latency.
So, for a given audio unit anywhere within a mixing graph, the input and output presentation latencies describe to that unit how long from the moment of generation it has taken for its input to arrive, and how long it will take for its output to be presented.
Bridged to the v2 property kAudioUnitProperty_PresentationLatency.
public AVAudioFormat format()
The audio format and channel layout of audio being transferred on the bus.
Bridged to the v2 property kAudioUnitProperty_StreamFormat.
public long index()
The index of this bus in the containing array.
public AUAudioUnitBus init()
public AUAudioUnitBus initWithFormatError(AVAudioFormat format, org.moe.natj.general.ptr.Ptr<NSError> outError)
initialize with a default format.
format - The initial format for the bus.outError - An error if the format is unsupported for the bus.public boolean isEnabled()
Whether the bus is active.
Hosts must enable input busses before using them. The reason for this is to allow a unit such as a mixer to be prepared to render a large number of inputs, but avoid the work of preparing to pull inputs which are not in use.
Bridged to the v2 properties kAudioUnitProperty_MakeConnection and kAudioUnitProperty_SetRenderCallback.
public void setEnabled(boolean value)
Whether the bus is active.
Hosts must enable input busses before using them. The reason for this is to allow a unit such as a mixer to be prepared to render a large number of inputs, but avoid the work of preparing to pull inputs which are not in use.
Bridged to the v2 properties kAudioUnitProperty_MakeConnection and kAudioUnitProperty_SetRenderCallback.
public int maximumChannelCount()
The maximum numbers of channels supported for this bus.
If supportedChannelCounts is set, then this value is derived from supportedChannelCounts. If setting maximumChannelCount makes the current format unsupported, then format will be set to nil. The default value is UINT_MAX.
public java.lang.String name()
A name for the bus. Can be set by host.
public AUAudioUnit ownerAudioUnit()
The audio unit that owns the bus.
public void setContextPresentationLatency(double value)
Information about latency in the audio unit's processing context.
This should not be confused with the audio unit's latency property, where the audio unit describes to the host any processing latency it introduces between its input and its output.
A host may set this property to describe to the audio unit the presentation latency of its input and/or output audio data. Latency is described in seconds. A value of zero means either no latency or an unknown latency.
A host should set this property on each active bus, since, for example, the audio routing path to each of multiple output busses may differ.
For input busses: Describes how long ago the audio arriving on this bus was acquired. For instance, when reading from a file to the first audio unit in a chain, the input presentation latency is zero. For audio input from a device, this initial input latency is the presentation latency of the device itself, i.e. the device's safety offset and latency.
A second chained audio unit's input presentation latency will be the input presentation latency of the first unit, plus the processing latency of the first unit.
For output busses: Describes how long it will be before the output audio of an audio unit is presented. For instance, when writing to a file, the output presentation latency of the last audio unit in a chain is zero. When the audio from that audio unit is to be played to a device, then that initial presentation latency will be the presentation latency of the device itself, which is the I/O buffer size, plus the device's safety offset and latency
A previous chained audio unit's output presentation latency is the last unit's presentation latency plus its processing latency.
So, for a given audio unit anywhere within a mixing graph, the input and output presentation latencies describe to that unit how long from the moment of generation it has taken for its input to arrive, and how long it will take for its output to be presented.
Bridged to the v2 property kAudioUnitProperty_PresentationLatency.
public boolean setFormatError(AVAudioFormat format, org.moe.natj.general.ptr.Ptr<NSError> outError)
Sets the bus's audio format.
Audio units can generally be expected to support AVAudioFormat's standard format (deinterleaved 32-bit float), at any sample rate. Channel counts can be more complex; see AUAudioUnit.channelCapabilities.
public void setMaximumChannelCount(int value)
The maximum numbers of channels supported for this bus.
If supportedChannelCounts is set, then this value is derived from supportedChannelCounts. If setting maximumChannelCount makes the current format unsupported, then format will be set to nil. The default value is UINT_MAX.
public void setName(java.lang.String value)
A name for the bus. Can be set by host.
public void setSupportedChannelCounts(NSArray<? extends NSNumber> value)
An array of numbers giving the supported numbers of channels for this bus.
If supportedChannelCounts is nil, then any number less than or equal to maximumChannelCount is supported. If setting supportedChannelCounts makes the current format unsupported, then format will be set to nil. The default value is nil.
public NSArray<? extends NSNumber> supportedChannelCounts()
An array of numbers giving the supported numbers of channels for this bus.
If supportedChannelCounts is nil, then any number less than or equal to maximumChannelCount is supported. If setting supportedChannelCounts makes the current format unsupported, then format will be set to nil. The default value is nil.
public NSArray<? extends NSNumber> supportedChannelLayoutTags()
This is an array of NSNumbers representing AudioChannelLayoutTag.
public void setShouldAllocateBuffer(boolean value)
Controls the audio unit's allocation strategy for a bus.
Hosts can set this flag to communicate whether an audio unit should allocate its own buffer. By default this flag is set to true.
On the output side, shouldAllocateBuffer=false means the AU can assume that it will be called with non-null output buffers. If shouldAllocateBuffer=true (the default), the AU must be prepared to be called with null pointers and replace them with pointers to its internally allocated buffer.
On the input side, shouldAllocateBuffer=false means the AU can pull for input using a buffer list with null buffer pointers, and assume that the pull input block will provide pointers. If shouldAllocateBuffer=true (the default), the AU must pull with non-null pointers while still being prepared for the source to replace them with pointers of its own.
Bridged to the v2 property kAudioUnitProperty_ShouldAllocateBuffer.
public boolean shouldAllocateBuffer()
Controls the audio unit's allocation strategy for a bus.
Hosts can set this flag to communicate whether an audio unit should allocate its own buffer. By default this flag is set to true.
On the output side, shouldAllocateBuffer=false means the AU can assume that it will be called with non-null output buffers. If shouldAllocateBuffer=true (the default), the AU must be prepared to be called with null pointers and replace them with pointers to its internally allocated buffer.
On the input side, shouldAllocateBuffer=false means the AU can pull for input using a buffer list with null buffer pointers, and assume that the pull input block will provide pointers. If shouldAllocateBuffer=true (the default), the AU must pull with non-null pointers while still being prepared for the source to replace them with pointers of its own.
Bridged to the v2 property kAudioUnitProperty_ShouldAllocateBuffer.