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>
44 lines
763 B
Objective-C
44 lines
763 B
Objective-C
//
|
|
// 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>
|
|
#import <sidplayfp/SidTuneInfo.h>
|
|
#import <sidplayfp/Event.h>
|
|
#import <sidplayfp/sidbuilder.h>
|
|
#import <sidplayfp/sidplayfp.h>
|
|
|
|
#import "Plugin.h"
|
|
|
|
@interface SidDecoder : NSObject <CogDecoder> {
|
|
SidTune *tune;
|
|
sidplayfp *engine;
|
|
sidbuilder *builder;
|
|
|
|
id<CogSource> source;
|
|
long length;
|
|
|
|
NSString *currentUrl;
|
|
BOOL hintAdded;
|
|
|
|
double sampleRate;
|
|
|
|
int n_channels;
|
|
|
|
long renderedTotal;
|
|
long fadeTotal;
|
|
long fadeRemain;
|
|
}
|
|
|
|
- (void)setSource:(id<CogSource>)s;
|
|
- (id<CogSource>)source;
|
|
- (void)cleanUp;
|
|
@end
|