Bundle libOpenMPT as a dynamic framework, which should be safe once again, now that there is only one version to bundle. Also, now it is using the versions of libvorbisfile and libmpg123 that are bundled with the player, instead of compiling minimp3 and stbvorbis. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
27 lines
437 B
Objective-C
27 lines
437 B
Objective-C
//
|
|
// OMPTDecoder.h
|
|
// OpenMPT
|
|
//
|
|
// Created by Christopher Snowhill on 1/4/18.
|
|
// Copyright 2018 __LoSnoCo__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import <libOpenMPT/libopenmpt.hpp>
|
|
|
|
#include <vector>
|
|
|
|
#import "Plugin.h"
|
|
|
|
@interface OMPTDecoder : NSObject <CogDecoder> {
|
|
openmpt::module *mod;
|
|
|
|
id<CogSource> source;
|
|
long length;
|
|
}
|
|
|
|
- (void)setSource:(id<CogSource>)s;
|
|
- (id<CogSource>)source;
|
|
- (void)cleanUp;
|
|
@end
|