UZAudioConfiguration
@interface UZAudioConfiguration : NSObject<NSCoding, NSCopying>
/// Default audio configuration
+ (instancetype)defaultConfiguration;
/// Audio configuration
+ (instancetype)defaultConfigurationForQuality:(UZAudioQuality)audioQuality;
#pragma mark - Attribute
///=============================================================================
/// @name Attribute
///=============================================================================
/// Number of channels (default 2)
@property (nonatomic, assign) NSUInteger numberOfChannels;
/// SampleRate
@property (nonatomic, assign) UZAudioSampleRate audioSampleRate;
/// BitRate
@property (nonatomic, assign) UZAudioBitRate audioBitrate;
/// flv encoded audio header 44100 is 0x12 0x10
@property (nonatomic, assign, readonly) char *asc;
/// Buffer length
@property (nonatomic, assign,readonly) NSUInteger bufferLength;
@end
Undocumented
-
Default audio configuration
Declaration
Objective-C
+ (instancetype)defaultConfiguration;
-
Audio configuration
Declaration
Objective-C
+ (instancetype)defaultConfigurationForQuality:(UZAudioQuality)audioQuality;
-
=============================================================================
============================================================================= Number of channels (default 2)
Declaration
Objective-C
@property (nonatomic) NSUInteger numberOfChannels;
-
SampleRate
Declaration
Objective-C
@property (nonatomic) UZAudioSampleRate audioSampleRate;
-
BitRate
Declaration
Objective-C
@property (nonatomic) UZAudioBitRate audioBitrate;
-
flv encoded audio header 44100 is 0x12 0x10
Declaration
Objective-C
@property (nonatomic, readonly) char *asc;
-
Buffer length
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger bufferLength;