---
title: location
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiosessiondatasourcedescription/location
---

# location

The location of the data source on the device.

## Declaration

```swift
var location: AVAudioSession.Location? { get }
```

## Discussion

Discussion This property returns nil if the data source’s location isn’t known.

## See Also

### Retrieving the Data Source Location

- [AVAudioSession.Location](avfaudio/avaudiosession/location.md)
