Swiftgram/submodules/ffmpeg/FFMpeg/FFMpegSWResample.h
Peter 6086305304 Add 'submodules/ffmpeg/' from commit '53fc3dcb6022f35015afd2605ead32bfd7417144'
git-subtree-dir: submodules/ffmpeg
git-subtree-mainline: 8f5a4f7dc119599d326c72d9a6115973e825491b
git-subtree-split: 53fc3dcb6022f35015afd2605ead32bfd7417144
2019-06-11 18:46:03 +01:00

17 lines
621 B
Objective-C

#import <Foundation/Foundation.h>
#import <FFMpeg/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