cog/Plugins/sidplay/SidDecoder.h

45 lines
763 B
C
Raw Normal View History

2014-12-08 06:26:31 +00:00
//
// DumbFile.h
// Cog
//
// Created by Vincent Spader on 5/29/06.
// Copyright 2006 Vincent Spader. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <sidplayfp/SidConfig.h>
#import <sidplayfp/SidInfo.h>
#import <sidplayfp/SidTune.h>
2014-12-08 06:26:31 +00:00
#import <sidplayfp/SidTuneInfo.h>
#import <sidplayfp/Event.h>
#import <sidplayfp/sidbuilder.h>
#import <sidplayfp/sidplayfp.h>
2014-12-08 06:26:31 +00:00
#import "Plugin.h"
@interface SidDecoder : NSObject <CogDecoder> {
SidTune *tune;
sidplayfp *engine;
sidbuilder *builder;
id<CogSource> source;
2014-12-08 06:26:31 +00:00
long length;
NSString *currentUrl;
BOOL hintAdded;
double sampleRate;
int n_channels;
long renderedTotal;
long fadeTotal;
long fadeRemain;
2014-12-08 06:26:31 +00:00
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
2014-12-08 06:26:31 +00:00
- (void)cleanUp;
@end