cog/Plugins/Hively/Hively/HVLDecoder.h

31 lines
493 B
Objective-C

//
// HVLDecoder.h
// Hively
//
// Created by Christopher Snowhill on 10/29/13.
// Copyright 2013 __NoWork, Inc__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <HivelyPlayer/hvl_replay.h>
#import "Plugin.h"
@interface HVLDecoder : NSObject <CogDecoder> {
struct hvl_tune *tune;
int32_t *buffer;
int trackNumber;
double sampleRate;
long totalFrames;
long framesLength;
long framesFade;
long framesRead;
long framesInBuffer;
float sampleBuffer[1024 * 2];
}
@end