---
title: AVAudioSinkNodeReceiverBlock
framework: avfaudio
role: symbol
role_heading: Type Alias
path: avfaudio/avaudiosinknodereceiverblock
---

# AVAudioSinkNodeReceiverBlock

A block that receives audio data from an audio sink node.

## Declaration

```swift
typealias AVAudioSinkNodeReceiverBlock = (UnsafePointer<AudioTimeStamp>, AVAudioFrameCount, UnsafePointer<AudioBufferList>) -> OSStatus
```

## Parameters

- `timestamp`: The time the input data renders.
- `frameCount`: The number of sample frames of input the engine provides.
- `inputData`: The input audio data.

## Return Value

Return Value An OSStatus result code. When an error occurs, consider the audio data invalid.

## See Also

### Creating an Audio Sink Node

- [init(receiverBlock:)](avfaudio/avaudiosinknode/init(receiverblock:).md)
