43 lines
1.1 KiB
Objective-C
43 lines
1.1 KiB
Objective-C
//
|
|
// MP42ConversionSettings.h
|
|
// MP42Foundation
|
|
//
|
|
// Created by Damiano Galassi on 12/09/2016.
|
|
// Copyright © 2016 Damiano Galassi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MP42ConversionSettings : NSObject <NSCopying, NSSecureCoding>
|
|
|
|
+ (instancetype)subtitlesConversion;
|
|
|
|
@property (nonatomic, readonly) FourCharCode format;
|
|
|
|
@end
|
|
|
|
@interface MP42AudioConversionSettings : MP42ConversionSettings <NSCopying, NSSecureCoding>
|
|
|
|
+ (instancetype)audioConversionWithBitRate:(NSUInteger)bitrate mixDown:(NSString *)mixDown drc:(float)drc;
|
|
|
|
- (instancetype)initWithFormat:(FourCharCode)format bitRate:(NSUInteger)bitRate mixDown:(NSString *)mixDown drc:(float)drc;
|
|
|
|
@property (nonatomic, readonly) NSUInteger bitRate;
|
|
|
|
@property (nonatomic, readonly) NSString *mixDown;
|
|
@property (nonatomic, readonly) float drc;
|
|
|
|
@end
|
|
|
|
@interface MP42RawConversionSettings : MP42ConversionSettings <NSCopying, NSSecureCoding>
|
|
|
|
+ (instancetype)rawConversionWithFrameRate:(NSUInteger)frameRate;
|
|
|
|
@property (nonatomic, readonly) NSUInteger frameRate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|