40 lines
802 B
Objective-C
40 lines
802 B
Objective-C
//
|
|
// MP42FileImporter+Private.h
|
|
// MP42Foundation
|
|
//
|
|
// Created by Damiano Galassi on 05/09/15.
|
|
// Copyright © 2015 Damiano Galassi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <AudioToolbox/AudioToolbox.h>
|
|
|
|
#import "MP42MediaFormat.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class MP42SampleBuffer;
|
|
@class MP42AudioTrack;
|
|
@class MP42VideoTrack;
|
|
|
|
@interface MP42FileImporter (Private)
|
|
|
|
- (instancetype)initWithURL:(NSURL *)fileURL;
|
|
|
|
- (void)addTrack:(MP42Track *)track;
|
|
- (void)addTracks:(NSArray<MP42Track *> *)tracks;
|
|
|
|
@property (nonatomic, copy) NSArray<MP42Track *> *inputTracks;
|
|
@property (nonatomic, copy) NSArray<MP42Track *> *outputsTracks;
|
|
|
|
- (void)setActiveTrack:(MP42Track *)track;
|
|
|
|
- (void)startReading;
|
|
- (void)cancelReading;
|
|
|
|
- (void)setDone;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|