<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioInputNode",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAudioInputNode"
  },
  "title" : "AVAudioInputNode"
}
-->

# AVAudioInputNode

An object that connects to the system’s audio input.

```
class AVAudioInputNode
```

## Overview

This node connects to the system’s audio input when rendering to or from an audio device. In manual rendering mode, this node supplies input data to the engine.

This audio node has one element. The format of the input scope reflects:

- The audio hardware sample rate and channel count when it connects to hardware.
- The format of the PCM audio data that the node supplies to the engine in manual rendering mode. For more information, see [`setManualRenderingInputPCMFormat(_:inputBlock:)`](/documentation/AVFAudio/AVAudioInputNode/setManualRenderingInputPCMFormat(_:inputBlock:))

When rendering from an audio device, the input node doesn’t support format conversion. In this case, the format of the output scope must be the same as the input and the formats for all nodes connected to the input chain.

In manual rendering mode, the format of the output scope is initially the same as the input, but you may set it to a different format, which converts the node.

> Important:
> This class has no methods of its own. It implements the methods that the ``doc://com.apple.avfaudio/documentation/AVFAudio/AVAudioMixing`` protocol defines, as well as those of the ``doc://com.apple.avfaudio/documentation/AVFAudio/AVAudio3DMixing`` protocol, which the ``doc://com.apple.avfaudio/documentation/AVFAudio/AVAudioMixing`` protocol adopts. For more information, see ``doc://com.apple.avfaudio/documentation/AVFAudio/AVAudioMixing`` and ``doc://com.apple.avfaudio/documentation/AVFAudio/AVAudio3DMixing``.

## Topics

### Manually Giving Data to an Audio Engine

[`setManualRenderingInputPCMFormat(_:inputBlock:)`](/documentation/AVFAudio/AVAudioInputNode/setManualRenderingInputPCMFormat(_:inputBlock:))

Supplies the data through the input node to the engine while operating in the manual rendering mode.

[`AVAudioIONodeInputBlock`](/documentation/AVFAudio/AVAudioIONodeInputBlock)

The type that represents a block to render operation calls to get input data when in manual rendering mode.

### Getting and Setting Voice Processing Properties

[`isVoiceProcessingInputMuted`](/documentation/AVFAudio/AVAudioInputNode/isVoiceProcessingInputMuted)

A Boolean that indicates whether the input of the voice processing unit is in a muted state.

[`isVoiceProcessingBypassed`](/documentation/AVFAudio/AVAudioInputNode/isVoiceProcessingBypassed)

A Boolean that indicates whether the node bypasses all microphone uplink processing of the voice-processing unit.

[`isVoiceProcessingAGCEnabled`](/documentation/AVFAudio/AVAudioInputNode/isVoiceProcessingAGCEnabled)

A Boolean that indicates whether automatic gain control on the processed microphone uplink signal is active.

[`voiceProcessingOtherAudioDuckingConfiguration`](/documentation/AVFAudio/AVAudioInputNode/voiceProcessingOtherAudioDuckingConfiguration)

The ducking configuration of nonvoice audio.

[`AVAudioVoiceProcessingOtherAudioDuckingConfiguration`](/documentation/AVFAudio/AVAudioVoiceProcessingOtherAudioDuckingConfiguration)

The configuration of ducking non-voice audio.

### Handling Muted Speech Events

[`setMutedSpeechActivityEventListener(_:)`](/documentation/AVFAudio/AVAudioInputNode/setMutedSpeechActivityEventListener(_:))

[`AVAudioVoiceProcessingSpeechActivityEvent`](/documentation/AVFAudio/AVAudioVoiceProcessingSpeechActivityEvent)

Types of speech activity events.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)