cog/Plugins/OpenMPT/OpenMPT/OMPTDecoder.h

30 lines
506 B
Objective-C
Executable File

//
// 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;
std::vector<float> left;
std::vector<float> right;
id<CogSource> source;
long length;
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
- (void)cleanUp;
@end