Cog/Plugins/AdPlug/AdPlug/AdPlugDecoder.h
Christopher Snowhill b025a21e13 [Synthesizers] Implement default overrides
Default time, fade, loop count, and sample rate may now be overridden.

Synchronized preferences strings tables. Spanish translation of new
options pending, new releases won't be pushed until they're complete.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-07-02 01:25:24 -07:00

32 lines
548 B
Objective-C

//
// AdPlugDecoder.h
// AdPlug
//
// Created by Christopher Snowhill on 1/27/18.
// Copyright 2018 __LoSnoCo__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <libAdPlug/adplug.h>
#import <libAdPlug/opl.h>
#import "Plugin.h"
@interface AdPlugDecoder : NSObject <CogDecoder> {
CPlayer* m_player;
Copl* m_emu;
double sampleRate;
unsigned int subsong, samples_todo;
id<CogSource> source;
unsigned long current_pos;
unsigned long length;
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
- (void)cleanUp;
@end