HyphenateChatSDK 4.24.0
EMVoiceParam.h
1
15#import <Foundation/Foundation.h>
16#import <CoreAudioTypes/CoreAudioTypes.h>
17
25typedef NS_ENUM(UInt32, EMVoiceFormat) {
26 EMVoiceFormatPCM = kAudioFormatLinearPCM,
27 EMVoiceFormatAMR = kAudioFormatAMR,
28 EMVoiceFormatMP3 = kAudioFormatMPEGLayer3,
29};
30
38@interface EMVoiceParam : NSObject
39
47@property (nonatomic, assign) EMVoiceFormat format;
48
60@property (nonatomic, assign) NSInteger sampleRate;
61
69@property (nonatomic, assign) NSInteger bitsPerSample;
70
78@property (nonatomic, assign) NSInteger channels;
79
80@end
Definition: EMVoiceParam.h:39
NSInteger bitsPerSample
Definition: EMVoiceParam.h:69
EMVoiceFormat format
Definition: EMVoiceParam.h:47
NSInteger sampleRate
Definition: EMVoiceParam.h:60
NSInteger channels
Definition: EMVoiceParam.h:78