blob: 2681707574134f39ad2177c510f77c667f500dbd (
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
|
// SDLAudioPassThruCapabilities.m
//
#import "SDLAudioPassThruCapabilities.h"
#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"
NS_ASSUME_NONNULL_BEGIN
@implementation SDLAudioPassThruCapabilities
- (void)setSamplingRate:(SDLSamplingRate)samplingRate {
[store sdl_setObject:samplingRate forName:SDLNameSamplingRate];
}
- (SDLSamplingRate)samplingRate {
return [store sdl_objectForName:SDLNameSamplingRate];
}
- (void)setBitsPerSample:(SDLBitsPerSample)bitsPerSample {
[store sdl_setObject:bitsPerSample forName:SDLNameBitsPerSample];
}
- (SDLBitsPerSample)bitsPerSample {
return [store sdl_objectForName:SDLNameBitsPerSample];
}
- (void)setAudioType:(SDLAudioType)audioType {
[store sdl_setObject:audioType forName:SDLNameAudioType];
}
- (SDLAudioType)audioType {
return [store sdl_objectForName:SDLNameAudioType];
}
@end
NS_ASSUME_NONNULL_END
|