31 lines
495 B
C
31 lines
495 B
C
|
//
|
||
|
// ShnFile.h
|
||
|
// Cog
|
||
|
//
|
||
|
// Created by Vincent Spader on 6/6/05.
|
||
|
// Copyright 2005 Vincent Spader All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Cocoa/Cocoa.h>
|
||
|
#import <Shorten/shn_reader.h>
|
||
|
|
||
|
#import "Plugin.h"
|
||
|
|
||
|
@interface ShortenDecoder : NSObject <CogDecoder>
|
||
|
{
|
||
|
//shn_file *handle;
|
||
|
shn_reader *decoder;
|
||
|
|
||
|
long bufferSize; //total size
|
||
|
void *buffer;
|
||
|
void *inputBuffer;//derek
|
||
|
long bufferAmount; //amount currently in
|
||
|
|
||
|
int channels;
|
||
|
int bitsPerSample;
|
||
|
float frequency;
|
||
|
double length;
|
||
|
}
|
||
|
|
||
|
@end
|