Made the OpenMPT / legacy OpenMPT and mpg123 libraries pre-built. Changed the OpenMPT and vgmstream plugins to import the libraries as they are now. Made mpg123 embedded and imported by the main binary, since it's now shared by two plugins. 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
|