summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSamplingRate.h
blob: 28d3d35dc043420f15403beaf5030b656d784ecc (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
//  SDLSamplingRate.h
//


#import "SDLEnum.h"

/**
 * Describes different sampling rates for PerformAudioPassThru
 *
 * @since SDL 2.0
 */
@interface SDLSamplingRate : SDLEnum {
}

/**
 * @abstract get SDLSamplingRate according value string
 *
 * @param value The value of the string to get an object for
 *
 * @return SDLSamplingRate object
 */
+ (SDLSamplingRate *)valueOf:(NSString *)value;

/**
 * @abstract declare an array to store all possible SDLSamplingRate values
 *
 * @return the array
 */
+ (NSArray *)values;

/**
 * @abstract Sampling rate of 8 kHz
 *
 * @return SamplingRate of *8KHZ*
 */
+ (SDLSamplingRate *)_8KHZ;
/**
 * @abstract Sampling rate of 16 kHz
 *
 * @return SamplingRate of *16KHZ*
 */
+ (SDLSamplingRate *)_16KHZ;
/**
 * @abstract Sampling rate of 22 kHz
 *
 * @return SamplingRate of *22KHZ*
 */
+ (SDLSamplingRate *)_22KHZ;
/**
 * @abstract Sampling rate of 44 kHz
 *
 * @return SamplingRate of *44KHZ*
 */
+ (SDLSamplingRate *)_44KHZ;

@end