summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLAudioPassThruCapabilities.h
blob: 96772b62b552022d3a05f31e2c9532a8d8a59dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//  SDLAudioPassThruCapabilities.h
//

#import "SDLRPCMessage.h"

@class SDLAudioType;
@class SDLBitsPerSample;
@class SDLSamplingRate;


/**
 * Describes different audio type configurations for SDLPerformAudioPassThru, e.g. {8kHz,8-bit,PCM}
 * <p><b>Parameter List</b>
 * <table border="1" rules="all">
 * 		<tr>
 * 			<th>Name</th>
 * 			<th>Type</th>
 * 			<th>Description</th>
 * 			<th>SmartDeviceLink Ver. Available</th>
 * 		</tr>
 * 		<tr>
 * 			<td>samplingRate</td>
 * 			<td>SDLSamplingRate * </td>
 * 			<td>Describes the sampling rate for AudioPassThru
 * 			</td>
 * 			<td>SmartDeviceLink 2.0</td>
 * 		</tr>
 * 		<tr>
 * 			<td>bitsPerSample</td>
 * 			<td>SDLBitsPerSample * </td>
 * 			<td>Describes the sample depth in bit for AudioPassThru
 * 			</td>
 * 			<td>SmartDeviceLink 2.0</td>
 * 		</tr>
 * 		<tr>
 * 			<td>audioType</td>
 * 			<td>SDLAudioType * </td>
 * 			<td>Describes the audiotype for AudioPassThru
 * 			</td>
 * 			<td>SmartDeviceLink 2.0</td>
 * 		</tr>
 *  </table>
 * Since <b>SmartDeviceLink 2.0</b>
 */
@interface SDLAudioPassThruCapabilities : SDLRPCStruct {
}

/**
 * Constructs a newly allocated SDLAudioPassThruCapabilities object
 */
- (instancetype)init;
/**
 * Constructs a newly allocated SDLAudioPassThruCapabilities object indicated by the Hashtable parameter
 * @param dict The dictionary to use
 */
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;

/**
 * @abstract The sampling rate for AudioPassThru<br>
 *
 */
@property (strong) SDLSamplingRate *samplingRate;
/**
 * @abstract The sample depth in bit for AudioPassThru<br>
 *
 */
@property (strong) SDLBitsPerSample *bitsPerSample;
/**
 * @abstract The audiotype for AudioPassThru<br>
 *
 */
@property (strong) SDLAudioType *audioType;

@end