cog/Plugins/Dumb/DumbDecoder.h

35 lines
585 B
C
Raw Normal View History

//
// DumbFile.h
// Cog
//
// Created by Vincent Spader on 5/29/06.
// Copyright 2006 Vincent Spader. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Dumb/dumb.h>
2013-09-28 03:24:23 +00:00
#import <Dumb/it.h>
#import "Plugin.h"
2013-10-05 02:25:45 +00:00
extern DUMBFILE *dumbfile_open_memory_and_free(char *data, long size);
@interface DumbDecoder : NSObject <CogDecoder> {
DUH *duh;
DUH_SIGRENDERER *dsr;
sample_t **sampptr;
id<CogSource> source;
long length;
long loops;
long fadeTotal;
long fadeRemain;
}
- (void)setSource:(id<CogSource>)s;
- (id<CogSource>)source;
- (void)cleanUp;
@end