This should solve most potential future stack overflows. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
30 lines
493 B
Objective-C
30 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
|