AVAudioSessionDataSourceDescription
An object that defines a data source for an audio input or output, giving information such as the source’s name, location, and orientation.
Declaration
class AVAudioSessionDataSourceDescriptionOverview
You obtain data source descriptions from the shared AVAudioSession object or the AVAudioSessionPortDescription objects corresponding to its input and output ports. Only built-in microphone ports on certain devices support the location, orientation, and polar pattern properties. If a port doesn’t support these features, the value of its dataSources property is nil.
This class is especially useful for differentiating between microphone configurations on devices having more than one built-in microphone. Such devices may also support signal processing features for spatial filtering, or beamforming, in which the system makes the device more sensitive to audio signals from a particular direction. See Data Source Polar Patterns for more information.