---
title: AURenderBlock
framework: audiotoolbox
role: symbol
role_heading: Type Alias
path: audiotoolbox/aurenderblock
---

# AURenderBlock

A block to render the audio unit.

## Declaration

```swift
typealias AURenderBlock = (UnsafeMutablePointer<AudioUnitRenderActionFlags>, UnsafePointer<AudioTimeStamp>, AUAudioFrameCount, Int, UnsafeMutablePointer<AudioBufferList>, AURenderPullInputBlock?) -> AUAudioUnitStatus
```

## Discussion

Discussion All realtime operations are implemented using blocks to avoid Objective-C method dispatching and the possibility of blocking. The block returns an audio unit status result code. If instead an error is returned, the output data should be assumed to be invalid. The block takes the following parameters:

## See Also

### Audio Unit Types

- [ScheduledAudioFileRegion](audiotoolbox/scheduledaudiofileregion.md)
- [ScheduledAudioSlice](audiotoolbox/scheduledaudioslice.md)
- [ScheduledAudioFileRegionCompletionProc](audiotoolbox/scheduledaudiofileregioncompletionproc.md)
- [ScheduledAudioSliceCompletionProc](audiotoolbox/scheduledaudioslicecompletionproc.md)
- [MIDIChannelNumber](audiotoolbox/midichannelnumber.md)
- [AUAudioObjectID](audiotoolbox/auaudioobjectid.md)
- [AUMIDICIProfileChangedBlock](audiotoolbox/aumidiciprofilechangedblock.md)
- [AUAudioChannelCount](audiotoolbox/auaudiochannelcount.md)
- [AUAudioFrameCount](audiotoolbox/auaudioframecount.md)
- [AUAudioUnitStatus](audiotoolbox/auaudiounitstatus.md)
- [AUEventListenerProc](audiotoolbox/aueventlistenerproc.md)
- [AUEventListenerRef](audiotoolbox/aueventlistenerref.md)
- [AUEventSampleTime](audiotoolbox/aueventsampletime.md)
- [AUImplementorValueObserver](audiotoolbox/auimplementorvalueobserver.md)
- [AUImplementorValueProvider](audiotoolbox/auimplementorvalueprovider.md)
