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>
|
2022-02-07 05:49:27 +00:00
|
|
|
#import <sidplayfp/SidTune.h>
|
2014-12-08 06:26:31 +00:00
|
|
|
#import <sidplayfp/SidTuneInfo.h>
|
2022-06-17 07:19:30 +00:00
|
|
|
#import <sidplayfp/Event.h>
|
2022-02-07 05:49:27 +00:00
|
|
|
#import <sidplayfp/sidbuilder.h>
|
|
|
|
#import <sidplayfp/sidplayfp.h>
|
2014-12-08 06:26:31 +00:00
|
|
|
|
|
|
|
#import "Plugin.h"
|
|
|
|
|
|
|
|
@interface SidDecoder : NSObject <CogDecoder> {
|
2022-02-07 05:49:27 +00:00
|
|
|
SidTune *tune;
|
|
|
|
sidplayfp *engine;
|
|
|
|
sidbuilder *builder;
|
|
|
|
|
2022-02-11 12:43:20 +00:00
|
|
|
id<CogSource> source;
|
2014-12-08 06:26:31 +00:00
|
|
|
long length;
|
2022-02-07 05:49:27 +00:00
|
|
|
|
|
|
|
NSString *currentUrl;
|
|
|
|
BOOL hintAdded;
|
|
|
|
|
2022-07-02 05:06:08 +00:00
|
|
|
double sampleRate;
|
|
|
|
|
2022-02-07 05:49:27 +00:00
|
|
|
int n_channels;
|
|
|
|
|
|
|
|
long renderedTotal;
|
|
|
|
long fadeTotal;
|
|
|
|
long fadeRemain;
|
2014-12-08 06:26:31 +00:00
|
|
|
}
|
|
|
|
|
2022-02-11 12:43:20 +00:00
|
|
|
- (void)setSource:(id<CogSource>)s;
|
|
|
|
- (id<CogSource>)source;
|
2014-12-08 06:26:31 +00:00
|
|
|
- (void)cleanUp;
|
|
|
|
@end
|