---
title: "name(forInputBus:)"
framework: avfaudio
role: symbol
role_heading: Instance Method
path: "avfaudio/avaudionode/name(forinputbus:)"
---

# name(forInputBus:)

Gets the name of the input bus you specify.

## Declaration

```swift
func name(forInputBus bus: AVAudioNodeBus) -> String?
```

## Parameters

- `bus`: The input bus from an audio node.

## Return Value

Return Value The name of the input bus.

## See Also

### Configuring an Input Format Bus

- [AVAudioNodeBus](avfaudio/avaudionodebus.md)
- [inputFormat(forBus:)](avfaudio/avaudionode/inputformat(forbus:).md)
- [numberOfInputs](avfaudio/avaudionode/numberofinputs.md)
