cog/Plugins/Shorten/ShortenDecoder.h

31 lines
495 B
C
Raw Normal View History

2005-06-06 17:47:29 +00:00
//
// ShnFile.h
// Cog
//
2005-07-02 21:02:06 +00:00
// Created by Vincent Spader on 6/6/05.
// Copyright 2005 Vincent Spader All rights reserved.
2005-06-06 17:47:29 +00:00
//
#import <Cocoa/Cocoa.h>
2006-06-03 20:25:44 +00:00
#import <Shorten/shn_reader.h>
2005-06-06 17:47:29 +00:00
#import "Plugin.h"
2005-06-06 17:47:29 +00:00
@interface ShortenDecoder : NSObject <CogDecoder>
{
2006-06-03 20:25:44 +00:00
//shn_file *handle;
shn_reader *decoder;
2005-06-06 17:47:29 +00:00
2006-06-03 20:25:44 +00:00
long bufferSize; //total size
2005-06-06 17:47:29 +00:00
void *buffer;
2006-06-03 20:25:44 +00:00
void *inputBuffer;//derek
long bufferAmount; //amount currently in
int channels;
int bitsPerSample;
float frequency;
double length;
2005-06-06 17:47:29 +00:00
}
@end