Package apple.avfaudio
Class AVAudioInputNode
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.avfaudio.AVAudioNode
-
- apple.avfaudio.AVAudioIONode
-
- apple.avfaudio.AVAudioInputNode
-
- All Implemented Interfaces:
AVAudio3DMixing,AVAudioMixing,AVAudioStereoMixing,NSObject
public class AVAudioInputNode extends AVAudioIONode implements AVAudioMixing
AVAudioInputNode A node that performs audio input in the engine. When the engine is rendering to/from an audio device, this node connects to the system's audio input. When the engine is operating in manual rendering mode, this node can be used to supply the input data to the engine. This node has one element. The format of the input scope reflects: - the audio hardware sample rate and channel count, when connected to the hardware - the format of the PCM audio data that the node will supply to the engine, in the manual rendering mode (see `setManualRenderingInputPCMFormat:inputBlock:`) When rendering from an audio device, the input node does not support format conversion. Hence the format of the output scope must be same as that of the input, as well as the formats for all the nodes connected in the input node chain. In the manual rendering mode, the format of the output scope is initially the same as that of the input, but you may set it to a different format, in which case the node will convert. API-Since: 8.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAVAudioInputNode.Block_setManualRenderingInputPCMFormatInputBlockstatic interfaceAVAudioInputNode.Block_setMutedSpeechActivityEventListener-
Nested classes/interfaces inherited from class apple.avfaudio.AVAudioNode
AVAudioNode.Block_installTapOnBusBufferSizeFormatBlock
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAVAudioInputNode(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static AVAudioInputNodealloc()static AVAudioInputNodeallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable AVAudioMixingDestinationdestinationForMixerBus(@NotNull AVAudioNode mixer, long bus)Returns the AVAudioMixingDestination object corresponding to specified mixer node and its input bus When a source node is connected to multiple mixers downstream, setting AVAudioMixing properties directly on the source node will apply the change to all the mixers downstream.static longhash_static()AVAudioInputNodeinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisVoiceProcessingAGCEnabled()[@property] voiceProcessingAGCEnabled Enable automatic gain control on the processed microphone uplink.booleanisVoiceProcessingBypassed()[@property] voiceProcessingBypassed Bypass all processing for microphone uplink done by the voice processing unit.booleanisVoiceProcessingInputMuted()[@property] voiceProcessingInputMuted Mutes the input of the voice processing unit.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static AVAudioInputNodenew_objc()floatobstruction()[@property] obstruction Simulates filtering of the direct path of sound due to an obstacle Only the direct path of sound between the source and listener is blocked.floatocclusion()[@property] occlusion Simulates filtering of the direct and reverb paths of sound due to an obstacle Both the direct and reverb paths of sound between the source and listener are blocked.floatpan()[@property] pan Set a bus's stereo pan Range: -1.0 -> 1.0 Default: 0.0 Mixer: AVAudioMixerNodelongpointSourceInHeadMode()[@property] pointSourceInHeadMode In-head rendering choice for AVAudio3DMixingSourceModePointSource in AVAudio3DMixingRenderingAlgorithmAuto Default: AVAudio3DMixingPointSourceInHeadModeMono Mixer: AVAudioEnvironmentNode API-Since: 13.0AVAudio3DPointposition()[@property] position The location of the source in the 3D environment The coordinates are specified in meters.floatrate()[@property] rate Changes the playback rate of the input signal A value of 2.0 results in the output audio playing one octave higher.longrenderingAlgorithm()[@property] renderingAlgorithm Type of rendering algorithm used Depending on the current output format of the AVAudioEnvironmentNode, only a subset of the rendering algorithms may be supported.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)floatreverbBlend()[@property] reverbBlend Controls the blend of dry and reverb processed audio This property controls the amount of the source's audio that will be processed by the reverb in AVAudioEnvironmentNode.booleansetManualRenderingInputPCMFormatInputBlock(@NotNull AVAudioFormat format, @NotNull AVAudioInputNode.Block_setManualRenderingInputPCMFormatInputBlock block)setManualRenderingInputPCMFormat:inputBlock: Supply the data through the input node to the engine operating in the manual rendering mode.booleansetMutedSpeechActivityEventListener(@Nullable AVAudioInputNode.Block_setMutedSpeechActivityEventListener listenerBlock)setMutedSpeechActivityEventListener Register a listener to be notified when speech activity event occurs while the input is muted.voidsetObstruction(float value)[@property] obstruction Simulates filtering of the direct path of sound due to an obstacle Only the direct path of sound between the source and listener is blocked.voidsetOcclusion(float value)[@property] occlusion Simulates filtering of the direct and reverb paths of sound due to an obstacle Both the direct and reverb paths of sound between the source and listener are blocked.voidsetPan(float value)[@property] pan Set a bus's stereo pan Range: -1.0 -> 1.0 Default: 0.0 Mixer: AVAudioMixerNodevoidsetPointSourceInHeadMode(long value)[@property] pointSourceInHeadMode In-head rendering choice for AVAudio3DMixingSourceModePointSource in AVAudio3DMixingRenderingAlgorithmAuto Default: AVAudio3DMixingPointSourceInHeadModeMono Mixer: AVAudioEnvironmentNode API-Since: 13.0voidsetPosition(AVAudio3DPoint value)[@property] position The location of the source in the 3D environment The coordinates are specified in meters.voidsetRate(float value)[@property] rate Changes the playback rate of the input signal A value of 2.0 results in the output audio playing one octave higher.voidsetRenderingAlgorithm(long value)[@property] renderingAlgorithm Type of rendering algorithm used Depending on the current output format of the AVAudioEnvironmentNode, only a subset of the rendering algorithms may be supported.voidsetReverbBlend(float value)[@property] reverbBlend Controls the blend of dry and reverb processed audio This property controls the amount of the source's audio that will be processed by the reverb in AVAudioEnvironmentNode.voidsetSourceMode(long value)[@property] sourceMode Controls how individual channels of an input bus are rendered Default: AVAudio3DMixingSourceModeSpatializeIfMono Mixer: AVAudioEnvironmentNode API-Since: 13.0static voidsetVersion_static(long aVersion)voidsetVoiceProcessingAGCEnabled(boolean value)[@property] voiceProcessingAGCEnabled Enable automatic gain control on the processed microphone uplink.voidsetVoiceProcessingBypassed(boolean value)[@property] voiceProcessingBypassed Bypass all processing for microphone uplink done by the voice processing unit.voidsetVoiceProcessingInputMuted(boolean value)[@property] voiceProcessingInputMuted Mutes the input of the voice processing unit.voidsetVoiceProcessingOtherAudioDuckingConfiguration(AVAudioVoiceProcessingOtherAudioDuckingConfiguration value)[@property] voiceProcessingOtherAudioDuckingConfiguration The configuration of ducking other (i.e.voidsetVolume(float value)[@property] volume Set a bus's input volume Range: 0.0 -> 1.0 Default: 1.0 Mixers: AVAudioMixerNode, AVAudioEnvironmentNodelongsourceMode()[@property] sourceMode Controls how individual channels of an input bus are rendered Default: AVAudio3DMixingSourceModeSpatializeIfMono Mixer: AVAudioEnvironmentNode API-Since: 13.0static org.moe.natj.objc.Classsuperclass_static()static booleanuseStoredAccessor()Deprecated.static longversion_static()AVAudioVoiceProcessingOtherAudioDuckingConfigurationvoiceProcessingOtherAudioDuckingConfiguration()[@property] voiceProcessingOtherAudioDuckingConfiguration The configuration of ducking other (i.e.floatvolume()[@property] volume Set a bus's input volume Range: 0.0 -> 1.0 Default: 1.0 Mixers: AVAudioMixerNode, AVAudioEnvironmentNode-
Methods inherited from class apple.avfaudio.AVAudioIONode
audioUnit, isVoiceProcessingEnabled, presentationLatency, setVoiceProcessingEnabledError
-
Methods inherited from class apple.avfaudio.AVAudioNode
AUAudioUnit, engine, inputFormatForBus, installTapOnBusBufferSizeFormatBlock, lastRenderTime, latency, nameForInputBus, nameForOutputBus, numberOfInputs, numberOfOutputs, outputFormatForBus, outputPresentationLatency, removeTapOnBus, reset
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static AVAudioInputNode alloc()
-
allocWithZone
public static AVAudioInputNode allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
destinationForMixerBus
@Nullable public @Nullable AVAudioMixingDestination destinationForMixerBus(@NotNull @NotNull AVAudioNode mixer, long bus)
Description copied from interface:AVAudioMixingReturns the AVAudioMixingDestination object corresponding to specified mixer node and its input bus When a source node is connected to multiple mixers downstream, setting AVAudioMixing properties directly on the source node will apply the change to all the mixers downstream. If you want to set/get properties on a specific mixer, use this method to get the corresponding AVAudioMixingDestination and set/get properties on it. Note: - Properties set on individual AVAudioMixingDestination instances will not reflect at the source node level. - AVAudioMixingDestination reference returned by this method could become invalid when there is any disconnection between the source and the mixer node. Hence this reference should not be retained and should be fetched every time you want to set/get properties on a specific mixer. If the source node is not connected to the specified mixer/input bus, this method returns nil. Calling this on an AVAudioMixingDestination instance returns self if the specified mixer/input bus matches its connection point, otherwise, it returns nil. API-Since: 9.0- Specified by:
destinationForMixerBusin interfaceAVAudioMixing
-
hash_static
public static long hash_static()
-
init
public AVAudioInputNode init()
- Overrides:
initin classAVAudioIONode
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
isVoiceProcessingAGCEnabled
public boolean isVoiceProcessingAGCEnabled()
[@property] voiceProcessingAGCEnabled Enable automatic gain control on the processed microphone uplink. signal. Enabled by default. Querying this property when voice processing is disabled will return false. API-Since: 13.0
-
isVoiceProcessingBypassed
public boolean isVoiceProcessingBypassed()
[@property] voiceProcessingBypassed Bypass all processing for microphone uplink done by the voice processing unit. Querying this property when voice processing is disabled will return false. API-Since: 13.0
-
isVoiceProcessingInputMuted
public boolean isVoiceProcessingInputMuted()
[@property] voiceProcessingInputMuted Mutes the input of the voice processing unit. Querying this property when voice processing is disabled will return false. API-Since: 13.0
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static AVAudioInputNode new_objc()
-
obstruction
public float obstruction()
Description copied from interface:AVAudio3DMixing[@property] obstruction Simulates filtering of the direct path of sound due to an obstacle Only the direct path of sound between the source and listener is blocked. Range: -100.0 -> 0.0 dB Default: 0.0 Mixer: AVAudioEnvironmentNode- Specified by:
obstructionin interfaceAVAudio3DMixing
-
occlusion
public float occlusion()
Description copied from interface:AVAudio3DMixing[@property] occlusion Simulates filtering of the direct and reverb paths of sound due to an obstacle Both the direct and reverb paths of sound between the source and listener are blocked. Range: -100.0 -> 0.0 dB Default: 0.0 Mixer: AVAudioEnvironmentNode- Specified by:
occlusionin interfaceAVAudio3DMixing
-
pan
public float pan()
Description copied from interface:AVAudioStereoMixing[@property] pan Set a bus's stereo pan Range: -1.0 -> 1.0 Default: 0.0 Mixer: AVAudioMixerNode- Specified by:
panin interfaceAVAudioStereoMixing
-
pointSourceInHeadMode
public long pointSourceInHeadMode()
Description copied from interface:AVAudio3DMixing[@property] pointSourceInHeadMode In-head rendering choice for AVAudio3DMixingSourceModePointSource in AVAudio3DMixingRenderingAlgorithmAuto Default: AVAudio3DMixingPointSourceInHeadModeMono Mixer: AVAudioEnvironmentNode API-Since: 13.0- Specified by:
pointSourceInHeadModein interfaceAVAudio3DMixing
-
position
public AVAudio3DPoint position()
Description copied from interface:AVAudio3DMixing[@property] position The location of the source in the 3D environment The coordinates are specified in meters. Mixer: AVAudioEnvironmentNode- Specified by:
positionin interfaceAVAudio3DMixing
-
rate
public float rate()
Description copied from interface:AVAudio3DMixing[@property] rate Changes the playback rate of the input signal A value of 2.0 results in the output audio playing one octave higher. A value of 0.5, results in the output audio playing one octave lower. Range: 0.5 -> 2.0 Default: 1.0 Mixer: AVAudioEnvironmentNode- Specified by:
ratein interfaceAVAudio3DMixing
-
renderingAlgorithm
public long renderingAlgorithm()
Description copied from interface:AVAudio3DMixing[@property] renderingAlgorithm Type of rendering algorithm used Depending on the current output format of the AVAudioEnvironmentNode, only a subset of the rendering algorithms may be supported. An array of valid rendering algorithms can be retrieved by calling applicableRenderingAlgorithms on AVAudioEnvironmentNode. Default: AVAudio3DMixingRenderingAlgorithmEqualPowerPanning Mixer: AVAudioEnvironmentNode- Specified by:
renderingAlgorithmin interfaceAVAudio3DMixing
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
reverbBlend
public float reverbBlend()
Description copied from interface:AVAudio3DMixing[@property] reverbBlend Controls the blend of dry and reverb processed audio This property controls the amount of the source's audio that will be processed by the reverb in AVAudioEnvironmentNode. A value of 0.5 will result in an equal blend of dry and processed (wet) audio. Range: 0.0 (completely dry) -> 1.0 (completely wet) Default: 0.0 Mixer: AVAudioEnvironmentNode- Specified by:
reverbBlendin interfaceAVAudio3DMixing
-
setManualRenderingInputPCMFormatInputBlock
public boolean setManualRenderingInputPCMFormatInputBlock(@NotNull @NotNull AVAudioFormat format, @NotNull @NotNull AVAudioInputNode.Block_setManualRenderingInputPCMFormatInputBlock block)setManualRenderingInputPCMFormat:inputBlock: Supply the data through the input node to the engine operating in the manual rendering mode. This block must be set if the input node is being used when the engine is operating in manual rendering mode. Switching the engine to render to/from an audio device invalidates any previously set block, and makes this method ineffective. API-Since: 11.0- Parameters:
format- The format of the PCM audio data the block will supply to the engineblock- The block the engine will call on the input node to get the audio to send to the output, when operating in the manual rendering mode. See `AVAudioIONodeInputBlock` for more details- Returns:
- YES for success
-
setObstruction
public void setObstruction(float value)
Description copied from interface:AVAudio3DMixing[@property] obstruction Simulates filtering of the direct path of sound due to an obstacle Only the direct path of sound between the source and listener is blocked. Range: -100.0 -> 0.0 dB Default: 0.0 Mixer: AVAudioEnvironmentNode- Specified by:
setObstructionin interfaceAVAudio3DMixing
-
setOcclusion
public void setOcclusion(float value)
Description copied from interface:AVAudio3DMixing[@property] occlusion Simulates filtering of the direct and reverb paths of sound due to an obstacle Both the direct and reverb paths of sound between the source and listener are blocked. Range: -100.0 -> 0.0 dB Default: 0.0 Mixer: AVAudioEnvironmentNode- Specified by:
setOcclusionin interfaceAVAudio3DMixing
-
setPan
public void setPan(float value)
Description copied from interface:AVAudioStereoMixing[@property] pan Set a bus's stereo pan Range: -1.0 -> 1.0 Default: 0.0 Mixer: AVAudioMixerNode- Specified by:
setPanin interfaceAVAudioStereoMixing
-
setPointSourceInHeadMode
public void setPointSourceInHeadMode(long value)
Description copied from interface:AVAudio3DMixing[@property] pointSourceInHeadMode In-head rendering choice for AVAudio3DMixingSourceModePointSource in AVAudio3DMixingRenderingAlgorithmAuto Default: AVAudio3DMixingPointSourceInHeadModeMono Mixer: AVAudioEnvironmentNode API-Since: 13.0- Specified by:
setPointSourceInHeadModein interfaceAVAudio3DMixing
-
setPosition
public void setPosition(AVAudio3DPoint value)
Description copied from interface:AVAudio3DMixing[@property] position The location of the source in the 3D environment The coordinates are specified in meters. Mixer: AVAudioEnvironmentNode- Specified by:
setPositionin interfaceAVAudio3DMixing
-
setRate
public void setRate(float value)
Description copied from interface:AVAudio3DMixing[@property] rate Changes the playback rate of the input signal A value of 2.0 results in the output audio playing one octave higher. A value of 0.5, results in the output audio playing one octave lower. Range: 0.5 -> 2.0 Default: 1.0 Mixer: AVAudioEnvironmentNode- Specified by:
setRatein interfaceAVAudio3DMixing
-
setRenderingAlgorithm
public void setRenderingAlgorithm(long value)
Description copied from interface:AVAudio3DMixing[@property] renderingAlgorithm Type of rendering algorithm used Depending on the current output format of the AVAudioEnvironmentNode, only a subset of the rendering algorithms may be supported. An array of valid rendering algorithms can be retrieved by calling applicableRenderingAlgorithms on AVAudioEnvironmentNode. Default: AVAudio3DMixingRenderingAlgorithmEqualPowerPanning Mixer: AVAudioEnvironmentNode- Specified by:
setRenderingAlgorithmin interfaceAVAudio3DMixing
-
setReverbBlend
public void setReverbBlend(float value)
Description copied from interface:AVAudio3DMixing[@property] reverbBlend Controls the blend of dry and reverb processed audio This property controls the amount of the source's audio that will be processed by the reverb in AVAudioEnvironmentNode. A value of 0.5 will result in an equal blend of dry and processed (wet) audio. Range: 0.0 (completely dry) -> 1.0 (completely wet) Default: 0.0 Mixer: AVAudioEnvironmentNode- Specified by:
setReverbBlendin interfaceAVAudio3DMixing
-
setSourceMode
public void setSourceMode(long value)
Description copied from interface:AVAudio3DMixing[@property] sourceMode Controls how individual channels of an input bus are rendered Default: AVAudio3DMixingSourceModeSpatializeIfMono Mixer: AVAudioEnvironmentNode API-Since: 13.0- Specified by:
setSourceModein interfaceAVAudio3DMixing
-
setVersion_static
public static void setVersion_static(long aVersion)
-
setVoiceProcessingAGCEnabled
public void setVoiceProcessingAGCEnabled(boolean value)
[@property] voiceProcessingAGCEnabled Enable automatic gain control on the processed microphone uplink. signal. Enabled by default. Querying this property when voice processing is disabled will return false. API-Since: 13.0
-
setVoiceProcessingBypassed
public void setVoiceProcessingBypassed(boolean value)
[@property] voiceProcessingBypassed Bypass all processing for microphone uplink done by the voice processing unit. Querying this property when voice processing is disabled will return false. API-Since: 13.0
-
setVoiceProcessingInputMuted
public void setVoiceProcessingInputMuted(boolean value)
[@property] voiceProcessingInputMuted Mutes the input of the voice processing unit. Querying this property when voice processing is disabled will return false. API-Since: 13.0
-
setVolume
public void setVolume(float value)
Description copied from interface:AVAudioMixing[@property] volume Set a bus's input volume Range: 0.0 -> 1.0 Default: 1.0 Mixers: AVAudioMixerNode, AVAudioEnvironmentNode- Specified by:
setVolumein interfaceAVAudioMixing
-
sourceMode
public long sourceMode()
Description copied from interface:AVAudio3DMixing[@property] sourceMode Controls how individual channels of an input bus are rendered Default: AVAudio3DMixingSourceModeSpatializeIfMono Mixer: AVAudioEnvironmentNode API-Since: 13.0- Specified by:
sourceModein interfaceAVAudio3DMixing
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
volume
public float volume()
Description copied from interface:AVAudioMixing[@property] volume Set a bus's input volume Range: 0.0 -> 1.0 Default: 1.0 Mixers: AVAudioMixerNode, AVAudioEnvironmentNode- Specified by:
volumein interfaceAVAudioMixing
-
setMutedSpeechActivityEventListener
public boolean setMutedSpeechActivityEventListener(@Nullable @Nullable AVAudioInputNode.Block_setMutedSpeechActivityEventListener listenerBlock)setMutedSpeechActivityEventListener Register a listener to be notified when speech activity event occurs while the input is muted. Continuous presence of or lack of speech activity during mute will not cause redundant notification. In order to use this API, it's expected to implement the mute via the voiceProcessingInputMuted. API-Since: 17.0- Parameters:
listenerBlock- The block the engine will call when speech activity event occurs while the input is muted. Passing nil will remove an already set block.- Returns:
- YES for success
-
setVoiceProcessingOtherAudioDuckingConfiguration
public void setVoiceProcessingOtherAudioDuckingConfiguration(AVAudioVoiceProcessingOtherAudioDuckingConfiguration value)
[@property] voiceProcessingOtherAudioDuckingConfiguration The configuration of ducking other (i.e. non-voice) audio Configures the ducking of other (i.e. non-voice) audio, including advanced ducking enablement and ducking level. In general, when other audio is played during voice chat, applying a higher level of ducking could increase the intelligibility of the voice chat. If not set, the default ducking configuration is to disable advanced ducking, with a ducking level set to AVAudioVoiceProcessingOtherAudioDuckingLevelDefault. API-Since: 17.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
voiceProcessingOtherAudioDuckingConfiguration
public AVAudioVoiceProcessingOtherAudioDuckingConfiguration voiceProcessingOtherAudioDuckingConfiguration()
[@property] voiceProcessingOtherAudioDuckingConfiguration The configuration of ducking other (i.e. non-voice) audio Configures the ducking of other (i.e. non-voice) audio, including advanced ducking enablement and ducking level. In general, when other audio is played during voice chat, applying a higher level of ducking could increase the intelligibility of the voice chat. If not set, the default ducking configuration is to disable advanced ducking, with a ducking level set to AVAudioVoiceProcessingOtherAudioDuckingLevelDefault. API-Since: 17.0
-
-