<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioIONodeInputBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@T@AVAudioIONodeInputBlock"
  },
  "title" : "AVAudioIONodeInputBlock"
}
-->

# AVAudioIONodeInputBlock

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

```
typealias AVAudioIONodeInputBlock = (AVAudioFrameCount) -> UnsafePointer<AudioBufferList>?
```

## Parameters

`inNumberOfFrames`

The number of frames the system needs to complete the request.

## Return Value

An <doc://com.apple.documentation/documentation/CoreAudioTypes/AudioBufferList> that contains the data to render, or `nil` if no data is available.

## Discussion

Don’t clear or refill the data in the return value until the framework calls the input block again or the rendering finishes. The format of the buffer list must match the format you specify when registering the block.

---

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)