mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 15:37:01 +00:00
17 lines
628 B
Objective-C
17 lines
628 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import <FFMpegBinding/FFMpegAVSampleFormat.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class FFMpegAVFrame;
|
|
|
|
@interface FFMpegSWResample : NSObject
|
|
|
|
- (instancetype)initWithSourceChannelCount:(NSInteger)sourceChannelCount sourceSampleRate:(NSInteger)sourceSampleRate sourceSampleFormat:(enum FFMpegAVSampleFormat)sourceSampleFormat destinationChannelCount:(NSInteger)destinationChannelCount destinationSampleRate:(NSInteger)destinationSampleRate destinationSampleFormat:(enum FFMpegAVSampleFormat)destinationSampleFormat;
|
|
- (NSData * _Nullable)resample:(FFMpegAVFrame *)frame;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|