Sample format can now change dynamically at play time, and the player will resample it as necessary, extrapolating edges between changes to reduce the potential for gaps. Currently supported formats for this: - FLAC - Ogg Vorbis - Any format supported by FFmpeg, such as MP3 or AAC Signed-off-by: Christopher Snowhill <kode54@gmail.com>
40 lines
707 B
Objective-C
40 lines
707 B
Objective-C
//
|
|
// CogPluginMulti.h
|
|
// CogAudio
|
|
//
|
|
// Created by Christopher Snowhill on 10/21/13.
|
|
//
|
|
//
|
|
|
|
#import "Plugin.h"
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface CogDecoderMulti : NSObject <CogDecoder> {
|
|
NSArray *theDecoders;
|
|
id<CogDecoder> theDecoder;
|
|
}
|
|
|
|
- (id)initWithDecoders:(NSArray *)decoders;
|
|
|
|
@end
|
|
|
|
@interface CogContainerMulti : NSObject {
|
|
}
|
|
|
|
+ (NSArray *)urlsForContainerURL:(NSURL *)url containers:(NSArray *)containers;
|
|
|
|
@end
|
|
|
|
@interface CogMetadataReaderMulti : NSObject {
|
|
}
|
|
|
|
+ (NSDictionary *)metadataForURL:(NSURL *)url readers:(NSArray *)readers;
|
|
|
|
@end
|
|
|
|
@interface CogPropertiesReaderMulti : NSObject {
|
|
}
|
|
|
|
+ (NSDictionary *)propertiesForSource:(id<CogSource>)source readers:(NSArray *)readers;
|
|
|
|
@end
|