mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 23:25:38 +00:00
git-subtree-dir: submodules/ffmpeg git-subtree-mainline:8f5a4f7dc1git-subtree-split:53fc3dcb60
26 lines
458 B
Objective-C
26 lines
458 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import <FFMpeg/FFMpegAVSampleFormat.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class FFMpegAVCodec;
|
|
@class FFMpegAVFrame;
|
|
|
|
@interface FFMpegAVCodecContext : NSObject
|
|
|
|
- (instancetype)initWithCodec:(FFMpegAVCodec *)codec;
|
|
|
|
- (void *)impl;
|
|
- (int32_t)channels;
|
|
- (int32_t)sampleRate;
|
|
- (FFMpegAVSampleFormat)sampleFormat;
|
|
|
|
- (bool)open;
|
|
- (bool)receiveIntoFrame:(FFMpegAVFrame *)frame;
|
|
- (void)flushBuffers;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|