AVAudioSessionDataSourceDescription Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Availability | Available in iOS 6.0 and later. |
| Declared in | AVAudioSession.h |
Overview
The AVAudioSessionDataSourceDescription class provides descriptive information about a data source for an AVAudioSession object. Certain accessories, such as some USB audio devices, support data source selection and this class is used to encapsulate each inidividual data source.
Properties
dataSourceID
The system-assigned identifier for the data source. (read-only)
@property(readonly) NSNumber *dataSourceID
Discussion
You can use the value of this property to assign a specific data source to some input or output within an audio session.
Availability
- Available in iOS 6.0 and later.
Declared In
AVAudioSession.hdataSourceName
A human-readable name for the data source. (read-only)
@property(readonly) NSString *dataSourceName
Discussion
Availability
- Available in iOS 6.0 and later.
Declared In
AVAudioSession.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)