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>
29 lines
486 B
Objective-C
29 lines
486 B
Objective-C
//
|
|
// GameFile.h
|
|
// Cog
|
|
//
|
|
// Created by Vincent Spader on 5/29/06.
|
|
// Copyright 2006 Vincent Spader. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import <GME/gme.h>
|
|
|
|
#import "Plugin.h"
|
|
|
|
extern gme_err_t readCallback(void* data, void* out, int count);
|
|
|
|
@interface GameDecoder : NSObject <CogDecoder> {
|
|
Music_Emu* emu;
|
|
id<CogSource> source;
|
|
double sampleRate;
|
|
long length;
|
|
long fade;
|
|
NSString* codec;
|
|
}
|
|
|
|
- (void)setSource:(id<CogSource>)s;
|
|
- (id<CogSource>)source;
|
|
|
|
@end
|